Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/xom/Comment.h>
Public Member Functions | |
Comment (const Comment *comment) | |
Comment (String data) | |
void | setValue (String data) |
String | getText (void) |
virtual Node * | copy (void) |
virtual Node * | getChild (int index) |
virtual int | getChildCount (void) |
virtual String | getValue (void) |
virtual String | toXML (void) |
Public Member Functions inherited from Node | |
virtual | ~Node (void) |
void * | getNode (void) const |
kind_t | kind (void) const |
void | detach (void) |
bool | equals (const Node *node) const |
virtual String | getBaseURI (void) |
virtual Document * | getDocument (void) |
virtual ParentNode * | getParent (void) |
virtual Nodes * | query (const String &xpath) |
virtual Nodes * | query (const String &xpath, XPathContext *context) |
int | line (void) const |
Protected Member Functions | |
Comment (void *node) | |
Protected Member Functions inherited from Node | |
Node (void *_node) | |
void | setNode (void *_node) |
Node * | make (void *node) |
Node * | get (void *node) |
Node * | internCopy (void) |
Node * | internGetChild (int index) |
int | internGetChildCount (void) |
String | internGetValue (void) |
String | internToXML (void) |
Additional Inherited Members | |
Public Types inherited from Node | |
enum | kind_t { NONE = 0, ELEMENT, DOCUMENT, TEXT, COMMENT, ATTRIBUTE, PROCESSING_INSTRUCTION, DOCTYPE, NAMESPACE } |
typedef enum elm::xom::Node::kind_t | kind_t |
Static Protected Member Functions inherited from Node | |
static void | freeNode (void *node) |
Protected Attributes inherited from Node | |
void * | node |
Node containing simple comment.
Build a new text node by cloning an existing one.
text | Text node to clone. |
References Node::node.
Implements Node.
References Comment::Comment().
|
virtual |
Returns the child of this node at the specified position.
position | the index of the child node to return |
Implements Node.
References Node::internGetChild().
|
virtual |
Implements Node.
References Node::internGetChildCount().
Get the text of this node.
References Node::node.
Referenced by Serializer::write().
Implements Node.
References Node::internToXML().