Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::dom::Document Class Reference

#include <arcane/core/Dom.h>

Inheritance diagram for Arcane::dom::Document:
Collaboration diagram for Arcane::dom::Document:

Public Member Functions

Attribute doctype() (DOM Level 1)
DocumentType doctype () const
Attribute implementation() (DOM Level 1)
DOMImplementation implementation () const
Attribute documentElement() (DOM Level 1)
Element documentElement () const
DOM Level 1 operations
Element createElement (const DOMString &tag_name) const
DocumentFragment createDocumentFragment () const
Text createTextNode (const DOMString &data) const
Comment createComment (const DOMString &data) const
CDATASection createCDATASection (const DOMString &data) const
ProcessingInstruction createProcessingInstruction (const DOMString &target, const DOMString &data) const
Attr createAttribute (const DOMString &name) const
EntityReference createEntityReference (const DOMString &name) const
NodeList getElementsByTagName (const DOMString &tagname) const
DOM Level 2 operations
Node importNode (const Node &imported_node, bool deep) const
Element createElementNS (const DOMString &namespace_uri, const DOMString &qualified_name) const
Attr createAttributeNS (const DOMString &namespace_uri, const DOMString &qualified_name) const
NodeList getElementsByTagNameNS (const DOMString &namespace_uri, const DOMString &local_name) const
Element getElementById (const DOMString &element_id) const
Attribute actualEncoding() (DOM Level 3)
DOMString actualEncoding () const
void actualEncoding (const DOMString &) const
Attribute encoding() (DOM Level 3)
DOMString encoding () const
void encoding (const DOMString &) const
Attribute standalone() (DOM Level 3)
bool standalone () const
void standalone (bool) const
Attribute strictErrorChecking() (DOM Level 3)
bool strictErrorChecking () const
void strictErrorChecking (bool) const
version() (DOM Level 3)
DOMString version () const
void version (const DOMString &) const
Attribute errorHandler() (DOM Level 3)
DOMErrorHandler errorHandler () const
void errorHandler (const DOMErrorHandler &) const
Attribute documentURI() (DOM Level 3)
DOMString documentURI () const
void documentURI (const DOMString &) 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 3 operations

class IDOM_Document
class DOMImplementation
Node adoptNode (const Node &source) const
void normalizeDocument ()
Node renameNode (const Node &node, const DOMString &namespace_uri, const DOMString &name)
 Document (const Node &)
 Document (DocumentPrv *)
DocumentPrv * _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 462 of file Dom.h.

Constructor & Destructor Documentation

◆ Document() [1/3]

Arcane::dom::Document::Document ( )

Definition at line 2300 of file DomLibXml2.cc.

◆ Document() [2/3]

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

Definition at line 1304 of file DomLibXml2V2.cc.

◆ Document() [3/3]

Arcane::dom::Document::Document ( DocumentPrv * p)

Definition at line 1300 of file DomLibXml2V2.cc.

Member Function Documentation

◆ _impl()

DocumentPrv * Arcane::dom::Document::_impl ( ) const
private

Definition at line 2317 of file DomLibXml2.cc.

◆ actualEncoding() [1/2]

DOMString Arcane::dom::Document::actualEncoding ( ) const

Definition at line 2458 of file DomLibXml2.cc.

◆ actualEncoding() [2/2]

void Arcane::dom::Document::actualEncoding ( const DOMString & value) const

Definition at line 1466 of file DomLibXml2V2.cc.

◆ adoptNode()

Node Arcane::dom::Document::adoptNode ( const Node & source) const

Definition at line 2550 of file DomLibXml2.cc.

◆ createAttribute()

Attr Arcane::dom::Document::createAttribute ( const DOMString & name) const

Definition at line 2394 of file DomLibXml2.cc.

◆ createAttributeNS()

Attr Arcane::dom::Document::createAttributeNS ( const DOMString & namespace_uri,
const DOMString & qualified_name ) const

Definition at line 2434 of file DomLibXml2.cc.

◆ createCDATASection()

CDATASection Arcane::dom::Document::createCDATASection ( const DOMString & data) const

Definition at line 2378 of file DomLibXml2.cc.

◆ createComment()

Comment Arcane::dom::Document::createComment ( const DOMString & data) const

Definition at line 2370 of file DomLibXml2.cc.

◆ createDocumentFragment()

DocumentFragment Arcane::dom::Document::createDocumentFragment ( ) const

Definition at line 2354 of file DomLibXml2.cc.

◆ createElement()

Element Arcane::dom::Document::createElement ( const DOMString & tag_name) const

Definition at line 2346 of file DomLibXml2.cc.

◆ createElementNS()

Element Arcane::dom::Document::createElementNS ( const DOMString & namespace_uri,
const DOMString & qualified_name ) const

Definition at line 2426 of file DomLibXml2.cc.

◆ createEntityReference()

EntityReference Arcane::dom::Document::createEntityReference ( const DOMString & name) const

Definition at line 2402 of file DomLibXml2.cc.

◆ createProcessingInstruction()

ProcessingInstruction Arcane::dom::Document::createProcessingInstruction ( const DOMString & target,
const DOMString & data ) const

Definition at line 2386 of file DomLibXml2.cc.

◆ createTextNode()

Text Arcane::dom::Document::createTextNode ( const DOMString & data) const

Definition at line 2362 of file DomLibXml2.cc.

◆ doctype()

DocumentType Arcane::dom::Document::doctype ( ) const

Definition at line 2323 of file DomLibXml2.cc.

◆ documentElement()

Element Arcane::dom::Document::documentElement ( ) const

Definition at line 2338 of file DomLibXml2.cc.

◆ documentURI() [1/2]

DOMString Arcane::dom::Document::documentURI ( ) const

Definition at line 2543 of file DomLibXml2.cc.

◆ documentURI() [2/2]

void Arcane::dom::Document::documentURI ( const DOMString & document_uri) const

Definition at line 1519 of file DomLibXml2V2.cc.

◆ encoding() [1/2]

DOMString Arcane::dom::Document::encoding ( ) const

Definition at line 2473 of file DomLibXml2.cc.

◆ encoding() [2/2]

void Arcane::dom::Document::encoding ( const DOMString & value) const

Definition at line 1481 of file DomLibXml2V2.cc.

◆ getElementById()

Element Arcane::dom::Document::getElementById ( const DOMString & element_id) const

Definition at line 2450 of file DomLibXml2.cc.

◆ getElementsByTagName()

NodeList Arcane::dom::Document::getElementsByTagName ( const DOMString & tagname) const

Definition at line 2410 of file DomLibXml2.cc.

◆ getElementsByTagNameNS()

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

Definition at line 2442 of file DomLibXml2.cc.

◆ implementation()

DOMImplementation Arcane::dom::Document::implementation ( ) const

Definition at line 2331 of file DomLibXml2.cc.

◆ importNode()

Node Arcane::dom::Document::importNode ( const Node & imported_node,
bool deep ) const

Definition at line 2418 of file DomLibXml2.cc.

◆ normalizeDocument()

void Arcane::dom::Document::normalizeDocument ( )

Definition at line 2558 of file DomLibXml2.cc.

◆ renameNode()

Node Arcane::dom::Document::renameNode ( const Node & node,
const DOMString & namespace_uri,
const DOMString & name )

Definition at line 2565 of file DomLibXml2.cc.

◆ standalone() [1/2]

bool Arcane::dom::Document::standalone ( ) const

Definition at line 2488 of file DomLibXml2.cc.

◆ standalone() [2/2]

void Arcane::dom::Document::standalone ( bool value) const

Definition at line 1496 of file DomLibXml2V2.cc.

◆ strictErrorChecking() [1/2]

bool Arcane::dom::Document::strictErrorChecking ( ) const

Definition at line 2503 of file DomLibXml2.cc.

◆ strictErrorChecking() [2/2]

void Arcane::dom::Document::strictErrorChecking ( bool value) const

Definition at line 1511 of file DomLibXml2V2.cc.

◆ version()

DOMString Arcane::Document::version ( ) const

Definition at line 2518 of file DomLibXml2.cc.

◆ DOMImplementation

friend class DOMImplementation
friend

Definition at line 562 of file Dom.h.

◆ IDOM_Document

friend class IDOM_Document
friend

Definition at line 561 of file Dom.h.


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