XML implementation backend for the Xerces-C library. More...
#include <XercesDomDocumentHandler.hxx>
Public Types | |
typedef XercesDomWritingContext | WritingContext |
typedef XercesDomReadingContext | ReadingContext |
Public Member Functions | |
ReadingContext * | GetReadingContext () |
void | SetReadingContext (ReadingContext *context) |
WritingContext * | GetWritingContext () |
void | SetWritingContext (WritingContext *context) |
XercesDomDocumentHandler () | |
~XercesDomDocumentHandler () | |
void | setDocument (xercesc::DOMDocument *document) |
void | selectPath (const char *path) |
xercesc::DOMElement * | 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 Xerces-C library.
Definition at line 37 of file XercesDomDocumentHandler.hxx.
Definition at line 41 of file XercesDomDocumentHandler.hxx.
Definition at line 40 of file XercesDomDocumentHandler.hxx.
CLAM::XercesDomDocumentHandler::XercesDomDocumentHandler | ( | ) | [inline] |
Definition at line 65 of file XercesDomDocumentHandler.hxx.
CLAM::XercesDomDocumentHandler::~XercesDomDocumentHandler | ( | ) | [inline] |
Definition at line 71 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::create | ( | const char * | rootName | ) | [inline] |
Definition at line 93 of file XercesDomDocumentHandler.hxx.
ReadingContext* CLAM::XercesDomDocumentHandler::GetReadingContext | ( | ) | [inline] |
Definition at line 42 of file XercesDomDocumentHandler.hxx.
xercesc::DOMElement* CLAM::XercesDomDocumentHandler::getSelection | ( | ) | [inline] |
Definition at line 89 of file XercesDomDocumentHandler.hxx.
Referenced by CLAM::XercesDomReadingContext::XercesDomReadingContext(), and CLAM::XercesDomWritingContext::XercesDomWritingContext().
WritingContext* CLAM::XercesDomDocumentHandler::GetWritingContext | ( | ) | [inline] |
Definition at line 50 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::read | ( | std::istream & | stream | ) | [inline] |
Definition at line 102 of file XercesDomDocumentHandler.hxx.
References CLAM::XercesInitializer::require(), setDocument(), and U.
void CLAM::XercesDomDocumentHandler::selectPath | ( | const char * | path | ) | [inline] |
Definition at line 80 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::setDocument | ( | xercesc::DOMDocument * | document | ) | [inline] |
Definition at line 75 of file XercesDomDocumentHandler.hxx.
Referenced by read().
void CLAM::XercesDomDocumentHandler::SetReadingContext | ( | ReadingContext * | context | ) | [inline] |
Definition at line 46 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::SetWritingContext | ( | WritingContext * | context | ) | [inline] |
Definition at line 54 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::writeDocument | ( | std::ostream & | os, | |
bool | useIndentation = false | |||
) | [inline] |
Definition at line 110 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::writeSelection | ( | std::ostream & | os, | |
bool | useIndentation = false | |||
) | [inline] |
Definition at line 116 of file XercesDomDocumentHandler.hxx.