decXmlParserDTD Class Reference

XML DTD Parser. More...

#include <decXmlParserDTD.h>

List of all members.

Public Member Functions

Constructors and Destructors
 decXmlParserDTD (decXmlParser *parent)
 Creates a new xml dtd parser using the given xml parser as parent.
 ~decXmlParserDTD ()
 Cleans up the xml dtd parser.
Parsing Functions

Those functions are used only by the ParseXml and should not be called directly except you want to write an extended XML parser.

void ParseDTD (decXmlDTD *dtd)
 Parses a DTD declaration.
bool ParseMarkupDecl (decXmlDTD *dtd)
 Parses a markup declaration if one exists.
bool ParseElementDecl (decXmlDTD *dtd)
 Parses a element declaration if one exists.
bool ParseDeclSep (decXmlDTD *dtd)
 Parses a declaration separator if one exists.
bool ParseElDeclMixed (decXmlElementDecl *elDecl)
 Parses a mixed element declaration if one exists.
void ParseElDeclComposed (decXmlElementDecl *elDecl)
 Parses a composed element declaration.
void ParseElDeclOp (decXmlElementDeclOp *op)
 Parses a declaration operator.
void ParseElDeclOpCp (decXmlElementDeclOp *op)
 Parses a declaration operator component.
bool ParseAttListDecl (decXmlDTD *dtd)
 Parses an attribute list declaration if one exists.
void ParseAttListDeclEntry (decXmlAttListDecl *alDecl)
 Parses an attribute list declaration entry.
void ParseAttListDeclEnum (decXmlAttListDeclEntry *entry)
 Parses an attribute list declaration enumeration.

Detailed Description

XML DTD Parser.

Author:
Plüss Roland
Version:
1.0
Date:
2008 This parses uses a parent XML parser for token reading. Furthermore this way the parsing of inline DTD declarations is easier.

Constructor & Destructor Documentation

decXmlParserDTD::decXmlParserDTD ( decXmlParser parent )

Creates a new xml dtd parser using the given xml parser as parent.

decXmlParserDTD::~decXmlParserDTD (  )

Cleans up the xml dtd parser.


Member Function Documentation

bool decXmlParserDTD::ParseAttListDecl ( decXmlDTD dtd )

Parses an attribute list declaration if one exists.

Returns:
true if an attribute list declaration has been parsed
void decXmlParserDTD::ParseAttListDeclEntry ( decXmlAttListDecl alDecl )

Parses an attribute list declaration entry.

void decXmlParserDTD::ParseAttListDeclEnum ( decXmlAttListDeclEntry entry )

Parses an attribute list declaration enumeration.

bool decXmlParserDTD::ParseDeclSep ( decXmlDTD dtd )

Parses a declaration separator if one exists.

Returns:
true if a declaration separator has been parsed
void decXmlParserDTD::ParseDTD ( decXmlDTD dtd )

Parses a DTD declaration.

void decXmlParserDTD::ParseElDeclComposed ( decXmlElementDecl elDecl )

Parses a composed element declaration.

bool decXmlParserDTD::ParseElDeclMixed ( decXmlElementDecl elDecl )

Parses a mixed element declaration if one exists.

Returns:
true if a mixed element declaration has been parsed
void decXmlParserDTD::ParseElDeclOp ( decXmlElementDeclOp op )

Parses a declaration operator.

void decXmlParserDTD::ParseElDeclOpCp ( decXmlElementDeclOp op )

Parses a declaration operator component.

bool decXmlParserDTD::ParseElementDecl ( decXmlDTD dtd )

Parses a element declaration if one exists.

Returns:
true if a element declaration has been parsed
bool decXmlParserDTD::ParseMarkupDecl ( decXmlDTD dtd )

Parses a markup declaration if one exists.

Returns:
true if a markup declaration has been parsed

The documentation for this class was generated from the following file: