struct CCL::IXmlNode
Overview
Node in an XML Tree. More…
#include <ixmltree.h> struct IXmlNode: public CCL::IUnknown { // methods virtual StringRef CCL_API getAttribute (StringRef key) const = 0; virtual void CCL_API setAttribute (StringRef key, StringRef value) = 0; virtual StringRef CCL_API getText () const = 0; virtual void CCL_API setText (StringRef text) = 0; virtual String CCL_API getElementString (StringRef name) const = 0; virtual IXmlNode&CCL_API newChildNode (StringRef name) = 0; };
Inherited Members
public: // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0;
Detailed Documentation
Node in an XML Tree.
The nested nodes typically also support IObjectNode. <>
Methods
virtual StringRef CCL_API getAttribute (StringRef key) const = 0
Get attribute inside XML tag.
virtual void CCL_API setAttribute (StringRef key, StringRef value) = 0
Set attribute inside XML tag.
virtual StringRef CCL_API getText () const = 0
Get text inside XML tag.
virtual void CCL_API setText (StringRef text) = 0
Set text inside XML tag.
virtual String CCL_API getElementString (StringRef name) const = 0
Get text of child node with given name.
virtual IXmlNode&CCL_API newChildNode (StringRef name) = 0
Add new child node with given name.