Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::dom::Attr Class Reference
Inheritance diagram for Arcane::dom::Attr:
Collaboration diagram for Arcane::dom::Attr:

Public Member Functions

Attribute name (DOM Level 1)
DOMString name () const
Attribute specified (DOM Level 1)
bool specified () const
Attribute value (DOM Level 1)
DOMString value () const
void value (const DOMString &str) 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 *)

Attribute ownerElement (DOM Level 2)

class IDOM_Attr
class IDOM_Node
class Element
Element ownerElement () const
 Attr (const Node &)
 Attr (AttrPrv *)
AttrPrv * _impl () const

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 652 of file Dom.h.

Constructor & Destructor Documentation

◆ Attr() [1/3]

Arcane::Attr::Attr ( )
default

Definition at line 2731 of file DomLibXml2.cc.

◆ Attr() [2/3]

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

Definition at line 1725 of file DomLibXml2V2.cc.

◆ Attr() [3/3]

Arcane::dom::Attr::Attr ( AttrPrv * p)

Definition at line 1719 of file DomLibXml2V2.cc.

Member Function Documentation

◆ _impl()

AttrPrv * Arcane::dom::Attr::_impl ( ) const
private

Definition at line 2758 of file DomLibXml2.cc.

◆ name()

DOMString Arcane::dom::Attr::name ( ) const

Definition at line 2764 of file DomLibXml2.cc.

◆ ownerElement()

Element Arcane::dom::Attr::ownerElement ( ) const

Definition at line 2792 of file DomLibXml2.cc.

◆ specified()

bool Arcane::dom::Attr::specified ( ) const

Definition at line 2771 of file DomLibXml2.cc.

◆ value() [1/2]

DOMString Arcane::dom::Attr::value ( ) const

Definition at line 2778 of file DomLibXml2.cc.

◆ value() [2/2]

void Arcane::dom::Attr::value ( const DOMString & str) const

Definition at line 2785 of file DomLibXml2.cc.

◆ Element

friend class Element
friend

Definition at line 682 of file Dom.h.

◆ IDOM_Attr

friend class IDOM_Attr
friend

Definition at line 680 of file Dom.h.

◆ IDOM_Node

friend class IDOM_Node
friend

Definition at line 681 of file Dom.h.


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