Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::dom::Element Class Reference

Public Member Functions

Attribut tagName (DOM Level 1)
DOMString tagName () const
Public Member Functions inherited from Arcane::dom::Node
DOMString nodeName () const
DOMString nodeValue () const
void nodeValue (const DOMString &value) const
UShort nodeType () const
Node parentNode () const
NodeList childNodes () const
Node firstChild () const
Node lastChild () const
Node previousSibling () const
Node nextSibling () const
NamedNodeMap attributes () const
Document ownerDocument () const
Node insertBefore (const Node &new_child, const Node &ref_child) const
Node replaceChild (const Node &new_child, const Node &old_child) const
Node removeChild (const Node &old_child) const
Node appendChild (const Node &new_child) const
bool hasChildNodes () const
Node cloneNode (bool deep) const
DOMString prefix () const
void prefix (const DOMString &new_prefix) const
void normalize () const
bool isSupported (const DOMString &feature, const DOMString &version) const
DOMString namespaceURI () const
DOMString localName () const
DOMString textContent () const
void textContent (const DOMString &value) const
DOMString baseURI () const
bool isSameNode (const Node &node) const
UShort compareTreePosition (const Node &other) const
bool isEqualNode (const Node &other) const
Node getInterface (const DOMString &feature) const
DOMString lookupNamespacePrefix (const DOMString &namespace_uri, bool use_default) const
bool isDefaultNamespace (const DOMString &namespace_uri) const
DOMString lookupNamespaceURI (const DOMString &prefix) const
DOMObject setUserData (const DOMString &key, const DOMObject &data, const UserDataHandler &handler) const
DOMObject getUserData (const DOMString &key) const
void releaseNode ()
 Destroys the node.
bool _null () const
 Node (const Node &)
const Node & operator= (const Node &from)
 Node (NodePrv *)

DOM Level 1 operations

class IDOM_Element
class Attr
class Document
DOMString getAttribute (const DOMString &name) const
void setAttribute (const DOMString &name, const DOMString &value) const
void removeAttribute (const DOMString &name) const
Attr getAttributeNode (const DOMString &name) const
Attr setAttributeNode (const Attr &new_attr) const
Attr removeAttributeNode (const Attr &old_attr) const
NodeList getElementsByTagName (const DOMString &name) const
DOMString getAttributeNS (const DOMString &namespace_uri, const DOMString &local_name) const
void setAttributeNS (const DOMString &namespace_uri, const DOMString &qualified_name, const DOMString &value) const
void removeAttributeNS (const DOMString &namespace_uri, const DOMString &local_name) const
Attr getAttributeNodeNS (const DOMString &namespace_uri, const DOMString &local_name) const
Attr setAttributeNodeNS (const Attr &new_attr) const
NodeList getElementsByTagNameNS (const DOMString &namespace_uri, const DOMString &local_name) const
bool hasAttribute (const DOMString &name) const
bool hasAttributeNS (const DOMString &namespace_uri, const DOMString &local_name) const
 Element (const Element &)
 Element (const Node &)

Additional Inherited Members

Static Public Attributes inherited from Arcane::dom::Node
static const UShort ELEMENT_NODE = 1
 The node is an Element.
static const UShort ATTRIBUTE_NODE = 2
 The node is an Attr.
static const UShort TEXT_NODE = 3
 The node is a Text node.
static const UShort CDATA_SECTION_NODE = 4
 The node is a CDATASection.
static const UShort ENTITY_REFERENCE_NODE = 5
 The node is an EntityReference.
static const UShort ENTITY_NODE = 6
 The node is an Entity.
static const UShort PROCESSING_INSTRUCTION_NODE = 7
 The node is a ProcessingInstruction.
static const UShort COMMENT_NODE = 8
 The node is a Comment.
static const UShort DOCUMENT_NODE = 9
 The node is a Document.
static const UShort DOCUMENT_TYPE_NODE = 10
 The node is a DocumentType.
static const UShort DOCUMENT_FRAGMENT_NODE = 11
 The node is a DocumentFragment.
static const UShort NOTATION_NODE = 12
 The node is a Notation.
static const UShort TREE_POSITION_PRECEDING = 0x01
 The node precedes the reference node.
static const UShort TREE_POSITION_FOLLOWING = 0x02
 The node follows the reference node.
static const UShort TREE_POSITION_ANCESTOR = 0x04
 The node is an ancestor of the reference node.
static const UShort TREE_POSITION_DESCENDANT = 0x08
 The node is a descendant of the reference node.
static const UShort TREE_POSITION_SAME = 0x10
static const UShort TREE_POSITION_EXACT_SAME = 0x20
static const UShort TREE_POSITION_DISCONNECTED = 0x00
 The two nodes are disconnected, they do not have any common ancestor.
void _assign (const Node &)
void _checkValid () const
NodePrv * _impl () const
NodePrv * m_p
 Class implementation.

Detailed Description

Definition at line 698 of file Dom.h.

Constructor & Destructor Documentation

◆ Element() [1/3]

Arcane::dom::Element::Element ( )

Definition at line 2804 of file DomLibXml2.cc.

◆ Element() [2/3]

Arcane::dom::Element::Element ( const Element & node)

Definition at line 1797 of file DomLibXml2V2.cc.

◆ Element() [3/3]

Arcane::dom::Element::Element ( const Node & node)

Definition at line 1789 of file DomLibXml2V2.cc.

Member Function Documentation

◆ getAttribute()

String Arcane::dom::Element::getAttribute ( const DOMString & name) const

Definition at line 2842 of file DomLibXml2.cc.

◆ getAttributeNode()

Attr Arcane::dom::Element::getAttributeNode ( const DOMString & name) const

Definition at line 2866 of file DomLibXml2.cc.

◆ getAttributeNodeNS()

Attr Arcane::dom::Element::getAttributeNodeNS ( const DOMString & namespace_uri,
const DOMString & local_name ) const

Definition at line 2927 of file DomLibXml2.cc.

◆ getAttributeNS()

DOMString Arcane::dom::Element::getAttributeNS ( const DOMString & namespace_uri,
const DOMString & local_name ) const

Definition at line 2902 of file DomLibXml2.cc.

◆ getElementsByTagName()

NodeList Arcane::dom::Element::getElementsByTagName ( const DOMString & name) const

Definition at line 2893 of file DomLibXml2.cc.

◆ getElementsByTagNameNS()

NodeList Arcane::dom::Element::getElementsByTagNameNS ( const DOMString & namespace_uri,
const DOMString & local_name ) const

Definition at line 2946 of file DomLibXml2.cc.

◆ hasAttribute()

bool Arcane::dom::Element::hasAttribute ( const DOMString & name) const

Definition at line 2955 of file DomLibXml2.cc.

◆ hasAttributeNS()

bool Arcane::dom::Element::hasAttributeNS ( const DOMString & namespace_uri,
const DOMString & local_name ) const

Definition at line 2963 of file DomLibXml2.cc.

◆ removeAttribute()

void Arcane::dom::Element::removeAttribute ( const DOMString & name) const

Definition at line 2858 of file DomLibXml2.cc.

◆ removeAttributeNode()

Attr Arcane::dom::Element::removeAttributeNode ( const Attr & old_attr) const

Definition at line 2884 of file DomLibXml2.cc.

◆ removeAttributeNS()

void Arcane::dom::Element::removeAttributeNS ( const DOMString & namespace_uri,
const DOMString & local_name ) const

Definition at line 2919 of file DomLibXml2.cc.

◆ setAttribute()

void Arcane::dom::Element::setAttribute ( const DOMString & name,
const DOMString & value ) const

Definition at line 2850 of file DomLibXml2.cc.

◆ setAttributeNode()

Attr Arcane::dom::Element::setAttributeNode ( const Attr & new_attr) const

Definition at line 2875 of file DomLibXml2.cc.

◆ setAttributeNodeNS()

Attr Arcane::dom::Element::setAttributeNodeNS ( const Attr & new_attr) const

Definition at line 2936 of file DomLibXml2.cc.

◆ setAttributeNS()

void Arcane::dom::Element::setAttributeNS ( const DOMString & namespace_uri,
const DOMString & qualified_name,
const DOMString & value ) const

Definition at line 2910 of file DomLibXml2.cc.

◆ tagName()

DOMString Arcane::dom::Element::tagName ( ) const

Definition at line 2834 of file DomLibXml2.cc.

◆ Attr

friend class Attr
friend

Definition at line 739 of file Dom.h.

◆ Document

friend class Document
friend

Definition at line 740 of file Dom.h.

◆ IDOM_Element

friend class IDOM_Element
friend

Definition at line 738 of file Dom.h.


The documentation for this class was generated from the following files: