#include <EventHandler.hpp>
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. | |
virtual void | startDocumentEvent (const XMLCh *documentURI, const XMLCh *encoding)=0 |
Handles a document node as an event. | |
virtual void | endDocumentEvent ()=0 |
Handles a document node as an event. | |
virtual void | startElementEvent (const XMLCh *prefix, const XMLCh *uri, const XMLCh *localname)=0 |
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)=0 |
Handles the end of an element node as an event. | |
virtual void | piEvent (const XMLCh *target, const XMLCh *value)=0 |
Handles a processing instruction node as an event. | |
virtual void | textEvent (const XMLCh *value)=0 |
Handles a text node as an event. | |
virtual void | textEvent (const XMLCh *chars, unsigned int length)=0 |
Handles a text node as an event. | |
virtual void | commentEvent (const XMLCh *value)=0 |
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)=0 |
Handles an attribute node as an event. | |
virtual void | namespaceEvent (const XMLCh *prefix, const XMLCh *uri)=0 |
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 ()=0 |
Called when all events have been reported. |
virtual EventHandler::~EventHandler | ( | ) | [inline, virtual] |
virtual void EventHandler::atomicItemEvent | ( | AnyAtomicType::AtomicObjectType | type, | |
const XMLCh * | value, | |||
const XMLCh * | typeURI, | |||
const XMLCh * | typeName | |||
) | [inline, virtual] |
Handles an atomic item as an event.
Reimplemented in ContentSequenceFilter, EventFilter, and EventSerializer.
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 ContentSequenceFilter, EventFilter, EventSerializer, NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.
virtual void EventHandler::commentEvent | ( | const XMLCh * | value | ) | [pure virtual] |
Handles a comment node as an event.
Implemented in ContentSequenceFilter, EventFilter, EventSerializer, QueryPathTreeFilter, and SchemaValidatorFilter.
virtual void EventHandler::endDocumentEvent | ( | ) | [pure virtual] |
Handles a document node as an event.
Implemented in ContentSequenceFilter, EventFilter, EventSerializer, NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.
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, EventSerializer, NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.
virtual void EventHandler::endEvent | ( | ) | [pure virtual] |
Called when all events have been reported.
Implemented in ContentSequenceFilter, EventFilter, and EventSerializer.
virtual void EventHandler::namespaceEvent | ( | const XMLCh * | prefix, | |
const XMLCh * | uri | |||
) | [pure virtual] |
Handles a namespace binding as an event.
Implemented in ContentSequenceFilter, EventFilter, EventSerializer, NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.
virtual void EventHandler::piEvent | ( | const XMLCh * | target, | |
const XMLCh * | value | |||
) | [pure virtual] |
Handles a processing instruction node as an event.
Implemented in ContentSequenceFilter, EventFilter, EventSerializer, QueryPathTreeFilter, and SchemaValidatorFilter.
virtual void EventHandler::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 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 ContentSequenceFilter, EventFilter, EventSerializer, NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.
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 ContentSequenceFilter, EventFilter, EventSerializer, NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.
virtual void EventHandler::textEvent | ( | const XMLCh * | chars, | |
unsigned int | length | |||
) | [pure virtual] |
Handles a text node as an event.
Implemented in ContentSequenceFilter, EventFilter, EventSerializer, QueryPathTreeFilter, and SchemaValidatorFilter.
virtual void EventHandler::textEvent | ( | const XMLCh * | value | ) | [pure virtual] |
Handles a text node as an event.
Implemented in ContentSequenceFilter, EventFilter, EventSerializer, QueryPathTreeFilter, and SchemaValidatorFilter.