#import <xmlnode.h>
Inheritance diagram for XmlNode:

Public Member Functions | |
| (id) | - initXmlNode: |
| Initialize the instance of XmlNode class. | |
| (xmlNodePtr) | - nodePtr |
| Get content data. | |
| (xmlElementType) | - type |
| Get type of source node. | |
| (XmlNodeState) | - state |
| Get state of the node. | |
| (const xmlChar *) | - name |
| Get name of element node. | |
| (void) | - setName: |
| Set name of element node. | |
| (id) | - setAttr:value: |
| Set property to the element node. | |
| (const xmlChar *) | - getAttrValue: |
| Get attribute value from element node. | |
| (int) | - lineNo |
| Get line number which contains the node. | |
| (void) | - setText:length: |
| Set text to text node. | |
| (const xmlChar *) | - getText |
| Get text from text node. | |
| (BOOL) | - isBlankText |
| Return true if node is empty text node. | |
| (XmlNode *) | - next |
| Get next sibling. | |
| (XmlNode *) | - next: |
| Get next sibling which matches given type. | |
| (XmlNode *) | - next:or: |
| Get next sibling which matches given types. | |
| (XmlNode *) | - parent |
| Get parent node. | |
| (XmlNode *) | - child |
| Get 1st child node. | |
| (XmlNode *) | - child: |
| Get child which has given type. | |
| (XmlNode *) | - child:or: |
| Get child node which matches given types. | |
| (XmlNode *) | - lastChild |
| Get last child node. | |
| (XmlNode *) | - lastChild: |
| Get last child which has given type. | |
| (XmlNode *) | - lastChild:or: |
| Get last child node which matches given types. | |
| (id) | - addSibling:withFollowers: |
| Add node as new sibling. | |
| (id) | - addChild:withFollowers: |
| Add node as new children. | |
| (id) | - duplicate: |
| Duplicate the node. | |
| (void) | - unlink: |
| Unlink the connection of the node. | |
| (void) | - replaceBy: |
| Replace this node by source node. | |
| (void) | - print: |
| Print the content of node. | |
Static Public Member Functions | |
| (id) | + newElement: |
| Generate new element node. | |
| (id) | + newText: |
| Generate new text node. | |
Protected Attributes | |
| xmlNodePtr | xml_node_ptr |
| XmlNodeState | node_state |
|
||||||||||||
|
Add node as new children.
|
|
||||||||||||
|
Add node as new sibling.
|
|
|
Get 1st child node.
|
|
|
Get child which has given type.
|
|
||||||||||||
|
Get child node which matches given types.
|
|
|
Duplicate the node.
|
|
|
Get attribute value from element node.
|
|
|
Get text from text node.
|
|
|
Initialize the instance of XmlNode class.
|
|
|
Return true if node is empty text node.
|
|
|
Get last child node.
|
|
|
Get last child which has given type.
|
|
||||||||||||
|
Get last child node which matches given types.
|
|
|
Get line number which contains the node.
|
|
|
Get name of element node.
|
|
|
Generate new element node.
|
|
|
Generate new text node.
|
|
|
Get next sibling.
|
|
|
Get next sibling which matches given type.
|
|
||||||||||||
|
Get next sibling which matches given types.
|
|
|
Get content data.
|
|
|
Get parent node.
|
|
|
Print the content of node.
|
|
|
Replace this node by source node.
|
|
||||||||||||
|
Set property to the element node.
|
|
|
Set name of element node.
|
|
||||||||||||
|
Set text to text node.
|
|
|
Get state of the node.
|
|
|
Get type of source node.
|
|
|
Unlink the connection of the node.
|
|
|
State of the node |
|
|
Content data of XmlNode class |
1.4.5