ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <DocumentFile.hpp>
Public Member Functions | |
DocumentFile () | |
const Node * | getRootNode () const |
const anna::DataBlock & | getContent () const noexcept(false) |
const Node * | parse () noexcept(false) |
const Node * | parse (const DTD &dtd) noexcept(false) |
std::string | asXmlString () const |
![]() | |
virtual | ~Document () |
void | initialize (const char *content) noexcept(false) |
void | initialize (const DataBlock &content) noexcept(false) |
const char * | getEncoding () const |
const char * | getVersion () const |
const char * | getContentAsCString () const noexcept(false) |
void | setEncoding (const char *encoding) |
void | setVersion (const char *version) |
const xml::Node * | parse () noexcept(false) |
const xml::Node * | parse (const DTD &dtd) noexcept(false) |
Protected Attributes | |
std::string | a_filename |
Additional Inherited Members | |
![]() | |
Document () | |
void | clear () |
void | setContent (const char *content) |
void | setContent (const char *content, const int size) |
void | setContent (const DataBlock &content) |
Clase para gestionar un documento XML contenido en un archivo.
|
inline |
Constructor.
|
inline |
XML representation from loaded document
|
virtualnoexcept |
Devuelve el contenido asociado al documento XML.
Reimplemented from anna::xml::Document.
|
inline |
Root node after parsing, or NULL if not analyzed by mean parse()
|
inlinenoexcept |
Parse xml document and return root node
Parse xml document with dtd and return root node
dtd | Validation DTD for XML document |
|
protected |
Nombre del fichero indicado como parametro al invocar a Document::initialize