#include <pxml.h>
List of all members.
Public Types |
enum | Options {
Indent = 1,
NewLineAfterElement = 2,
NoIgnoreWhiteSpace = 4,
CloseExtended = 8,
WithNS = 16
} |
Public Member Functions |
| PXMLParser (int options=-1) |
| ~PXMLParser () |
BOOL | Parse (const char *data, int dataLen, BOOL final) |
void | GetErrorInfo (PString &errorString, PINDEX &errorCol, PINDEX &errorLine) |
virtual void | StartElement (const char *name, const char **attrs) |
virtual void | EndElement (const char *name) |
virtual void | AddCharacterData (const char *data, int len) |
virtual void | XmlDecl (const char *version, const char *encoding, int standAlone) |
virtual void | StartDocTypeDecl (const char *docTypeName, const char *sysid, const char *pubid, int hasInternalSubSet) |
virtual void | EndDocTypeDecl () |
virtual void | StartNamespaceDeclHandler (const char *prefix, const char *uri) |
virtual void | EndNamespaceDeclHandler (const char *prefix) |
PString | GetVersion () const |
PString | GetEncoding () const |
BOOL | GetStandAlone () const |
PXMLElement * | GetXMLTree () const |
PXMLElement * | SetXMLTree (PXMLElement *newRoot) |
Protected Attributes |
int | options |
void * | expat |
PXMLElement * | rootElement |
PXMLElement * | currentElement |
PXMLData * | lastElement |
PString | version |
PString | encoding |
int | standAlone |
Member Enumeration Documentation
- Enumerator:
Indent |
|
NewLineAfterElement |
|
NoIgnoreWhiteSpace |
ignored
|
CloseExtended |
ignored
|
WithNS |
|
Constructor & Destructor Documentation
Member Function Documentation
virtual void PXMLParser::StartDocTypeDecl |
( |
const char * |
docTypeName, |
|
|
const char * |
sysid, |
|
|
const char * |
pubid, |
|
|
int |
hasInternalSubSet |
|
) |
| [virtual] |
virtual void PXMLParser::XmlDecl |
( |
const char * |
version, |
|
|
const char * |
encoding, |
|
|
int |
standAlone |
|
) |
| [virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: