C# 클래스 Monobjc.Tools.Generator.Parsers.Sgml.SgmlDtd

Provides DTD parsing and support for the SgmlParser framework.
파일 보기 프로젝트 열기: Monobjc/monobjc-tools 1 사용 예제들

공개 메소드들

메소드 설명
FindElement ( string name ) : ElementDecl

Finds an element declaration in the DTD with the specified name.

FindEntity ( string name ) : Entity

Finds an entity in the DTD with the specified name.

Parse ( Uri baseUri, string name, string pubid, string url, string subset, string proxy, XmlNameTable nt ) : SgmlDtd

Parses a DTD and creates a SgmlDtd instance that encapsulates the DTD.

SgmlDtd ( string name, XmlNameTable nt ) : System

Initialises a new instance of the SgmlDtd class.

비공개 메소드들

메소드 설명
GetEntitiesLiteralNameLookup ( ) : Entity>.Dictionary
GetParameterEntity ( string name ) : Entity
Parse ( Uri baseUri, string name, TextReader input, string subset, string proxy, XmlNameTable nt ) : SgmlDtd
Parse ( ) : void
ParseAttDef ( char ch ) : AttDef
ParseAttDefault ( char ch, AttDef attdef ) : void
ParseAttList ( ) : void
ParseAttList ( AttDef>.Dictionary list, char term ) : void
ParseAttType ( char ch, AttDef attdef ) : void
ParseContentModel ( char ch ) : ContentModel
ParseDeclComment ( bool full ) : char
ParseDeclComments ( ) : char
ParseElementDecl ( ) : void
ParseEntity ( ) : void
ParseIgnoreSection ( ) : void
ParseIncludeSection ( ) : void
ParseMarkedSection ( ) : void
ParseMarkup ( ) : void
ParseModel ( char cmt, ContentModel cm ) : void
ParseNameGroup ( char ch, bool nmtokens ) : string[]
ParseNameList ( ArrayList names, bool nmtokens ) : void
ParseParameterEntity ( string term ) : Entity
PopEntity ( ) : void
PushEntity ( Uri baseUri, Entity e ) : void
ScanName ( string term ) : string

메소드 상세

FindElement() 공개 메소드

Finds an element declaration in the DTD with the specified name.
public FindElement ( string name ) : ElementDecl
name string The name of the to find and return.
리턴 ElementDecl

FindEntity() 공개 메소드

Finds an entity in the DTD with the specified name.
public FindEntity ( string name ) : Entity
name string The name of the to find.
리턴 Entity

Parse() 공개 정적인 메소드

Parses a DTD and creates a SgmlDtd instance that encapsulates the DTD.
public static Parse ( Uri baseUri, string name, string pubid, string url, string subset, string proxy, XmlNameTable nt ) : SgmlDtd
baseUri System.Uri The base URI of the DTD.
name string The name of the DTD.
pubid string
url string
subset string
proxy string
nt System.Xml.XmlNameTable The is NOT used.
리턴 SgmlDtd

SgmlDtd() 공개 메소드

Initialises a new instance of the SgmlDtd class.
public SgmlDtd ( string name, XmlNameTable nt ) : System
name string The name of the DTD.
nt System.Xml.XmlNameTable The is NOT used.
리턴 System