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

Public Member Functions

 XmlDocumentHolderLibXml2 (NodePrv *node)
virtual XmlNode documentNode ()
 Document node. This node is null if the document does not exist.
virtual IXmlDocumentHolderclone ()
 Clones this document.
virtual void save (ByteArray &bytes)
 Saves this document into the array bytes.
virtual String save ()
 Saves this document and returns the string.
void assignNode (NodePrv *node)
Public Member Functions inherited from Arcane::IXmlDocumentHolder
virtual ~IXmlDocumentHolder ()
 Releases resources.

Private Attributes

NodePrv * m_document_node

Additional Inherited Members

Static Public Member Functions inherited from Arcane::IXmlDocumentHolder
static IXmlDocumentHoldercreateNull ()
 Creates and returns a null document.
static IXmlDocumentHolderloadFromBuffer (Span< const Byte > buffer, const String &name, ITraceMng *tm)
 Loads an XML document.
static IXmlDocumentHolderloadFromBuffer (ByteConstSpan buffer, const String &name, ITraceMng *tm)
 Loads an XML document.
static IXmlDocumentHolderloadFromFile (const String &filename, ITraceMng *tm)
 Loads an XML document.
static IXmlDocumentHolderloadFromFile (const String &filename, const String &schema_filename, ITraceMng *tm)
 Loads an XML document.

Detailed Description

Definition at line 196 of file DomLibXml2.cc.

Constructor & Destructor Documentation

◆ XmlDocumentHolderLibXml2() [1/2]

Arcane::XmlDocumentHolderLibXml2::XmlDocumentHolderLibXml2 ( NodePrv * node)
inline

Definition at line 199 of file DomLibXml2.cc.

◆ XmlDocumentHolderLibXml2() [2/2]

Arcane::XmlDocumentHolderLibXml2::XmlDocumentHolderLibXml2 ( )
inline

Definition at line 202 of file DomLibXml2.cc.

◆ ~XmlDocumentHolderLibXml2()

Arcane::XmlDocumentHolderLibXml2::~XmlDocumentHolderLibXml2 ( )

Definition at line 1384 of file DomLibXml2.cc.

Member Function Documentation

◆ assignNode()

void Arcane::XmlDocumentHolderLibXml2::assignNode ( NodePrv * node)
inline

Definition at line 212 of file DomLibXml2.cc.

◆ clone()

IXmlDocumentHolder * Arcane::XmlDocumentHolderLibXml2::clone ( )
virtual

Clones this document.

Implements Arcane::IXmlDocumentHolder.

Definition at line 1391 of file DomLibXml2.cc.

◆ documentNode()

virtual XmlNode Arcane::XmlDocumentHolderLibXml2::documentNode ( )
inlinevirtual

Document node. This node is null if the document does not exist.

Implements Arcane::IXmlDocumentHolder.

Definition at line 206 of file DomLibXml2.cc.

Referenced by save(), and save().

Here is the caller graph for this function:

◆ save() [1/2]

String Arcane::XmlDocumentHolderLibXml2::save ( )
virtual

Saves this document and returns the string.

Implements Arcane::IXmlDocumentHolder.

Definition at line 1404 of file DomLibXml2.cc.

References documentNode().

Here is the call graph for this function:

◆ save() [2/2]

void Arcane::XmlDocumentHolderLibXml2::save ( ByteArray & bytes)
virtual

Saves this document into the array bytes.

Implements Arcane::IXmlDocumentHolder.

Definition at line 1398 of file DomLibXml2.cc.

References documentNode().

Here is the call graph for this function:

Member Data Documentation

◆ m_document_node

NodePrv* Arcane::XmlDocumentHolderLibXml2::m_document_node
private

Definition at line 215 of file DomLibXml2.cc.


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