#include <XMLElement.h>
Inheritance diagram for acdk::xml::dom::XMLElement:
Public Member Functions | |
XMLElement (IN(RString) name) | |
RString | toString () |
return a string representation of this object Object::toString() return getName() by default | |
RDocument | getOwnerDocument () |
The Document object associated with this node. | |
OUT (RDocument) getOwnerDocumentRef() | |
void | setOwnerDocument (IN(RDocument) doc) |
virtual RString | getTagName () |
The name of the element. | |
RNamedNodeMap | getAttributes () |
A NamedNodeMap containing the attributes of this node (if it is an Element ) or null otherwise. | |
virtual RString | getAttribute (IN(RString) name) |
Retrieves an attribute value by name. | |
virtual void | setAttribute (IN(RString) name, IN(RString) value) throw ( RDOMException ) |
Adds a new attribute. | |
virtual void | removeAttribute (IN(RString) name) throw ( RDOMException ) |
Removes an attribute by name. | |
virtual RAttr | getAttributeNode (IN(RString) name) |
Retrieves an attribute node by name. | |
virtual RAttr | setAttributeNode (IN(RAttr) newAttr) throw ( RDOMException ) |
Adds a new attribute node. | |
virtual RAttr | removeAttributeNode (IN(RAttr) oldAttr) throw ( RDOMException ) |
Removes the specified attribute node. | |
virtual RNodeList | getElementsByTagName (IN(RString) name) |
Returns a NodeList of all descendant Elements with a given tag name, in document order. | |
virtual void | normalize () |
RXMLAttrArray | getAttribues () |
virtual int | attributeCount () |
dom4j like extension | |
virtual RAttr | attribute (int idx) |
dom4j like extension | |
RString | toXML () |
dom4j like extension | |
Protected Member Functions | |
RXMLAttr | _getAttr (IN(RString) name) |
returns Nil if not found | |
Protected Attributes | |
RXMLAttrArray | _attributes |
RDocument | _document |
|
|
|
returns Nil if not found
|
|
dom4j like extension
Implements org::w3c::dom::Element. |
|
dom4j like extension
Implements org::w3c::dom::Element. |
|
|
|
Retrieves an attribute value by name.
Implements org::w3c::dom::Element. |
|
Retrieves an attribute node by name.
Implements org::w3c::dom::Element. |
|
A
Reimplemented from acdk::xml::dom::XMLNode. |
|
Returns a
Implements org::w3c::dom::Element. |
|
The
This is also the
Reimplemented from acdk::xml::dom::XMLNode. |
|
The name of the element.
If
|
|
Implements org::w3c::dom::Element. |
|
|
|
Removes an attribute by name.
If a default value for the removed attribute is defined in the DTD, a new attribute immediately appears with the default value as well as the corresponding namespace URI, local name, and prefix when applicable. The implementation may handle default values from other schemas similarly but applications should use
Implements org::w3c::dom::Element. |
|
Removes the specified attribute node.
If a default value for the removed
Implements org::w3c::dom::Element. |
|
Adds a new attribute.
If an attribute with that name is already present in the element, its value is changed to be that of the value parameter. This value is a simple string; it is not parsed as it is being set. So any markup (such as syntax to be recognized as an entity reference) is treated as literal text, and needs to be appropriately escaped by the implementation when it is written out. In order to assign an attribute value that contains entity references, the user must create an
Implements org::w3c::dom::Element. |
|
Adds a new attribute node.
If an attribute with that name (
Implements org::w3c::dom::Element. |
|
|
|
return a string representation of this object Object::toString() return getName() by default
Reimplemented from acdk::lang::Object. |
|
dom4j like extension
Reimplemented from acdk::xml::dom::XMLNode. |
|
|
|
|