C# Class HandCoded.Xml.Resolver.DelegatePublicEntry

The DelegatePublic class implements public identifier delegation.
Inheritance: RelativeEntry, IEntityRule
ファイルを表示 Open project: formicary/fpml-toolkit-csharp Class Usage Examples

Public Methods

Method Description
ApplyTo ( String publicId, String systemId, Stack catalogs ) : String

Applys the rule instance to the public or system identifier in an attempt to locate the URI of a resource with can provide the required information.

DelegatePublicEntry ( GroupEntry parent, String prefix, String catalog, String xmlbase ) : System

Constructs a DelegatePublic instance that will direct matching public identifier searches to a sub-catalog.

Protected Methods

Method Description
ToDebug ( ) : String

Converts the instance data members to a String representation that can be displayed for debugging purposes.

Method Details

ApplyTo() public method

Applys the rule instance to the public or system identifier in an attempt to locate the URI of a resource with can provide the required information.
public ApplyTo ( String publicId, String systemId, Stack catalogs ) : String
publicId String The public identifier of the external entity /// being referenced, or null if none was supplied.
systemId String The system identifier of the external entity /// being referenced.
catalogs Stack The stack of catalogs being processed.
return String

DelegatePublicEntry() public method

Constructs a DelegatePublic instance that will direct matching public identifier searches to a sub-catalog.
public DelegatePublicEntry ( GroupEntry parent, String prefix, String catalog, String xmlbase ) : System
parent GroupEntry The containing catalog element.
prefix String The system identifier to be matched.
catalog String The URI of the sub-catalog.
xmlbase String The optional xml:base URI
return System

ToDebug() protected method

Converts the instance data members to a String representation that can be displayed for debugging purposes.
protected ToDebug ( ) : String
return String