#include <xalanc/XPath/XPathProcessor.hpp>
|
| XPathProcessor () |
|
virtual | ~XPathProcessor () |
|
virtual void | initXPath (XPath &pathObj, XPathConstructionContext &constructionContext, const XalanDOMString &expression, const PrefixResolver &resolver, const Locator *locator=0, bool allowVariableReferences=true, bool allowKeyFunction=true)=0 |
| 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)=0 |
| Given a string, create an XSLT Match Pattern object. More...
|
|
Definition at line 56 of file XPathProcessor.hpp.
◆ LocatorType
◆ XPathProcessor()
xalanc::XPathProcessor::XPathProcessor |
( |
| ) |
|
|
explicit |
◆ ~XPathProcessor()
virtual xalanc::XPathProcessor::~XPathProcessor |
( |
| ) |
|
|
virtual |
◆ initMatchPattern()
virtual void xalanc::XPathProcessor::initMatchPattern |
( |
XPath & |
pathObj, |
|
|
XPathConstructionContext & |
constructionContext, |
|
|
const XalanDOMString & |
expression, |
|
|
const PrefixResolver & |
resolver, |
|
|
const Locator * |
locator = 0 , |
|
|
bool |
allowVariableReferences = true , |
|
|
bool |
allowKeyFunction = true |
|
) |
| |
|
pure virtual |
Given a string, create an XSLT Match Pattern object.
- Parameters
-
pathObj | XPath object to be initialized |
constructionContext | The construction context |
expression | expression that will be evaluated |
resolver | prefix resolver to use |
locator | the Locator to use for error report. May be null |
allowVariableReferences | If true, variable references are allowed. |
allowKeyFunction | If true, calls to the key() function are allowed. |
Implemented in xalanc::XPathProcessorImpl.
◆ initXPath()
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
-
pathObj | XPath object to be initialized |
constructionContext | The construction context |
expression | expression that will be evaluated |
resolver | prefix resolver to use |
locator | the Locator to use for error report. May be null |
allowVariableReferences | If true, variable references are allowed. |
allowKeyFunction | If true, calls to the key() function are allowed. |
Implemented in xalanc::XPathProcessorImpl.
◆ installFunction()
static void xalanc::XPathProcessor::installFunction |
( |
const XalanDOMString & |
theFunctionName, |
|
|
const Function & |
theFunction |
|
) |
| |
|
static |
Given a string, and a reference to a function object, install the function with the given name.
- Parameters
-
theFunctionName | name of function |
theFunction | function object corresponding to name |
The documentation for this class was generated from the following file: