|
| ||||||||||||||||
Xml Parent for a Xml child
| XmlParent ()
| XmlParent |
Constructor
| ~XmlParent ()
| ~XmlParent |
[virtual]
Destructor
| XmlDocument* document ()
| document |
[virtual]
Get an XmlDocument object from this XmlParent. Default implementation return 0
Returns: 0
| XmlFragment* fragment ()
| fragment |
[virtual]
Get an XmlFragment object from this XmlParent. Default implementation return 0
Returns: 0
| XmlElement* element ()
| element |
[virtual]
Get an XmlElement object from this XmlParent. Default implementation return 0
Returns: 0
| XmlSaxParser::Error addChild (XmlChild* child)
| addChild |
[pure virtual]
Append a new child to this XmlParent
Parameters:
| child | The child to append |
Returns: XmlNoError if the child was successfully added
| XmlChild* removeChild (XmlChild* child, bool delObj = true)
| removeChild |
[pure virtual]
Remove a child
Parameters:
| child | The child to remove |
| delObj | True to delete the object |
Returns: XmlChild pointer if found and not deleted
| void reset ()
| reset |
[virtual]
Reset this xml parent. Default implementation does nothing
| const ObjList& getChildren ()
| getChildren |
[const virtual]
Obtain this xml parent children. Default implementation returns an empty list
Returns: The list of children
| void clearChildren ()
| clearChildren |
[virtual]
Clear this xml parent children. Default implementation does nothing
| Generated by: paulc on bussard on Fri Apr 1 18:17:10 2011, using kdoc 2.0a54. |