CLAM-Development
1.1
|
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 46 of file XercesDomDocumentHandler.hxx.
Definition at line 50 of file XercesDomDocumentHandler.hxx.
Definition at line 49 of file XercesDomDocumentHandler.hxx.
Definition at line 74 of file XercesDomDocumentHandler.hxx.
Definition at line 80 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::create | ( | const char * | rootName | ) | [inline] |
Definition at line 102 of file XercesDomDocumentHandler.hxx.
References CLAM::XercesInitializer::require(), setDocument(), and U.
Definition at line 51 of file XercesDomDocumentHandler.hxx.
xercesc::DOMElement* CLAM::XercesDomDocumentHandler::getSelection | ( | ) | [inline] |
Definition at line 98 of file XercesDomDocumentHandler.hxx.
Referenced by CLAM::XercesDomReadingContext::XercesDomReadingContext(), and CLAM::XercesDomWritingContext::XercesDomWritingContext().
Definition at line 59 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::read | ( | std::istream & | stream | ) | [inline] |
Definition at line 111 of file XercesDomDocumentHandler.hxx.
References CLAM::XercesDomReader::adoptParser(), CLAM::XercesDomReader::read(), and setDocument().
void CLAM::XercesDomDocumentHandler::selectPath | ( | const char * | path | ) | [inline] |
Definition at line 89 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::setDocument | ( | xercesc::DOMDocument * | document | ) | [inline] |
Definition at line 84 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::SetReadingContext | ( | ReadingContext * | context | ) | [inline] |
Definition at line 55 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::SetWritingContext | ( | WritingContext * | context | ) | [inline] |
Definition at line 63 of file XercesDomDocumentHandler.hxx.
void CLAM::XercesDomDocumentHandler::writeDocument | ( | std::ostream & | os, |
bool | useIndentation = false |
||
) | [inline] |
Definition at line 119 of file XercesDomDocumentHandler.hxx.
References CLAM::XercesDomWriter::DoIndentedFormat(), and CLAM::XercesDomWriter::write().
void CLAM::XercesDomDocumentHandler::writeSelection | ( | std::ostream & | os, |
bool | useIndentation = false |
||
) | [inline] |
Definition at line 125 of file XercesDomDocumentHandler.hxx.
References CLAM::XercesDomWriter::DoIndentedFormat(), and CLAM::XercesDomWriter::write().