class XmlParent

Xml Parent. More...

Contains pure virtuals
Full nameTelEngine::XmlParent
Definition#include <libs/yxml/yatexml.h>
Inherited byXmlDocument, XmlElement, XmlFragment
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

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:
childThe 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:
childThe child to remove
delObjTrue 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 Tue Apr 12 17:15:21 2011, using kdoc 2.0a54.