SourceForge.net Logo
EventFilter Class Reference

#include <EventHandler.hpp>

Inheritance diagram for EventFilter:

Public Member Functions

 EventFilter (EventHandler *next)
void setNextEventHandler (EventHandler *next)
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.
Public Member Functions inherited from EventHandler
virtual ~EventHandler ()

Protected Attributes

EventHandlernext_

Constructor & Destructor Documentation

◆ EventFilter()

EventFilter::EventFilter ( EventHandler * next)
inline

References next_.

Member Function Documentation

◆ atomicItemEvent()

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

Handles an atomic item as an event.

Reimplemented from EventHandler.

Reimplemented in ContentSequenceFilter.

References next_.

◆ attributeEvent()

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

Handles an attribute node as an event.

Implements EventHandler.

Reimplemented in ContentSequenceFilter, NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.

References next_.

◆ commentEvent()

virtual void EventFilter::commentEvent ( const XMLCh * value)
inlinevirtual

Handles a comment node as an event.

Implements EventHandler.

Reimplemented in ContentSequenceFilter, QueryPathTreeFilter, and SchemaValidatorFilter.

References next_.

◆ endDocumentEvent()

virtual void EventFilter::endDocumentEvent ( )
inlinevirtual

Handles a document node as an event.

Implements EventHandler.

Reimplemented in ContentSequenceFilter, NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.

References next_.

◆ endElementEvent()

virtual void EventFilter::endElementEvent ( const XMLCh * prefix,
const XMLCh * uri,
const XMLCh * localname,
const XMLCh * typeURI,
const XMLCh * typeName )
inlinevirtual

Handles the end of an element node as an event.

Implements EventHandler.

Reimplemented in NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.

References next_.

◆ endEvent()

virtual void EventFilter::endEvent ( )
inlinevirtual

Called when all events have been reported.

Implements EventHandler.

Reimplemented in ContentSequenceFilter.

References next_.

◆ namespaceEvent()

virtual void EventFilter::namespaceEvent ( const XMLCh * prefix,
const XMLCh * uri )
inlinevirtual

Handles a namespace binding as an event.

Implements EventHandler.

Reimplemented in ContentSequenceFilter, NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.

References next_.

◆ piEvent()

virtual void EventFilter::piEvent ( const XMLCh * target,
const XMLCh * value )
inlinevirtual

Handles a processing instruction node as an event.

Implements EventHandler.

Reimplemented in ContentSequenceFilter, QueryPathTreeFilter, and SchemaValidatorFilter.

References next_.

◆ setLocationInfo()

virtual void EventFilter::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 from EventHandler.

References next_.

◆ setNextEventHandler()

void EventFilter::setNextEventHandler ( EventHandler * next)
inline

References next_.

◆ startDocumentEvent()

virtual void EventFilter::startDocumentEvent ( const XMLCh * documentURI,
const XMLCh * encoding )
inlinevirtual

Handles a document node as an event.

Implements EventHandler.

Reimplemented in ContentSequenceFilter, NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.

References next_.

◆ startElementEvent()

virtual void EventFilter::startElementEvent ( const XMLCh * prefix,
const XMLCh * uri,
const XMLCh * localname )
inlinevirtual

Handles the start of an element node as an event.

Implements EventHandler.

Reimplemented in ContentSequenceFilter, NSFixupFilter, QueryPathTreeFilter, and SchemaValidatorFilter.

References next_.

◆ textEvent() [1/2]

virtual void EventFilter::textEvent ( const XMLCh * chars,
unsigned int length )
inlinevirtual

Handles a text node as an event.

Implements EventHandler.

Reimplemented in ContentSequenceFilter, QueryPathTreeFilter, and SchemaValidatorFilter.

References next_.

◆ textEvent() [2/2]

virtual void EventFilter::textEvent ( const XMLCh * value)
inlinevirtual

Handles a text node as an event.

Implements EventHandler.

Reimplemented in ContentSequenceFilter, QueryPathTreeFilter, and SchemaValidatorFilter.

References next_.

Member Data Documentation

◆ next_


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