Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
XPathProcessorImpl Class Reference

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

#include <XPathProcessorImpl.hpp>

Inherits XPathProcessor.

Public Types

typedef XalanMap< XalanDOMString, const XalanDOMString * > StringToStringMapType
 
typedef XalanVector< bool > BoolVectorType
 
typedef XalanDOMString::size_type t_size_type
 
- Public Types inherited from XPathProcessor
typedef XERCES_CPP_NAMESPACE_QUALIFIER 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 XPathProcessor
 XPathProcessor ()
 
virtual ~XPathProcessor ()
 

Static Public Member Functions

static XPathProcessorImplcreate (MemoryManager &theManager)
 
- Static Public Member Functions inherited from 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()

XPathProcessorImpl::XPathProcessorImpl ( MemoryManager &theManager  XALAN_DEFAULT_MEMMGR)

◆ ~XPathProcessorImpl()

virtual XPathProcessorImpl::~XPathProcessorImpl ( )
virtual

Member Function Documentation

◆ create()

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

◆ initMatchPattern()

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

◆ initXPath()

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


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