IXMLHandler Class Referenceabstract
This class is design to help about XML manipulation. More...
Public Member Functions | |
virtual void | release (void)=0 |
Release the handler. | |
virtual XML::IXMLNode * | parseFile (const char *sPath)=0 |
Parse file points by sPath and return the root name of the document. More... | |
virtual XML::IXMLNode * | parseString (const char *sString, const uint32 &uiSize)=0 |
Parse the string sString on uiSize caracters and return the root name of the document. More... | |
virtual XML::boolean | writeXMLInFile (const IXMLNode &rNode, const char *sPath) const =0 |
Write the XML corresponding to the node rNode in the file points by sPath. If the file exists it will be erase. More... | |
Detailed Description
This class is design to help about XML manipulation.
- See Also
- XML
Member Function Documentation
|
pure virtual |
Parse file points by sPath and return the root name of the document.
- Parameters
-
sPath [in] : Path to the File
- Returns
- The root node of the document, or NULL if there is an error.
|
pure virtual |
Parse the string sString on uiSize caracters and return the root name of the document.
- Parameters
-
sString [in] : String which contains the XML uiSize [in] : Size of the part to analyze
- Returns
- The root node of the parse part, or NULL if there is an error.
|
pure virtual |
Write the XML corresponding to the node rNode in the file points by sPath. If the file exists it will be erase.
- Parameters
-
rNode [in] : The node to write. sPath [in] : The path to the file.
- Returns
- True on success, false otherwise.
Generated on Tue Jun 26 2012 15:25:54 for Documentation by 1.7.4