C# Класс Monobjc.Tools.Generator.Parsers.Sgml.SgmlDtd

Provides DTD parsing and support for the SgmlParser framework.
Показать файл Открыть проект Примеры использования класса

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

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