SourceForge.net Logo

EventSerializer Class Reference

#include <EventSerializer.hpp>

Inheritance diagram for EventSerializer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 EventSerializer (char *encoding, char *xmlVersion, xercesc::XMLFormatTarget *target, xercesc::MemoryManager *mm=xercesc::XMLPlatformUtils::fgMemoryManager)
 EventSerializer (xercesc::XMLFormatTarget *target, xercesc::MemoryManager *mm=xercesc::XMLPlatformUtils::fgMemoryManager)
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)

Constructor & Destructor Documentation

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

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


Member Function Documentation

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

Handles a document node as an event.

Implements EventHandler.

virtual void EventSerializer::endDocumentEvent (  )  [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::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::piEvent ( const XMLCh *  target,
const XMLCh *  value 
) [virtual]

Handles a processing instruction node as an event.

Implements EventHandler.

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

Handles a text 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::commentEvent ( const XMLCh *  value  )  [virtual]

Handles a comment node as an event.

Implements 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::namespaceEvent ( const XMLCh *  prefix,
const XMLCh *  uri 
) [virtual]

Handles a namespace binding as an event.

Implements EventHandler.

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::endEvent (  )  [virtual]

Called when all events have been reported.

Implements EventHandler.

void EventSerializer::addNewlines ( bool  add  )  [inline]


The documentation for this class was generated from the following file:
Generated on Wed Dec 12 20:16:58 2007 for XQilla Simple API by  doxygen 1.5.1