Logo Search packages:      
Sourcecode: poco version File versions  Download package

Poco::XML::DOMSerializer Class Reference

#include <DOMSerializer.h>

Inheritance diagram for Poco::XML::DOMSerializer:


List of all members.

Detailed Description

The DOMSerializer serializes a DOM document into a sequence of SAX events which are reported to the registered SAX event handlers.

The DOMWriter uses a DOMSerializer with an XMLWriter to serialize a DOM document into textual XML.

Definition at line 64 of file DOMSerializer.h.

Public Member Functions

ContentHandlergetContentHandler () const
DTDHandlergetDTDHandler () const
EntityResolvergetEntityResolver () const
ErrorHandlergetErrorHandler () const
bool getFeature (const XMLString &featureId) const
void * getProperty (const XMLString &propertyId) const
void serialize (const Node *pNode)
 Destroys the DOMSerializer.
void setContentHandler (ContentHandler *pContentHandler)
 Return the current DTD handler.
void setDTDHandler (DTDHandler *pDTDHandler)
 Return the current entity resolver.
void setEntityResolver (EntityResolver *pResolver)
void setErrorHandler (ErrorHandler *pErrorHandler)
 Return the current content handler.
void setFeature (const XMLString &featureId, bool state)
 Return the current error handler.
void setProperty (const XMLString &propertyId, void *value)
void setProperty (const XMLString &propertyId, const XMLString &value)
 ~DOMSerializer ()
 Creates the DOMSerializer.

Static Public Attributes

static const XMLString FEATURE_EXTERNAL_GENERAL_ENTITIES = toXMLString("http://xml.org/sax/features/external-general-entities")
static const XMLString FEATURE_EXTERNAL_PARAMETER_ENTITIES = toXMLString("http://xml.org/sax/features/external-parameter-entities")
static const XMLString FEATURE_NAMESPACE_PREFIXES = toXMLString("http://xml.org/sax/features/namespace-prefixes")
static const XMLString FEATURE_NAMESPACES = toXMLString("http://xml.org/sax/features/namespaces")
static const XMLString FEATURE_STRING_INTERNING = toXMLString("http://xml.org/sax/features/string-interning")
static const XMLString FEATURE_VALIDATION = toXMLString("http://xml.org/sax/features/validation")
static const XMLString PROPERTY_DECLARATION_HANDLER = toXMLString("http://xml.org/sax/properties/declaration-handler")
static const XMLString PROPERTY_LEXICAL_HANDLER = toXMLString("http://xml.org/sax/properties/lexical-handler")

Protected Member Functions

void handleCDATASection (const CDATASection *pCDATA) const
void handleCharacterData (const Text *pText) const
void handleComment (const Comment *pComment) const
void handleDocument (const Document *pDocument) const
void handleDocumentType (const DocumentType *pDocumentType) const
void handleElement (const Element *pElement) const
void handleEntity (const Entity *pEntity) const
void handleFragment (const DocumentFragment *pFragment) const
void handleNode (const Node *pNode) const
void handleNotation (const Notation *pNotation) const
void handlePI (const ProcessingInstruction *pPI) const
void iterate (const Node *pNode) const
void parse (const XMLString &systemId)
void parse (InputSource *pSource)

Private Attributes


Static Private Attributes

static const XMLString CDATA = toXMLString("CDATA")

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

Generated by  Doxygen 1.6.0   Back to index