C# Class HandCoded.Xml.Resolver.UriEntry

The UriEntry class implements simple URI matching.
Inheritance: RelativeEntry, 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.

UriEntry ( GroupEntry parent, String name, String uri, String xmlbase ) : System

Constructs a UriEntry instance that will replace one URI with another.

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

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

UriEntry() public method

Constructs a UriEntry instance that will replace one URI with another.
public UriEntry ( GroupEntry parent, String name, String uri, String xmlbase ) : System
parent GroupEntry The containing element.
name String URI to be matched.
uri String The replacement URI.
xmlbase String Optional xml:base value.
return System