CLAM-Development  1.4.0
CLAM::DomDocumentHandler Class Reference

This class subclasses from the proper DomDocumentHandler depending on the build time configuration 'xmlbackend' option. More...

#include <DomDocumentHandler.hxx>

List of all members.

Additional Inherited Members

- Public Types inherited from CLAM::NullDomDocumentHandler
typedef NullDomWritingContext WritingContext
typedef NullDomReadingContext ReadingContext
- Public Member Functions inherited from CLAM::NullDomDocumentHandler
ReadingContextGetReadingContext ()
void SetReadingContext (ReadingContext *context)
WritingContextGetWritingContext ()
void SetWritingContext (WritingContext *context)
 NullDomDocumentHandler ()
 ~NullDomDocumentHandler ()
void selectPath (const char *path)
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)

Detailed Description

This class subclasses from the proper DomDocumentHandler depending on the build time configuration 'xmlbackend' option.

An XML implementation is choosen depending on the USE_XXXXXX directives concerning XML libraries. The current USE_XXXXXX variables that affect this class in priority order are:

If you choose 'none' as backend, then a Null implementation will be used that fails an assertion whenever you try to use the XML serialization.

See also:
XercesDomDocumentHandler
LibXmlDomDocumentHandler
NullDomDocumentHandler
Author:
David Garcia.

Definition at line 63 of file DomDocumentHandler.hxx.


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