C# Class HandCoded.Xml.Resolver.RewriteUriEntry

The RewriteUriEntry class implements URI rewriting.
Inheritance: CatalogComponent, IUriRule
Datei anzeigen 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.

RewriteUriEntry ( GroupEntry parent, String startString, String rewritePrefix ) : System

Constructs a RewriteUriEntry.

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

RewriteUriEntry() public method

Constructs a RewriteUriEntry.
public RewriteUriEntry ( GroupEntry parent, String startString, String rewritePrefix ) : System
parent GroupEntry parent
startString String startString
rewritePrefix String rewritePrefix
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