BSAPI
Public Member Functions
SXMLDocumentI Class Reference

XML document. More...

#include <bsapi.h>

Inheritance diagram for SXMLDocumentI:
SUnknownI

List of all members.

Public Member Functions

virtual bool BSAPI_METHOD New ()=0
virtual bool BSAPI_METHOD Load (const char *pFile)=0
virtual bool BSAPI_METHOD Save (const char *pFile, unsigned int flags=XMLF_ADDHEADER)=0
virtual void BSAPI_METHOD SetEncoding (const char *pEncoding)=0
virtual void BSAPI_METHOD SetStyleSheet (const char *pStyleSheet)=0
virtual bool BSAPI_METHOD ParseText (const char *pText, bool newDocument=true)=0
virtual bool BSAPI_METHOD ParseProperties (const char *pText, SXMLPropertiesI *pProperties, const char *pNodeName, const char *pFile, int *pFileLine, char **ppNextText)=0
virtual const char *BSAPI_METHOD GetAsText (unsigned int flags=XMLF_ADDHEADER)=0
virtual void BSAPI_METHOD ReleaseText ()=0
virtual SXMLNodeI *BSAPI_METHOD GetRootNode ()=0
virtual SXMLNodeI *BSAPI_METHOD GetNode (const char *pKey, bool insertNodes=true)=0
virtual void BSAPI_METHOD RemoveNode (SXMLNodeI *pNode)=0
virtual void BSAPI_METHOD RemoveNodeByName (const char *pKey)=0
virtual bool BSAPI_METHOD Exists (const char *pKey)=0
virtual const char *BSAPI_METHOD GetValue (const char *pKey)=0
virtual bool BSAPI_METHOD Set (const char *pKey, const char *pValue)=0
virtual bool BSAPI_METHOD Assign (SXMLDocumentI *pXMLDoc)=0

Detailed Description

XML document.

This class is a memory representation of XML document with the thee structure. It starts with a root node and each node may have several subnodes. The nodes have the SXMLNodeI interface. SXMLDocument can also read/parse the XML document from the text form.


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