#include <XMLNode.h>
Inheritance diagram for acdk::xml::dom::XMLNode:
Public Member Functions | |
XMLNode (IN(RString) name, short type) | |
~XMLNode () | |
RString | toXML () |
dom4j like extension | |
virtual RString | getNodeName () |
The name of this node, depending on its type; see the table above. | |
virtual acdk::lang::RString | getNamespaceURI () |
The namespace URI of this node, or null if it is unspecified (see ). | |
virtual acdk::lang::RString | getLocalName () |
Returns the local part of the qualified name of this node. | |
virtual acdk::lang::RString | getBaseURI () |
The absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI. | |
virtual acdk::lang::RString | getPrefix () |
The namespace prefix of this node, or null if it is unspecified. | |
virtual void | setPrefix (IN(acdk::lang::RString) prefix) throw ( RDOMException ) |
The namespace prefix of this node, or null if it is unspecified. | |
virtual RString | getNodeValue () throw ( RDOMException ) |
The value of this node, depending on its type; see the table above. | |
virtual void | setNodeValue (IN(RString) s) throw ( RDOMException ) |
virtual short | getNodeType () |
A code representing the type of the underlying object, as defined above. | |
virtual RNode | getParentNode () |
The parent of this node. | |
void | setParentNode (IN(RNode) p) |
virtual RNodeList | getChildNodes () |
A NodeList that contains all children of this node. | |
virtual RNode | getFirstChild () |
The first child of this node. | |
virtual RNode | getLastChild () |
The last child of this node. | |
virtual RNode | getPreviousSibling () |
The node immediately preceding this node. | |
virtual RNode | getNextSibling () |
The node immediately following this node. | |
virtual RNamedNodeMap | getAttributes () |
A NamedNodeMap containing the attributes of this node (if it is an Element ) or null otherwise. | |
virtual RDocument | getOwnerDocument () |
The Document object associated with this node. | |
virtual RNode | insertBefore (IN(RNode) newChild, IN(RNode) refChild) throw ( RDOMException ) |
Inserts the node newChild before the existing child node refChild . | |
virtual RNode | replaceChild (IN(RNode) newChild, IN(RNode) oldChild) throw ( RDOMException ) |
Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node. | |
virtual RNode | removeChild (IN(RNode) node) throw ( RDOMException ) |
Removes the child node indicated by oldChild from the list of children, and returns it. | |
virtual RNode | appendChild (IN(RNode) node) throw ( RDOMException ) |
Adds the node newChild to the end of the list of children of this node. | |
virtual bool | hasChildNodes () |
Returns whether this node has any children. | |
virtual RNode | cloneNode (bool flag) |
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. | |
virtual RNode | selectNode (IN(RString) xpath) |
virtual RNodeList | selectNodes (IN(RString) xpath) |
RString | _childsToString () |
virtual bool | isEqualNode (IN(org::w3c::dom::RNode) arg) |
Protected Attributes | |
RString | _name |
RString | _value |
short | _nodeType |
RNode | _parent |
acdk::lang::ref::SharedOwning | _sharedRefs |
RXMLNodeArray | _childs |
|
|
|
|
|
|
|
Adds the node
If the
Implements org::w3c::dom::Node. |
|
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.
The duplicate node has no parent (
Implements org::w3c::dom::Node. |
|
A
Implements org::w3c::dom::Node. Reimplemented in acdk::xml::dom::XMLElement. |
|
The absolute base URI of this node or
This value is computed as described in . However, when the
Implements org::w3c::dom::Node. |
|
A
If there are no children, this is a Implements org::w3c::dom::Node. |
|
The first child of this node.
If there is no such node, this returns Implements org::w3c::dom::Node. |
|
The last child of this node.
If there is no such node, this returns Implements org::w3c::dom::Node. |
|
Returns the local part of the qualified name of this node.
Implements org::w3c::dom::Node. |
|
The namespace URI of this node, or
Implements org::w3c::dom::Node. |
|
The node immediately following this node.
If there is no such node, this returns Implements org::w3c::dom::Node. |
|
The name of this node, depending on its type; see the table above.
Implements org::w3c::dom::Node. |
|
A code representing the type of the underlying object, as defined above.
Implements org::w3c::dom::Node. |
|
The value of this node, depending on its type; see the table above.
When it is defined to be
Implements org::w3c::dom::Node. Reimplemented in acdk::xml::dom::XMLCharacterData. |
|
The
This is also the
Implements org::w3c::dom::Node. Reimplemented in acdk::xml::dom::XMLDocument, and acdk::xml::dom::XMLElement. |
|
The parent of this node.
All nodes, except Implements org::w3c::dom::Node. |
|
The namespace prefix of this node, or
When it is defined to be
Implements org::w3c::dom::Node. |
|
The node immediately preceding this node.
If there is no such node, this returns Implements org::w3c::dom::Node. |
|
Returns whether this node has any children.
Implements org::w3c::dom::Node. |
|
Inserts the node
If
Implements org::w3c::dom::Node. |
|
|
|
Removes the child node indicated by
Implements org::w3c::dom::Node. |
|
Replaces the child node
Implements org::w3c::dom::Node. |
|
|
|
|
|
|
|
|
|
The namespace prefix of this node, or
When it is defined to be
Implements org::w3c::dom::Node. |
|
dom4j like extension
Reimplemented from org::w3c::dom::Node. Reimplemented in acdk::xml::dom::XMLCDATASection, acdk::xml::dom::XMLCharacterData, acdk::xml::dom::XMLComment, acdk::xml::dom::XMLDocument, acdk::xml::dom::XMLElement, and acdk::xml::dom::XMLText. |
|
|
|
Reimplemented in acdk::xml::dom::XMLAttr. |
|
|
|
|
|
|
|
Reimplemented in acdk::xml::dom::XMLAttr. |