Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Classes | Public Member Functions | Protected Member Functions | Friends | List of all members
XPathFactory Class Referenceabstract

#include <XPathFactory.hpp>

Inherited by XPathFactoryBlock, and XPathFactoryDefault.

Classes

struct  DeleteXPathFunctor
 A functor for use with stl algorithms. More...
 

Public Member Functions

 XPathFactory ()
 
virtual ~XPathFactory ()
 
bool returnObject (const XPath *theXPath)
 Return an XPath to the factory. More...
 
virtual void reset ()=0
 Reset the instance. More...
 
virtual XPathcreate ()=0
 Create an XPath. More...
 

Protected Member Functions

virtual bool doReturnObject (const XPath *theXPath, bool fInReset=false)=0
 

Friends

struct DeleteXPathFunctor
 

Detailed Description

Definition at line 41 of file XPathFactory.hpp.

Constructor & Destructor Documentation

◆ XPathFactory()

XPathFactory::XPathFactory ( )
explicit

◆ ~XPathFactory()

virtual XPathFactory::~XPathFactory ( )
virtual

Member Function Documentation

◆ create()

virtual XPath* XPathFactory::create ( )
pure virtual

Create an XPath.

The XPath instance is owned by the factory, and should not be deleted. The factory will manage the lifetime.

Implemented in XPathFactoryBlock, and XPathFactoryDefault.

◆ doReturnObject()

virtual bool XPathFactory::doReturnObject ( const XPath theXPath,
bool  fInReset = false 
)
protectedpure virtual

Implemented in XPathFactoryDefault, and XPathFactoryBlock.

◆ reset()

virtual void XPathFactory::reset ( )
pure virtual

Reset the instance.

This invalidates all existing instances created with this XPathFactory.

Implemented in XPathFactoryBlock, and XPathFactoryDefault.

◆ returnObject()

bool XPathFactory::returnObject ( const XPath theXPath)
inline

Return an XPath to the factory.

Parameters
theXPathThe XPath to be returned
Returns
true if the object belongs to the factory, false if not.

Definition at line 58 of file XPathFactory.hpp.

Friends And Related Function Documentation

◆ DeleteXPathFunctor

friend struct DeleteXPathFunctor
friend

Definition at line 120 of file XPathFactory.hpp.


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

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo