17#include "arcane/DomDeclaration.h"
18#include "arcane/utils/String.h"
26class IXmlDocumentHolder;
38extern NodePrv* toNodePrv(
const Node& node);
43typedef String DOMString;
56const UShort INDEX_SIZE_ERR = 1;
58const UShort DOMSTRING_SIZE_ERR = 2;
60const UShort HIERARCHY_REQUEST_ERR = 3;
63const UShort WRONG_DOCUMENT_ERR = 4;
68const UShort INVALID_CHARACTER_ERR = 5;
70const UShort NO_DATA_ALLOWED_ERR = 6;
73const UShort NO_MODIFICATION_ALLOWED_ERR = 7;
76const UShort NOT_FOUND_ERR = 8;
79const UShort NOT_SUPPORTED_ERR = 9;
82const UShort INUSE_ATTRIBUTE_ERR = 10;
85const UShort INVALID_STATE_ERR = 11;
87const UShort SYNTAX_ERR = 12;
89const UShort INVALID_MODIFICATION_ERR = 13;
92const UShort NAMESPACE_ERR = 14;
95const UShort INVALID_ACCESS_ERR = 15;
98const UShort NOT_IMPLEMENTED_ERR = 2500;
127 void encoding(
const String& encoding);
133 void _checkValid()
const;
182 String _implementationName()
const;
185 static void initialize();
186 static void terminate();
190 void _checkValid()
const;
196ARCANE_CORE_EXPORT
bool operator==(
const Node&
n1,
const Node&
n2);
197ARCANE_CORE_EXPORT
bool operator!=(
const Node&
n1,
const Node&
n2);
220 static const UShort CDATA_SECTION_NODE = 4;
222 static const UShort ENTITY_REFERENCE_NODE = 5;
226 static const UShort PROCESSING_INSTRUCTION_NODE = 7;
232 static const UShort DOCUMENT_TYPE_NODE = 10;
234 static const UShort DOCUMENT_FRAGMENT_NODE = 11;
249 void nodeValue(
const DOMString& value)
const;
259 Node parentNode()
const;
269 Node firstChild()
const;
274 Node lastChild()
const;
279 Node previousSibling()
const;
284 Node nextSibling()
const;
303 bool hasChildNodes()
const;
315 void normalize()
const;
334 static const UShort TREE_POSITION_PRECEDING = 0x01;
336 static const UShort TREE_POSITION_FOLLOWING = 0x02;
338 static const UShort TREE_POSITION_ANCESTOR = 0x04;
340 static const UShort TREE_POSITION_DESCENDANT = 0x08;
343 static const UShort TREE_POSITION_SAME = 0x10;
349 static const UShort TREE_POSITION_EXACT_SAME = 0x20;
351 static const UShort TREE_POSITION_DISCONNECTED = 0x00;
357 void textContent(
const DOMString& value)
const;
368 bool isSameNode(
const Node& node)
const;
369 UShort compareTreePosition(
const Node& other)
const;
370 bool isEqualNode(
const Node& other)
const;
399 friend class IDOM_Node;
400 friend class IDOM_Document;
409 friend bool ARCANE_CORE_EXPORT operator==(
const Node&
n1,
const Node&
n2);
415 void _assign(
const Node&);
425 void _checkValid()
const;
455 Element documentElement()
const;
484 void actualEncoding(
const DOMString&)
const;
495 bool standalone()
const;
496 void standalone(
bool)
const;
501 bool strictErrorChecking()
const;
502 void strictErrorChecking(
bool)
const;
520 void documentURI(
const DOMString&)
const;
525 Node adoptNode(
const Node& source)
const;
526 void normalizeDocument();
536 friend class IDOM_Document;
567 ULong length()
const;
575 void _checkValid()
const;
597 ULong length()
const;
605 void deleteData(
ULong offset,
ULong count)
const;
627 bool specified()
const;
642 friend class IDOM_Attr;
643 friend class IDOM_Node;
670 void removeAttribute(
const DOMString& name)
const;
684 bool hasAttribute(
const DOMString& name)
const;
693 friend class IDOM_Element;
712 bool isWhiteSpaceInElementContent()
const;
838 void actualEncoding(
const DOMString&)
const;
902 ULong length()
const;
920 friend class IDOM_Node;
921 friend class IDOM_Element;
959 const Node& src,
const Node& dest)
const;
1007 void _checkValid()
const;
1018 bool handleError(
const DOMError& error)
const;
1030 long lineNumber()
const;
1034 long columnNumber()
const;
1038 long offset()
const;
1042 Node errorNode()
const;
1059 void _checkValid()
const;
1074const unsigned short INVALID_EXPRESSION_ERR = 1;
1079const unsigned short TYPE_ERR = 2;
1088 unsigned short code;
1170 UShort resultType()
const;
1175 double numberValue()
const;
1185 bool booleanValue()
const;
1190 Node singleNodeValue()
const;
1207 Node nextNode()
const;
1215 ULong length()
const;
Tableau d'items de types quelconques.
Gestionnaire d'un document DOM.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
static const UShort SEVERITY_ERROR
The severity of the error described by the DOMError is error.
static const UShort SEVERITY_WARNING
The severity of the error described by the DOMError is warning.
static const UShort SEVERITY_FATAL_ERROR
The severity of the error described by the DOMError is fatal error.
UShort code
The code of the exception.
NodePrv * m_p
Implémentation de la classe.
static const UShort IMPORTED
The node is imported.
static const UShort CLONED
The node is cloned.
static const UShort DELETED
The node is deleted.
static const UShort XPATH_NAMESPACE_NODE
The node is a Namespace.
static const UShort NUMBER_TYPE
The result is a number as defined by XPath 1.0.
static const UShort SINGLE_NODE_TYPE
static const UShort STRING_TYPE
The result is a string as defined by XPath 1.0.
static const UShort ANY_TYPE
static const UShort BOOLEAN_TYPE
The result is a boolean as defined by XPath 1.0.
static const UShort NODE_SET_TYPE
The result is a node set as defined by XPath 1.0.
Vue constante d'un tableau de type T.
Interface du gestionnaire de traces.
Chaîne de caractères unicode.
Vecteur 1D de données avec sémantique par valeur (style STL).
GenericDocument< UTF8<> > Document
GenericDocument with UTF8 encoding.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Span< const std::byte > ByteConstSpan
Vue en lecture seule d'un tableau à une dimension de caractères.