|
Public Member Functions |
| CExpatImpl () |
| ~CExpatImpl () |
bool | Create (const XML_Char *pszEncoding=NULL, const XML_Char *pszSep=NULL) |
void | Destroy () |
bool | Parse (const char *pszBuffer, int nLength=-1, bool fIsFinal=true) |
bool | ParseBuffer (int nLength, bool fIsFinal=true) |
void * | GetBuffer (int nLength) |
void | EnableStartElementHandler (bool fEnable=true) |
void | EnableEndElementHandler (bool fEnable=true) |
void | EnableElementHandler (bool fEnable=true) |
void | EnableCharacterDataHandler (bool fEnable=true) |
void | EnableProcessingInstructionHandler (bool fEnable=true) |
void | EnableCommentHandler (bool fEnable=true) |
void | EnableStartCdataSectionHandler (bool fEnable=true) |
void | EnableEndCdataSectionHandler (bool fEnable=true) |
void | EnableCdataSectionHandler (bool fEnable=true) |
void | EnableDefaultHandler (bool fEnable=true, bool fExpand=true) |
void | EnableExternalEntityRefHandler (bool fEnable=true) |
void | EnableUnknownEncodingHandler (bool fEnable=true) |
void | EnableStartNamespaceDeclHandler (bool fEnable=true) |
void | EnableEndNamespaceDeclHandler (bool fEnable=true) |
void | EnableNamespaceDeclHandler (bool fEnable=true) |
void | EnableXmlDeclHandler (bool fEnable=true) |
void | EnableStartDoctypeDeclHandler (bool fEnable=true) |
void | EnableEndDoctypeDeclHandler (bool fEnable=true) |
void | EnableDoctypeDeclHandler (bool fEnable=true) |
enum XML_Error | GetErrorCode () |
long | GetCurrentByteIndex () |
int | GetCurrentLineNumber () |
int | GetCurrentColumnNumber () |
int | GetCurrentByteCount () |
const char * | GetInputContext (int *pnOffset, int *pnSize) |
const XML_LChar * | GetErrorString () |
void | OnStartElement (const XML_Char *pszName, const XML_Char **papszAttrs) |
void | OnEndElement (const XML_Char *pszName) |
void | OnCharacterData (const XML_Char *pszData, int nLength) |
void | OnProcessingInstruction (const XML_Char *pszTarget, const XML_Char *pszData) |
void | OnComment (const XML_Char *pszData) |
void | OnStartCdataSection () |
void | OnEndCdataSection () |
void | OnDefault (const XML_Char *pszData, int nLength) |
bool | OnExternalEntityRef (const XML_Char *pszContext, const XML_Char *pszBase, const XML_Char *pszSystemID, const XML_Char *pszPublicID) |
bool | OnUnknownEncoding (const XML_Char *pszName, XML_Encoding *pInfo) |
void | OnStartNamespaceDecl (const XML_Char *pszPrefix, const XML_Char *pszURI) |
void | OnEndNamespaceDecl (const XML_Char *pszPrefix) |
void | OnXmlDecl (const XML_Char *pszVersion, const XML_Char *pszEncoding, bool fStandalone) |
void | OnStartDoctypeDecl (const XML_Char *pszDoctypeName, const XML_Char *pszSysID, const XML_Char *pszPubID, bool fHasInternalSubset) |
void | OnEndDoctypeDecl () |
Static Public Member Functions |
static const XML_LChar * | GetExpatVersion () |
static const XML_LChar * | GetErrorString (enum XML_Error nError) |
Protected Member Functions |
void | OnPostCreate () |
Static Protected Member Functions |
static void | StartElementHandler (void *pUserData, const XML_Char *pszName, const XML_Char **papszAttrs) |
static void | EndElementHandler (void *pUserData, const XML_Char *pszName) |
static void | CharacterDataHandler (void *pUserData, const XML_Char *pszData, int nLength) |
static void | ProcessingInstructionHandler (void *pUserData, const XML_Char *pszTarget, const XML_Char *pszData) |
static void | CommentHandler (void *pUserData, const XML_Char *pszData) |
static void | StartCdataSectionHandler (void *pUserData) |
static void | EndCdataSectionHandler (void *pUserData) |
static void | DefaultHandler (void *pUserData, const XML_Char *pszData, int nLength) |
static int | ExternalEntityRefHandler (void *pUserData, const XML_Char *pszContext, const XML_Char *pszBase, const XML_Char *pszSystemID, const XML_Char *pszPublicID) |
static int | UnknownEncodingHandler (void *pUserData, const XML_Char *pszName, XML_Encoding *pInfo) |
static void | StartNamespaceDeclHandler (void *pUserData, const XML_Char *pszPrefix, const XML_Char *pszURI) |
static void | EndNamespaceDeclHandler (void *pUserData, const XML_Char *pszPrefix) |
static void | XmlDeclHandler (void *pUserData, const XML_Char *pszVersion, const XML_Char *pszEncoding, int nStandalone) |
static void | StartDoctypeDeclHandler (void *pUserData, const XML_Char *pszDoctypeName, const XML_Char *pszSysID, const XML_Char *pszPubID, int nHasInternalSubset) |
static void | EndDoctypeDeclHandler (void *pUserData) |
Protected Attributes |
XML_Parser | m_p |