Xalan-C++ API Reference  1.12.0
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
xalanc::XPathProcessorImpl Class Reference

The XPathProcessorImpl class responsibilities include tokenizing and parsing the XPath expression, and acting as a general interface to XPaths. More...

#include <xalanc/XPath/XPathProcessorImpl.hpp>

Inheritance diagram for xalanc::XPathProcessorImpl:
[legend]
Collaboration diagram for xalanc::XPathProcessorImpl:
[legend]

Public Types

typedef XalanMap< XalanDOMString, const XalanDOMString * > StringToStringMapType
 
typedef XalanVector< bool > BoolVectorType
 
typedef XalanDOMString::size_type t_size_type
 
- Public Types inherited from xalanc::XPathProcessor
typedef xercesc::Locator LocatorType
 

Public Member Functions

 XPathProcessorImpl (MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
 
virtual ~XPathProcessorImpl ()
 
virtual void initXPath (XPath &pathObj, XPathConstructionContext &constructionContext, const XalanDOMString &expression, const PrefixResolver &resolver, const Locator *locator=0, bool allowVariableReferences=true, bool allowKeyFunction=true)
 Given a string, make an XPath object, in order that a parse doesn't have to be done each time the expression is executed. More...
 
virtual void initMatchPattern (XPath &pathObj, XPathConstructionContext &constructionContext, const XalanDOMString &expression, const PrefixResolver &resolver, const Locator *locator=0, bool allowVariableReferences=true, bool allowKeyFunction=true)
 Given a string, create an XSLT Match Pattern object. More...
 
- Public Member Functions inherited from xalanc::XPathProcessor
 XPathProcessor ()
 
virtual ~XPathProcessor ()
 

Static Public Member Functions

static XPathProcessorImplcreate (MemoryManager &theManager)
 
- Static Public Member Functions inherited from xalanc::XPathProcessor
static void installFunction (const XalanDOMString &theFunctionName, const Function &theFunction)
 Given a string, and a reference to a function object, install the function with the given name. More...
 

Detailed Description

The XPathProcessorImpl class responsibilities include tokenizing and parsing the XPath expression, and acting as a general interface to XPaths.

Definition at line 66 of file XPathProcessorImpl.hpp.

Member Typedef Documentation

◆ BoolVectorType

Definition at line 73 of file XPathProcessorImpl.hpp.

◆ StringToStringMapType

Definition at line 71 of file XPathProcessorImpl.hpp.

◆ t_size_type

Definition at line 75 of file XPathProcessorImpl.hpp.

Constructor & Destructor Documentation

◆ XPathProcessorImpl()

xalanc::XPathProcessorImpl::XPathProcessorImpl ( MemoryManager &theManager  XALAN_DEFAULT_MEMMGR)

◆ ~XPathProcessorImpl()

virtual xalanc::XPathProcessorImpl::~XPathProcessorImpl ( )
virtual

Member Function Documentation

◆ create()

static XPathProcessorImpl* xalanc::XPathProcessorImpl::create ( MemoryManager &  theManager)
static

◆ initMatchPattern()

virtual void xalanc::XPathProcessorImpl::initMatchPattern ( XPath pathObj,
XPathConstructionContext constructionContext,
const XalanDOMString expression,
const PrefixResolver resolver,
const Locator *  locator = 0,
bool  allowVariableReferences = true,
bool  allowKeyFunction = true 
)
virtual

Given a string, create an XSLT Match Pattern object.

Parameters
pathObjXPath object to be initialized
constructionContextThe construction context
expressionexpression that will be evaluated
resolverprefix resolver to use
locatorthe Locator to use for error report. May be null
allowVariableReferencesIf true, variable references are allowed.
allowKeyFunctionIf true, calls to the key() function are allowed.

Implements xalanc::XPathProcessor.

◆ initXPath()

virtual void xalanc::XPathProcessorImpl::initXPath ( XPath pathObj,
XPathConstructionContext constructionContext,
const XalanDOMString expression,
const PrefixResolver resolver,
const Locator *  locator = 0,
bool  allowVariableReferences = true,
bool  allowKeyFunction = true 
)
virtual

Given a string, make an XPath object, in order that a parse doesn't have to be done each time the expression is executed.

Parameters
pathObjXPath object to be initialized
constructionContextThe construction context
expressionexpression that will be evaluated
resolverprefix resolver to use
locatorthe Locator to use for error report. May be null
allowVariableReferencesIf true, variable references are allowed.
allowKeyFunctionIf true, calls to the key() function are allowed.

Implements xalanc::XPathProcessor.


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