C# Class HandCoded.Xml.Resolver.NextCatalogEntry

The NextCatalog class implements catalog chaining.
Inheritance: RelativeEntry, IEntityRule, IUriRule
ファイルを表示 Open project: formicary/fpml-toolkit-csharp Class Usage Examples

Public Methods

Method Description
ApplyTo ( String uri, 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.

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.

NextCatalogEntry ( GroupEntry parent, String catalog, String xmlbase ) : System

Constructs a NextCatalogEntry instance that will direct searches to another catalog.

Protected Methods

Method Description
ToDebug ( ) : String

Converts the instance's member values to String representations and concatenates them all together. This function is used by ToString and may be overriden in derived classes.

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 uri, Stack catalogs ) : String
uri String The uri needing to be resolved.
catalogs Stack The stack of catalogs being processed.
return String

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

NextCatalogEntry() public method

Constructs a NextCatalogEntry instance that will direct searches to another catalog.
public NextCatalogEntry ( GroupEntry parent, String catalog, String xmlbase ) : System
parent GroupEntry The containing component.
catalog String The URI of the chained catalog.
xmlbase String The optional xml:base URI
return System

ToDebug() protected method

Converts the instance's member values to String representations and concatenates them all together. This function is used by ToString and may be overriden in derived classes.
protected ToDebug ( ) : String
return String