XML implementation backend for the libxml++ library. More...
#include <LibXmlDomDocumentHandler.hxx>
Public Types | |
typedef LibXmlDomWritingContext | WritingContext |
typedef LibXmlDomReadingContext | ReadingContext |
Public Member Functions | |
ReadingContext * | GetReadingContext () |
void | SetReadingContext (ReadingContext *context) |
WritingContext * | GetWritingContext () |
void | SetWritingContext (WritingContext *context) |
LibXmlDomDocumentHandler () | |
~LibXmlDomDocumentHandler () | |
void | setDocument (xmlpp::Document *document) |
void | selectPath (const char *path) |
xmlpp::Element * | getSelection () |
void | create (const char *rootName) |
void | read (std::istream &stream) |
void | writeDocument (std::ostream &os, bool useIndentation=false) |
void | writeSelection (std::ostream &os, bool useIndentation=false) |
XML implementation backend for the libxml++ library.
Definition at line 35 of file LibXmlDomDocumentHandler.hxx.
Definition at line 39 of file LibXmlDomDocumentHandler.hxx.
Definition at line 38 of file LibXmlDomDocumentHandler.hxx.
CLAM::LibXmlDomDocumentHandler::LibXmlDomDocumentHandler | ( | ) | [inline] |
Definition at line 63 of file LibXmlDomDocumentHandler.hxx.
CLAM::LibXmlDomDocumentHandler::~LibXmlDomDocumentHandler | ( | ) | [inline] |
Definition at line 69 of file LibXmlDomDocumentHandler.hxx.
void CLAM::LibXmlDomDocumentHandler::create | ( | const char * | rootName | ) | [inline] |
Definition at line 90 of file LibXmlDomDocumentHandler.hxx.
ReadingContext* CLAM::LibXmlDomDocumentHandler::GetReadingContext | ( | ) | [inline] |
Definition at line 40 of file LibXmlDomDocumentHandler.hxx.
xmlpp::Element* CLAM::LibXmlDomDocumentHandler::getSelection | ( | ) | [inline] |
Definition at line 86 of file LibXmlDomDocumentHandler.hxx.
Referenced by CLAM::LibXmlDomReadingContext::LibXmlDomReadingContext(), and CLAM::LibXmlDomWritingContext::LibXmlDomWritingContext().
WritingContext* CLAM::LibXmlDomDocumentHandler::GetWritingContext | ( | ) | [inline] |
Definition at line 48 of file LibXmlDomDocumentHandler.hxx.
void CLAM::LibXmlDomDocumentHandler::read | ( | std::istream & | stream | ) | [inline] |
Definition at line 98 of file LibXmlDomDocumentHandler.hxx.
void CLAM::LibXmlDomDocumentHandler::selectPath | ( | const char * | path | ) | [inline] |
Definition at line 78 of file LibXmlDomDocumentHandler.hxx.
void CLAM::LibXmlDomDocumentHandler::setDocument | ( | xmlpp::Document * | document | ) | [inline] |
Definition at line 73 of file LibXmlDomDocumentHandler.hxx.
void CLAM::LibXmlDomDocumentHandler::SetReadingContext | ( | ReadingContext * | context | ) | [inline] |
Definition at line 44 of file LibXmlDomDocumentHandler.hxx.
void CLAM::LibXmlDomDocumentHandler::SetWritingContext | ( | WritingContext * | context | ) | [inline] |
Definition at line 52 of file LibXmlDomDocumentHandler.hxx.
void CLAM::LibXmlDomDocumentHandler::writeDocument | ( | std::ostream & | os, | |
bool | useIndentation = false | |||
) | [inline] |
Definition at line 106 of file LibXmlDomDocumentHandler.hxx.
void CLAM::LibXmlDomDocumentHandler::writeSelection | ( | std::ostream & | os, | |
bool | useIndentation = false | |||
) | [inline] |
Definition at line 112 of file LibXmlDomDocumentHandler.hxx.
References CLAM::LibXmlDomWriter::DoIndentedFormat(), and CLAM::LibXmlDomWriter::write().