Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Static Public Member Functions | List of all members
XPathProcessor Class Referenceabstract

#include <XPathProcessor.hpp>

Inherited by XPathProcessorImpl.

Public Types

typedef XERCES_CPP_NAMESPACE_QUALIFIER Locator LocatorType
 

Public Member Functions

 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...
 

Static Public Member Functions

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

Definition at line 53 of file XPathProcessor.hpp.

Member Typedef Documentation

◆ LocatorType

typedef XERCES_CPP_NAMESPACE_QUALIFIER Locator XPathProcessor::LocatorType

Definition at line 57 of file XPathProcessor.hpp.

Constructor & Destructor Documentation

◆ XPathProcessor()

XPathProcessor::XPathProcessor ( )
explicit

◆ ~XPathProcessor()

virtual XPathProcessor::~XPathProcessor ( )
virtual

Member Function Documentation

◆ initMatchPattern()

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

Implemented in XPathProcessorImpl.

◆ initXPath()

virtual void XPathProcessor::initXPath ( 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, 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.

Implemented in XPathProcessorImpl.

◆ installFunction()

static void 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
theFunctionNamename of function
theFunctionfunction object corresponding to name

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