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

The GroupEntry class provides a container for other catalog components.
Наследование: RelativeEntry
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
rules List

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

Метод Описание
AddDelegatePublic ( String startString, String catalog ) : DelegatePublicEntry

Adds a rule to the catalog which will direct the resolution for any public identifier that starts with the given prefix to a sub-catalog file.

AddDelegatePublic ( String startString, String catalog, String xmlbase ) : DelegatePublicEntry

Adds a rule to the catalog which will direct the resolution for any public identifier that starts with the given prefix to a sub-catalog file.

AddDelegateSystem ( String startString, String catalog ) : DelegateSystemEntry

Adds a rule to the catalog which will direct the resolution for any system identifier that starts with the given prefix to a sub-catalog file.

AddDelegateSystem ( String startString, String catalog, String xmlbase ) : DelegateSystemEntry

Adds a rule to the catalog which will direct the resolution for any system identifier that starts with the given prefix to a sub-catalog file.

AddDelegateUri ( String startString, String catalog ) : DelegateUriEntry

Adds a rule with delegates the processing for matched URIs to another catalog.

AddDelegateUri ( String startString, String catalog, String xmlbase ) : DelegateUriEntry

Adds a rule with delegates the processing for matched URIs to another catalog.

AddNextCatalog ( String catalog ) : NextCatalogEntry

Adds a rule which will cause resolution to chain to another catalog if no match can be found in this one.

AddNextCatalog ( String catalog, String xmlbase ) : NextCatalogEntry

Adds a rule which will cause resolution to chain to another catalog if no match can be found in this one.

AddPublic ( String publicId, String uri ) : PublicEntry

Adds a rule to the catalog directing the given public identifier to the indicated URI.

AddPublic ( String publicId, String uri, String xmlbase ) : PublicEntry

Adds a rule to the catalog directing the given public identifier to the indicated URI.

AddRewriteSystem ( String startString, String rewritePrefix ) : RewriteSystemEntry

Adds a rule to the catalog which will cause a matching system identifier to its starting prefix replaced.

AddRewriteUri ( String startString, String rewritePrefix ) : RewriteUriEntry

Adds a rule to the catalog which perform URI rewriting.

AddSystem ( String systemId, String uri ) : SystemEntry

Adds a rule to the catalog directing the given system identifier to the indicated URI.

AddSystem ( String systemId, String uri, String xmlbase ) : SystemEntry

Adds a rule to the catalog directing the given system identifier to the indicated URI.

AddUri ( String name, String uri ) : UriEntry

Adds a rule to the catalog which performs URI matching.

AddUri ( String name, String uri, String xmlbase ) : UriEntry

Adds a rule to the catalog which performs URI matching.

GroupEntry ( GroupEntry parent, String prefer, String xmlbase ) : System

Constructs a GroupEntry given its containing entry and attribute values.

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

Метод Описание
ApplyRules ( String uri, Stack catalogs ) : String

Implements OASIS search rules for URI based resources.

ApplyRules ( String publicId, String systemId, Stack catalogs ) : String

Implements the OASIS search rules for entity resources.

Приватные методы

Метод Описание
ApplyDelegatePublicEntries ( String publicId, String systemId, Stack catalogs ) : String

Applies all the DelegatePublicEntry rules in the current catalog recursing into GroupEntry definitions.

ApplyDelegateSystemEntries ( String publicId, String systemId, Stack catalogs ) : String

Applies all the DelegateSystemEntry rules in the current catalog recursing into GroupEntry definitions.

ApplyDelegateUriEntries ( String uri, Stack catalogs ) : String

Applies all the DelegateUriEntry rules in the current catalog recursing into GroupEntry definitions.

ApplyNextCatalogEntries ( String uri, Stack catalogs ) : String

Applies all the NextCatalogEntry rules in the current catalog recursing into GroupEntry definitions.

ApplyNextCatalogEntries ( String publicId, String systemId, Stack catalogs ) : String

Applies all the NextCatalogEntry rules in the current catalog recursing into GroupEntry definitions.

ApplyPublicEntries ( String publicId, String systemId, Stack catalogs ) : String

Applies all the PublicEntry rules in the current catalog recursing into GroupEntry definitions.

ApplyRewriteSystemEntries ( String publicId, String systemId, Stack catalogs ) : String

Applies all the RewriteSystemEntry rules in the current catalog recursing into GroupEntry definitions.

ApplyRewriteUriEntries ( String uri, Stack catalogs ) : String

Applies all the RewriteUriEntry rules in the current catalog recursing into GroupEntry definitions.

ApplySystemEntries ( String publicId, String systemId, Stack catalogs ) : String

Applies all the SystemEntry rules in the current catalog recursing into Group definitions.

ApplyUriEntries ( String uri, Stack catalogs ) : String

Applies all the UriEntry rules in the current catalog recursing into GroupEntry definitions.

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

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

Adds a rule to the catalog which will direct the resolution for any public identifier that starts with the given prefix to a sub-catalog file.
public AddDelegatePublic ( String startString, String catalog ) : DelegatePublicEntry
startString String The public identifier prefix to match
catalog String The URI of the sub-catalog.
Результат DelegatePublicEntry

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

Adds a rule to the catalog which will direct the resolution for any public identifier that starts with the given prefix to a sub-catalog file.
public AddDelegatePublic ( String startString, String catalog, String xmlbase ) : DelegatePublicEntry
startString String The public identifier prefix to match
catalog String The URI of the sub-catalog.
xmlbase String The optional xml:base URI
Результат DelegatePublicEntry

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

Adds a rule to the catalog which will direct the resolution for any system identifier that starts with the given prefix to a sub-catalog file.
public AddDelegateSystem ( String startString, String catalog ) : DelegateSystemEntry
startString String The system identifier prefix to match
catalog String The URI of the sub-catalog.
Результат DelegateSystemEntry

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

Adds a rule to the catalog which will direct the resolution for any system identifier that starts with the given prefix to a sub-catalog file.
public AddDelegateSystem ( String startString, String catalog, String xmlbase ) : DelegateSystemEntry
startString String The system identifier prefix to match
catalog String The URI of the sub-catalog.
xmlbase String Optional xml:base value.
Результат DelegateSystemEntry

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

Adds a rule with delegates the processing for matched URIs to another catalog.
public AddDelegateUri ( String startString, String catalog ) : DelegateUriEntry
startString String The prefix string to match against.
catalog String The catalog to delegate to.
Результат DelegateUriEntry

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

Adds a rule with delegates the processing for matched URIs to another catalog.
public AddDelegateUri ( String startString, String catalog, String xmlbase ) : DelegateUriEntry
startString String The prefix string to match against.
catalog String The catalog to delegate to.
xmlbase String The optional xml:base URI
Результат DelegateUriEntry

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

Adds a rule which will cause resolution to chain to another catalog if no match can be found in this one.
public AddNextCatalog ( String catalog ) : NextCatalogEntry
catalog String The URI of the catalog to chain to.
Результат NextCatalogEntry

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

Adds a rule which will cause resolution to chain to another catalog if no match can be found in this one.
public AddNextCatalog ( String catalog, String xmlbase ) : NextCatalogEntry
catalog String The URI of the catalog to chain to.
xmlbase String The optional xml:base URI
Результат NextCatalogEntry

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

Adds a rule to the catalog directing the given public identifier to the indicated URI.
public AddPublic ( String publicId, String uri ) : PublicEntry
publicId String The public identifier to be mapped.
uri String The corresponding URI.
Результат PublicEntry

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

Adds a rule to the catalog directing the given public identifier to the indicated URI.
public AddPublic ( String publicId, String uri, String xmlbase ) : PublicEntry
publicId String The public identifier to be mapped.
uri String The corresponding URI.
xmlbase String Optional xml:base value.
Результат PublicEntry

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

Adds a rule to the catalog which will cause a matching system identifier to its starting prefix replaced.
public AddRewriteSystem ( String startString, String rewritePrefix ) : RewriteSystemEntry
startString String The system identifier prefix to match.
rewritePrefix String The new prefix to replace with.
Результат RewriteSystemEntry

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

Adds a rule to the catalog which perform URI rewriting.
public AddRewriteUri ( String startString, String rewritePrefix ) : RewriteUriEntry
startString String The prefix string to match with.
rewritePrefix String The string to replace matches with.
Результат RewriteUriEntry

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

Adds a rule to the catalog directing the given system identifier to the indicated URI.
public AddSystem ( String systemId, String uri ) : SystemEntry
systemId String The system identifier to be mapped.
uri String The corresponding URI.
Результат SystemEntry

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

Adds a rule to the catalog directing the given system identifier to the indicated URI.
public AddSystem ( String systemId, String uri, String xmlbase ) : SystemEntry
systemId String The system identifier to be mapped.
uri String The corresponding URI.
xmlbase String Optional xml:base value.
Результат SystemEntry

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

Adds a rule to the catalog which performs URI matching.
public AddUri ( String name, String uri ) : UriEntry
name String The URI to match with.
uri String The URI to replace with.
Результат UriEntry

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

Adds a rule to the catalog which performs URI matching.
public AddUri ( String name, String uri, String xmlbase ) : UriEntry
name String The URI to match with.
uri String The URI to replace with.
xmlbase String The optional xml:base URI
Результат UriEntry

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

Implements OASIS search rules for URI based resources.
protected ApplyRules ( String uri, Stack catalogs ) : String
uri String The URI of the required resource.
catalogs Stack A stack of catalogs being processed used to /// detect circular dependency.
Результат String

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

Implements the OASIS search rules for entity resources.
protected ApplyRules ( 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 A stack of catalogs being processed used to /// detect circular dependency.
Результат String

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

Constructs a GroupEntry given its containing entry and attribute values.
public GroupEntry ( GroupEntry parent, String prefer, String xmlbase ) : System
parent GroupEntry The containing element.
prefer String Optional prefer value.
xmlbase String Optional xml:base value.
Результат System

Описание свойств

rules защищенное свойство

The list of CatalogComponent that make up the group.
protected List rules
Результат List