#include <LibXMLNode.h>
Inheritance diagram for acdk::xml::libxmldom::LibXMLNode:
Public Member Functions | |
LibXMLNode (xmlNodePtr np, FreeXmlNodePtrFuncPtr freeFuncPtr=0) | |
~LibXMLNode () | |
RString | getNodeName () |
The name of this node, depending on its type; see the table above. | |
RString | getNamespaceURI () |
The namespace URI of this node, or null if it is unspecified (see ). | |
RString | getLocalName () |
Returns the local part of the qualified name of this node. | |
RString | getBaseURI () |
The absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI. | |
RString | getPrefix () |
The namespace prefix of this node, or null if it is unspecified. | |
void | setPrefix (IN(RString) prefix) throw ( org::w3c::dom::RDOMException ) |
RString | getNodeValue () throw ( org::w3c::dom::RDOMException ) |
The value of this node, depending on its type; see the table above. | |
void | setNodeValue (IN(RString) nodeValue) throw ( org::w3c::dom::RDOMException ) |
short | getNodeType () |
A code representing the type of the underlying object, as defined above. | |
org::w3c::dom::RNode | getParentNode () |
The parent of this node. | |
org::w3c::dom::RNodeList | getChildNodes () |
A NodeList that contains all children of this node. | |
org::w3c::dom::RNode | getFirstChild () |
The first child of this node. | |
org::w3c::dom::RNode | getLastChild () |
The last child of this node. | |
org::w3c::dom::RNode | getPreviousSibling () |
The node immediately preceding this node. | |
org::w3c::dom::RNode | getNextSibling () |
The node immediately following this node. | |
org::w3c::dom::RNamedNodeMap | getAttributes () |
A NamedNodeMap containing the attributes of this node (if it is an Element ) or null otherwise. | |
org::w3c::dom::RDocument | getOwnerDocument () |
The Document object associated with this node. | |
org::w3c::dom::RNode | insertBefore (IN(org::w3c::dom::RNode) newChild, IN(org::w3c::dom::RNode) refChild) throw ( org::w3c::dom::RDOMException ) |
org::w3c::dom::RNode | replaceChild (IN(org::w3c::dom::RNode) newChild, IN(org::w3c::dom::RNode) oldChild) throw ( org::w3c::dom::RDOMException ) |
org::w3c::dom::RNode | removeChild (IN(org::w3c::dom::RNode) oldChild) throw ( org::w3c::dom::RDOMException ) |
org::w3c::dom::RNode | appendChild (IN(org::w3c::dom::RNode) newChild) throw ( org::w3c::dom::RDOMException ) |
bool | hasChildNodes () |
Returns whether this node has any children. | |
org::w3c::dom::RNode | cloneNode (bool deep) |
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. | |
void | normalize () |
bool | isSupported (IN(RString) feature, IN(RString) version) |
bool | hasAttributes () |
RString | lookupPrefix (IN(RString) namespaceURI) |
bool | isDefaultNamespace (IN(RString) namespaceURI) |
RString | lookupNamespaceURI (IN(RString) prefix) |
virtual bool | isEqualNode (IN(org::w3c::dom::RNode) arg) |
acdk::lang::Object | getUserData (IN(RString) key) |
java 1.5 acdk::lang::Object setUserData(IN(RString) key, IN(RObject) data, IN(RUserDataHandler) handler) { | |
RString | getTextContent () throw ( org::w3c::dom::RDOMException ) |
This attribute returns the text content of this node and its descendants. | |
void | setTextContent (IN(RString) textContent) throw ( org::w3c::dom::RDOMException ) |
RString | toString () |
return a string representation of this object Object::toString() return getName() by default | |
virtual org::w3c::dom::RNode | selectNode (IN(RString) xpath) |
virtual org::w3c::dom::RNodeList | selectNodes (IN(RString) xpath) |
acdk::lang::RString | selectText (IN(acdk::lang::RString) xpath) |
select a string. | |
acdk::lang::RObject | selectObject (IN(acdk::lang::RString) xpath) |
may return Node, NodeList, String Boolean or Number | |
acdk::lang::RBoolean | selectBoolean (IN(acdk::lang::RString) xpath) |
xmlNodePtr | getNodePtr () |
virtual int | getChildCount () |
dom4j like extension return the number of child nodes | |
void | _unshare (FreeXmlNodePtrFuncPtr freeFuncPtr) |
RString | toXML () |
dom4j like extension | |
void | write (IN(acdk::io::RWriter) out, int writeFlags=org::w3c::dom::NWFWDefaultFlags, int indentLevel=0, IN(RString) encoding=Nil) |
Static Public Member Functions | |
RLibXMLNode | newInstance (xmlDocPtr docPtr, xmlNodePtr nodePtr, int nodeType, bool ownsPtr=false) |
RLibXMLNode | newInstance (xmlNodePtr nodePtr, bool ownsPtr=false) |
Static Protected Member Functions | |
int | _mapLibXMLTypeToDomType (int tp) |
int | _mapDomTypeToLibXMLType (int tp) |
Protected Attributes | |
XmlNodePtrHolder | _nodePtr |
|
|
|
|
|
|
|
|
|
|
|
|
|
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. |
|
The absolute base URI of this node or
This value is computed as described in . However, when the
Implements org::w3c::dom::Node. |
|
dom4j like extension return the number of child nodes
Reimplemented from 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. |
|
The
This is also the
Implements org::w3c::dom::Node. |
|
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. |
|
This attribute returns the text content of this node and its descendants.
When it is defined to be
Reimplemented from org::w3c::dom::Node. |
|
java 1.5 acdk::lang::Object setUserData(IN(RString) key, IN(RObject) data, IN(RUserDataHandler) handler) { } |
|
|
|
Returns whether this node has any children.
Implements org::w3c::dom::Node. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in acdk::xml::libxmldom::LibXMLElement. |
|
|
|
|
|
Reimplemented from org::w3c::dom::Node. |
|
|
|
|
|
may return Node, NodeList, String Boolean or Number
Reimplemented from org::w3c::dom::Node. |
|
select a string. XPath has to select a text node, comment or attribute Reimplemented from org::w3c::dom::Node. |
|
|
|
|
|
|
|
return a string representation of this object Object::toString() return getName() by default
Reimplemented from acdk::lang::Object. Reimplemented in acdk::xml::libxmldom::LibXMLAttr, acdk::xml::libxmldom::LibXMLCharacterData, acdk::xml::libxmldom::LibXMLDocument, acdk::xml::libxmldom::LibXMLDocumentType, acdk::xml::libxmldom::LibXMLElement, acdk::xml::libxmldom::LibXMLEntity, acdk::xml::libxmldom::LibXMLNotation, and acdk::xml::libxmldom::LibXMLProcessingInstruction. |
|
dom4j like extension
Reimplemented from org::w3c::dom::Node. Reimplemented in acdk::xml::libxmldom::LibXMLCDATASection, acdk::xml::libxmldom::LibXMLCharacterData, acdk::xml::libxmldom::LibXMLComment, acdk::xml::libxmldom::LibXMLDocument, acdk::xml::libxmldom::LibXMLDocumentType, acdk::xml::libxmldom::LibXMLElement, acdk::xml::libxmldom::LibXMLEntity, acdk::xml::libxmldom::LibXMLEntityReference, acdk::xml::libxmldom::LibXMLNotation, and acdk::xml::libxmldom::LibXMLText. |
|
|
|
|