SourceForge.net Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Examples

EventSerializer Class Reference

#include <EventSerializer.hpp>

Inheritance diagram for EventSerializer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 EventSerializer (const char *encoding, const char *xmlVersion, xercesc::XMLFormatTarget *target, xercesc::MemoryManager *mm=xercesc::XMLPlatformUtils::fgMemoryManager)
 EventSerializer (xercesc::XMLFormatTarget *target, xercesc::MemoryManager *mm=xercesc::XMLPlatformUtils::fgMemoryManager)
 ~EventSerializer ()
virtual void setLocationInfo (const LocationInfo *location)
 Recieves a LocationInfo object that is owned by the caller, and will be updated with the current location information as the parse progresses.
virtual void startDocumentEvent (const XMLCh *documentURI, const XMLCh *encoding)
 Handles a document node as an event.
virtual void endDocumentEvent ()
 Handles a document node as an event.
virtual void startElementEvent (const XMLCh *prefix, const XMLCh *uri, const XMLCh *localname)
 Handles the start of an element node as an event.
virtual void endElementEvent (const XMLCh *prefix, const XMLCh *uri, const XMLCh *localname, const XMLCh *typeURI, const XMLCh *typeName)
 Handles the end of an element node as an event.
virtual void piEvent (const XMLCh *target, const XMLCh *value)
 Handles a processing instruction node as an event.
virtual void textEvent (const XMLCh *value)
 Handles a text node as an event.
virtual void textEvent (const XMLCh *chars, unsigned int length)
 Handles a text node as an event.
virtual void commentEvent (const XMLCh *value)
 Handles a comment node as an event.
virtual void attributeEvent (const XMLCh *prefix, const XMLCh *uri, const XMLCh *localname, const XMLCh *value, const XMLCh *typeURI, const XMLCh *typeName)
 Handles an attribute node as an event.
virtual void namespaceEvent (const XMLCh *prefix, const XMLCh *uri)
 Handles a namespace binding as an event.
virtual void atomicItemEvent (AnyAtomicType::AtomicObjectType type, const XMLCh *value, const XMLCh *typeURI, const XMLCh *typeName)
 Handles an atomic item as an event.
virtual void endEvent ()
 Called when all events have been reported.
void addNewlines (bool add)
void useSelfClosingElement (bool value)
void addXMLDeclarations (bool value)

Constructor & Destructor Documentation

EventSerializer::EventSerializer const char *  encoding,
const char *  xmlVersion,
xercesc::XMLFormatTarget target,
xercesc::MemoryManager mm = xercesc::XMLPlatformUtils::fgMemoryManager
 

EventSerializer::EventSerializer xercesc::XMLFormatTarget target,
xercesc::MemoryManager mm = xercesc::XMLPlatformUtils::fgMemoryManager
 

EventSerializer::~EventSerializer  ) 
 


Member Function Documentation

void EventSerializer::addNewlines bool  add  )  [inline]
 

void EventSerializer::addXMLDeclarations bool  value  )  [inline]
 

virtual void EventSerializer::atomicItemEvent AnyAtomicType::AtomicObjectType  type,
const XMLCh *  value,
const XMLCh *  typeURI,
const XMLCh *  typeName
[virtual]
 

Handles an atomic item as an event.

Reimplemented from EventHandler.

virtual void EventSerializer::attributeEvent const XMLCh *  prefix,
const XMLCh *  uri,
const XMLCh *  localname,
const XMLCh *  value,
const XMLCh *  typeURI,
const XMLCh *  typeName
[virtual]
 

Handles an attribute node as an event.

Implements EventHandler.

virtual void EventSerializer::commentEvent const XMLCh *  value  )  [virtual]
 

Handles a comment node as an event.

Implements EventHandler.

virtual void EventSerializer::endDocumentEvent  )  [virtual]
 

Handles a document node as an event.

Implements EventHandler.

virtual void EventSerializer::endElementEvent const XMLCh *  prefix,
const XMLCh *  uri,
const XMLCh *  localname,
const XMLCh *  typeURI,
const XMLCh *  typeName
[virtual]
 

Handles the end of an element node as an event.

Implements EventHandler.

virtual void EventSerializer::endEvent  )  [virtual]
 

Called when all events have been reported.

Implements EventHandler.

virtual void EventSerializer::namespaceEvent const XMLCh *  prefix,
const XMLCh *  uri
[virtual]
 

Handles a namespace binding as an event.

Implements EventHandler.

virtual void EventSerializer::piEvent const XMLCh *  target,
const XMLCh *  value
[virtual]
 

Handles a processing instruction node as an event.

Implements EventHandler.

virtual void EventSerializer::setLocationInfo const LocationInfo location  )  [inline, virtual]
 

Recieves a LocationInfo object that is owned by the caller, and will be updated with the current location information as the parse progresses.

Reimplemented from EventHandler.

virtual void EventSerializer::startDocumentEvent const XMLCh *  documentURI,
const XMLCh *  encoding
[virtual]
 

Handles a document node as an event.

Implements EventHandler.

virtual void EventSerializer::startElementEvent const XMLCh *  prefix,
const XMLCh *  uri,
const XMLCh *  localname
[virtual]
 

Handles the start of an element node as an event.

Implements EventHandler.

virtual void EventSerializer::textEvent const XMLCh *  chars,
unsigned int  length
[virtual]
 

Handles a text node as an event.

Implements EventHandler.

virtual void EventSerializer::textEvent const XMLCh *  value  )  [virtual]
 

Handles a text node as an event.

Implements EventHandler.

void EventSerializer::useSelfClosingElement bool  value  )  [inline]
 


The documentation for this class was generated from the following file:
Generated on Fri Sep 25 06:55:40 2009 for XQilla Simple API by  doxygen 1.3.9.1