C# 클래스 HandCoded.Xml.Resolver.PublicEntry

The PublicEntry class implements simple public identifier matching.
상속: RelativeEntry, IEntityRule
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp 1 사용 예제들

공개 메소드들

메소드 설명
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.

PublicEntry ( GroupEntry parent, String publicId, String uri, String xmlbase ) : System

Constructs a PublicEntry instance that will replace a public identifier with a URI.

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
Unwrap ( String name ) : String

If the supplied name is a public name then it is 'unwrapped' according to the rules defined in RFC 3151.

Public names for DTDs (such as those used by DocBook and FpML 1-0 thru 3-0) are not valid URIs and must undergo a number of character replacements. This routine detects a public name by looking for '//' anywhere in the string.

메소드 상세

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

PublicEntry() 공개 메소드

Constructs a PublicEntry instance that will replace a public identifier with a URI.
public PublicEntry ( GroupEntry parent, String publicId, String uri, String xmlbase ) : System
parent GroupEntry The containing element.
publicId String The public identifier to be matched
uri String The replacement URI.
xmlbase String The optional xml:base URI
리턴 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