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

Public Member Functions

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

Private Attributes

DocumentPrv * m_document
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 572 of file DomLibXml2V2.cc.

Constructor & Destructor Documentation

◆ XmlDocumentHolderLibXml2()

Arcane::dom::XmlDocumentHolderLibXml2::XmlDocumentHolderLibXml2 ( )
inline

Definition at line 577 of file DomLibXml2V2.cc.

◆ ~XmlDocumentHolderLibXml2()

Arcane::dom::XmlDocumentHolderLibXml2::~XmlDocumentHolderLibXml2 ( )
inline

Definition at line 581 of file DomLibXml2V2.cc.

Member Function Documentation

◆ _document()

DocumentPrv * Arcane::dom::XmlDocumentHolderLibXml2::_document ( ) const
inline

Definition at line 611 of file DomLibXml2V2.cc.

◆ assignDocument()

void Arcane::dom::XmlDocumentHolderLibXml2::assignDocument ( DocumentPrv * doc)
inline

Definition at line 606 of file DomLibXml2V2.cc.

◆ clone()

IXmlDocumentHolder * Arcane::dom::XmlDocumentHolderLibXml2::clone ( )
inlineoverridevirtual

Clones this document.

Implements Arcane::IXmlDocumentHolder.

Definition at line 589 of file DomLibXml2V2.cc.

◆ documentNode()

XmlNode Arcane::dom::XmlDocumentHolderLibXml2::documentNode ( )
inlineoverridevirtual

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

Implements Arcane::IXmlDocumentHolder.

Definition at line 588 of file DomLibXml2V2.cc.

◆ save() [1/2]

String Arcane::dom::XmlDocumentHolderLibXml2::save ( )
inlineoverridevirtual

Saves this document and returns the string.

Implements Arcane::IXmlDocumentHolder.

Definition at line 595 of file DomLibXml2V2.cc.

References save().

Referenced by save().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ save() [2/2]

void Arcane::dom::XmlDocumentHolderLibXml2::save ( ByteArray & bytes)
inlineoverridevirtual

Saves this document into the array bytes.

Implements Arcane::IXmlDocumentHolder.

Definition at line 590 of file DomLibXml2V2.cc.

Member Data Documentation

◆ m_document

DocumentPrv* Arcane::dom::XmlDocumentHolderLibXml2::m_document
private

Definition at line 615 of file DomLibXml2V2.cc.

◆ m_document_node

NodePrv* Arcane::dom::XmlDocumentHolderLibXml2::m_document_node
private

Definition at line 616 of file DomLibXml2V2.cc.


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