SourceForge.net Logo
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
QueryPathTreeFilter Class Reference

#include <QueryPathTreeFilter.hpp>

Inheritance diagram for QueryPathTreeFilter:
Inheritance graph
[legend]

Classes

struct  StackEntry
 

Public Member Functions

 QueryPathTreeFilter (const QueryPathNode *qpn, EventHandler *next)
 
 QueryPathTreeFilter (const QPNVector &qpns, EventHandler *next)
 
virtual ~QueryPathTreeFilter ()
 
virtual void startDocumentEvent (const XMLCh *documentURI, const XMLCh *encoding)
 Handles a document node as an event. More...
 
virtual void endDocumentEvent ()
 Handles a document node as an event. More...
 
virtual void startElementEvent (const XMLCh *prefix, const XMLCh *uri, const XMLCh *localname)
 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)
 Handles the end of an element node as an event. More...
 
virtual void piEvent (const XMLCh *target, const XMLCh *value)
 Handles a processing instruction node as an event. More...
 
virtual void textEvent (const XMLCh *value)
 Handles a text node as an event. More...
 
virtual void textEvent (const XMLCh *chars, unsigned int length)
 Handles a text node as an event. More...
 
virtual void commentEvent (const XMLCh *value)
 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)
 Handles an attribute node as an event. More...
 
virtual void namespaceEvent (const XMLCh *prefix, const XMLCh *uri)
 Handles a namespace binding as an event. More...
 
- Public Member Functions inherited from EventFilter
 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. 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 ()
 Called when all events have been reported. More...
 
- Public Member Functions inherited from EventHandler
virtual ~EventHandler ()
 

Protected Types

typedef std::vector< StackEntry * > FilterStack
 

Protected Member Functions

void checkAncestors (FilterStack::reverse_iterator s)
 

Protected Attributes

FilterStack stack_
 
- Protected Attributes inherited from EventFilter
EventHandlernext_
 

Member Typedef Documentation

◆ FilterStack

typedef std::vector<StackEntry*> QueryPathTreeFilter::FilterStack
protected

Constructor & Destructor Documentation

◆ QueryPathTreeFilter() [1/2]

QueryPathTreeFilter::QueryPathTreeFilter ( const QueryPathNode *  qpn,
EventHandler next 
)

◆ QueryPathTreeFilter() [2/2]

QueryPathTreeFilter::QueryPathTreeFilter ( const QPNVector qpns,
EventHandler next 
)

◆ ~QueryPathTreeFilter()

virtual QueryPathTreeFilter::~QueryPathTreeFilter ( )
virtual

Member Function Documentation

◆ attributeEvent()

virtual void QueryPathTreeFilter::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.

Reimplemented from EventFilter.

◆ checkAncestors()

void QueryPathTreeFilter::checkAncestors ( FilterStack::reverse_iterator  s)
protected

◆ commentEvent()

virtual void QueryPathTreeFilter::commentEvent ( const XMLCh *  value)
virtual

Handles a comment node as an event.

Reimplemented from EventFilter.

◆ endDocumentEvent()

virtual void QueryPathTreeFilter::endDocumentEvent ( )
virtual

Handles a document node as an event.

Reimplemented from EventFilter.

◆ endElementEvent()

virtual void QueryPathTreeFilter::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.

Reimplemented from EventFilter.

◆ namespaceEvent()

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

Handles a namespace binding as an event.

Reimplemented from EventFilter.

◆ piEvent()

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

Handles a processing instruction node as an event.

Reimplemented from EventFilter.

◆ startDocumentEvent()

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

Handles a document node as an event.

Reimplemented from EventFilter.

◆ startElementEvent()

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

Handles the start of an element node as an event.

Reimplemented from EventFilter.

◆ textEvent() [1/2]

virtual void QueryPathTreeFilter::textEvent ( const XMLCh *  value)
virtual

Handles a text node as an event.

Reimplemented from EventFilter.

◆ textEvent() [2/2]

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

Handles a text node as an event.

Reimplemented from EventFilter.

Member Data Documentation

◆ stack_

FilterStack QueryPathTreeFilter::stack_
protected

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