SourceForge.net Logo
Public Member Functions | List of all members
EventHandler Class Referenceabstract

#include <EventHandler.hpp>

Inheritance diagram for EventHandler:
Inheritance graph
[legend]

Public Member Functions

virtual ~EventHandler ()
 
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. More...
 
virtual void startDocumentEvent (const XMLCh *documentURI, const XMLCh *encoding)=0
 Handles a document node as an event. More...
 
virtual void endDocumentEvent ()=0
 Handles a document node as an event. More...
 
virtual void startElementEvent (const XMLCh *prefix, const XMLCh *uri, const XMLCh *localname)=0
 Handles the start of an element node as an event. More...
 
virtual void endElementEvent (const XMLCh *prefix, const XMLCh *uri, const XMLCh *localname, const XMLCh *typeURI, const XMLCh *typeName)=0
 Handles the end of an element node as an event. More...
 
virtual void piEvent (const XMLCh *target, const XMLCh *value)=0
 Handles a processing instruction node as an event. More...
 
virtual void textEvent (const XMLCh *value)=0
 Handles a text node as an event. More...
 
virtual void textEvent (const XMLCh *chars, unsigned int length)=0
 Handles a text node as an event. More...
 
virtual void commentEvent (const XMLCh *value)=0
 Handles a comment node as an event. More...
 
virtual void attributeEvent (const XMLCh *prefix, const XMLCh *uri, const XMLCh *localname, const XMLCh *value, const XMLCh *typeURI, const XMLCh *typeName)=0
 Handles an attribute node as an event. More...
 
virtual void namespaceEvent (const XMLCh *prefix, const XMLCh *uri)=0
 Handles a namespace binding as an event. More...
 
virtual void atomicItemEvent (AnyAtomicType::AtomicObjectType type, const XMLCh *value, const XMLCh *typeURI, const XMLCh *typeName)
 Handles an atomic item as an event. More...
 
virtual void endEvent ()=0
 Called when all events have been reported. More...
 

Constructor & Destructor Documentation

virtual EventHandler::~EventHandler ( )
inlinevirtual

Member Function Documentation

virtual void EventHandler::atomicItemEvent ( AnyAtomicType::AtomicObjectType  type,
const XMLCh *  value,
const XMLCh *  typeURI,
const XMLCh *  typeName 
)
inlinevirtual

Handles an atomic item as an event.

Reimplemented in EventFilter, EventSerializer, and ContentSequenceFilter.

virtual void EventHandler::attributeEvent ( const XMLCh *  prefix,
const XMLCh *  uri,
const XMLCh *  localname,
const XMLCh *  value,
const XMLCh *  typeURI,
const XMLCh *  typeName 
)
pure virtual

Handles an attribute node as an event.

Implemented in EventFilter, SchemaValidatorFilter, EventSerializer, QueryPathTreeFilter, ContentSequenceFilter, and NSFixupFilter.

virtual void EventHandler::commentEvent ( const XMLCh *  value)
pure virtual

Handles a comment node as an event.

Implemented in EventFilter, SchemaValidatorFilter, EventSerializer, QueryPathTreeFilter, and ContentSequenceFilter.

virtual void EventHandler::endDocumentEvent ( )
pure virtual

Handles a document node as an event.

Implemented in EventFilter, SchemaValidatorFilter, EventSerializer, QueryPathTreeFilter, NSFixupFilter, and ContentSequenceFilter.

virtual void EventHandler::endElementEvent ( const XMLCh *  prefix,
const XMLCh *  uri,
const XMLCh *  localname,
const XMLCh *  typeURI,
const XMLCh *  typeName 
)
pure virtual

Handles the end of an element node as an event.

Implemented in EventFilter, SchemaValidatorFilter, EventSerializer, QueryPathTreeFilter, and NSFixupFilter.

virtual void EventHandler::endEvent ( )
pure virtual

Called when all events have been reported.

Implemented in EventFilter, EventSerializer, and ContentSequenceFilter.

virtual void EventHandler::namespaceEvent ( const XMLCh *  prefix,
const XMLCh *  uri 
)
pure virtual

Handles a namespace binding as an event.

Implemented in EventFilter, SchemaValidatorFilter, EventSerializer, QueryPathTreeFilter, ContentSequenceFilter, and NSFixupFilter.

virtual void EventHandler::piEvent ( const XMLCh *  target,
const XMLCh *  value 
)
pure virtual

Handles a processing instruction node as an event.

Implemented in EventFilter, SchemaValidatorFilter, EventSerializer, QueryPathTreeFilter, and ContentSequenceFilter.

virtual void EventHandler::setLocationInfo ( const LocationInfo location)
inlinevirtual

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

Reimplemented in EventFilter, and EventSerializer.

virtual void EventHandler::startDocumentEvent ( const XMLCh *  documentURI,
const XMLCh *  encoding 
)
pure virtual

Handles a document node as an event.

Implemented in EventFilter, SchemaValidatorFilter, EventSerializer, QueryPathTreeFilter, NSFixupFilter, and ContentSequenceFilter.

virtual void EventHandler::startElementEvent ( const XMLCh *  prefix,
const XMLCh *  uri,
const XMLCh *  localname 
)
pure virtual

Handles the start of an element node as an event.

Implemented in EventFilter, SchemaValidatorFilter, EventSerializer, QueryPathTreeFilter, NSFixupFilter, and ContentSequenceFilter.

virtual void EventHandler::textEvent ( const XMLCh *  value)
pure virtual

Handles a text node as an event.

Implemented in EventFilter, SchemaValidatorFilter, EventSerializer, QueryPathTreeFilter, and ContentSequenceFilter.

virtual void EventHandler::textEvent ( const XMLCh *  chars,
unsigned int  length 
)
pure virtual

Handles a text node as an event.

Implemented in EventFilter, SchemaValidatorFilter, EventSerializer, QueryPathTreeFilter, and ContentSequenceFilter.


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