C# Класс HandCoded.Xml.Resolver.RewriteSystemEntry

The RewriteSystemEntry class implements system identifier rewriting.
Наследование: CatalogComponent, IEntityRule
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

RewriteSystemEntry ( GroupEntry parent, String oldPrefix, String newPrefix ) : System

Constructs a RewriteSystem instance that will replace the prefix of system identifier with another.

Защищенные методы

Метод Описание
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.

Описание методов

ApplyTo() публичный Метод

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.
Результат String

RewriteSystemEntry() публичный Метод

Constructs a RewriteSystem instance that will replace the prefix of system identifier with another.
public RewriteSystemEntry ( GroupEntry parent, String oldPrefix, String newPrefix ) : System
parent GroupEntry The containing catalog element.
oldPrefix String The system identifier to be matched.
newPrefix String The replacement prefix.
Результат System

ToDebug() защищенный Метод

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
Результат String