Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XPath/XPath.hpp>
Classes | |
class | NodeTester |
class | TargetData |
Public Types | |
enum | eMatchScore { eMatchScoreNone , eMatchScoreNodeTest , eMatchScoreNSWild , eMatchScoreQName , eMatchScoreOther } |
typedef xercesc::Locator | LocatorType |
typedef XPathExpression::OpCodeMapPositionType | OpCodeMapPositionType |
typedef XPathExpression::OpCodeMapValueType | OpCodeMapValueType |
typedef XPathExpression::TokenQueuePositionType | TokenQueuePositionType |
typedef XPathExecutionContext::GetCachedString | GetCachedString |
typedef XPathExecutionContext::PrefixResolverSetAndRestore | PrefixResolverSetAndRestore |
typedef XPathExecutionContext::CurrentNodePushAndPop | CurrentNodePushAndPop |
typedef XalanVector< TargetData > | TargetDataVectorType |
typedef void(FormatterListener::* | MemberFunctionPtr) (const XMLCh *const, const FormatterListener::size_type) |
typedef XPathFunctionTable | FunctionTableType |
Public Member Functions | |
XPath (MemoryManager &theManager, const Locator *theLocator=0) | |
Construct an XPath. | |
MemoryManager & | getMemoryManager () |
~XPath () | |
void | shrink () |
Shrink internal tables. | |
const XObjectPtr | execute (XalanNode *context, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext) const |
Execute the XPath from the provided context. | |
void | execute (XalanNode *context, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext, bool &result) const |
Execute the XPath from the provided context. | |
void | execute (XalanNode *context, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext, double &result) const |
Execute the XPath from the provided context. | |
void | execute (XalanNode *context, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext, XalanDOMString &result) const |
Execute the XPath from the provided context. | |
void | execute (XalanNode *context, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Execute the XPath from the provided context. | |
const XObjectPtr | execute (XalanNode *context, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext, MutableNodeRefList &result) const |
Execute the XPath from the provided context. | |
const XObjectPtr | execute (XalanNode *context, const PrefixResolver &prefixResolver, const NodeRefListBase &contextNodeList, XPathExecutionContext &executionContext) const |
Execute the XPath from the provided context. | |
void | execute (XalanNode *context, const PrefixResolver &prefixResolver, const NodeRefListBase &contextNodeList, XPathExecutionContext &executionContext, bool &result) const |
Execute the XPath from the provided context. | |
void | execute (XalanNode *context, const PrefixResolver &prefixResolver, const NodeRefListBase &contextNodeList, XPathExecutionContext &executionContext, double &result) const |
Execute the XPath from the provided context. | |
void | execute (XalanNode *context, const PrefixResolver &prefixResolver, const NodeRefListBase &contextNodeList, XPathExecutionContext &executionContext, XalanDOMString &result) const |
Execute the XPath from the provided context. | |
void | execute (XalanNode *context, const PrefixResolver &prefixResolver, const NodeRefListBase &contextNodeList, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Execute the XPath from the provided context. | |
const XObjectPtr | execute (XalanNode *context, const PrefixResolver &prefixResolver, const NodeRefListBase &contextNodeList, XPathExecutionContext &executionContext, MutableNodeRefList &result) const |
Execute the XPath from the provided context. | |
const XObjectPtr | execute (XPathExecutionContext &executionContext) const |
Execute the XPath from the provided context. | |
void | execute (XPathExecutionContext &executionContext, bool &result) const |
Execute the XPath from the provided context. | |
void | execute (XPathExecutionContext &executionContext, double &result) const |
Execute the XPath from the provided context. | |
void | execute (XPathExecutionContext &executionContext, XalanDOMString &result) const |
Execute the XPath from the provided context. | |
void | execute (XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Execute the XPath from the provided context. | |
const XObjectPtr | execute (XPathExecutionContext &executionContext, MutableNodeRefList &result) const |
Execute the XPath from the provided context. | |
const XObjectPtr | execute (const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext) const |
Execute the XPath from the provided context. | |
void | execute (const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext, bool &result) const |
Execute the XPath from the provided context. | |
void | execute (const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext, double &result) const |
Execute the XPath from the provided context. | |
void | execute (const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext, XalanDOMString &result) const |
Execute the XPath from the provided context. | |
void | execute (const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Execute the XPath from the provided context. | |
XObjectPtr | execute (const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext, MutableNodeRefList &result) const |
Execute the XPath from the provided context. | |
XPathExpression & | getExpression () |
Retrieve a reference to the current expression. | |
const XPathExpression & | getExpression () const |
Retrieve a reference to the current expression. | |
eMatchScore | getMatchScore (XalanNode *node, XPathExecutionContext &executionContext) const |
Get the match score for the specified node. | |
eMatchScore | getMatchScore (XalanNode *node, const PrefixResolver &resolver, XPathExecutionContext &executionContext) const |
Get the match score for the specified node. | |
const XObjectPtr | predicate (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Evaluate a predicate. | |
void | getTargetData (TargetDataVectorType &targetData) const |
Add the data for the target of match pattern to a vector. | |
bool | getInStylesheet () const |
void | setInStylesheet (bool fValue) |
const Locator * | getLocator () const |
void | setLocator (const Locator *theLocator) |
Static Public Member Functions | |
static void | initialize (MemoryManager &theManager) |
Perform static initialization. | |
static void | terminate () |
Perform static shut down. | |
static XPath * | create (MemoryManager &theManager, const Locator *theLocator=0) |
static double | getMatchScoreValue (eMatchScore score) |
static void | installFunction (const XalanDOMString &funcName, const Function &func) |
Install a built-in function. | |
static void | installFunction (const XalanDOMChar *funcName, const Function &func) |
Install a built-in function. | |
static bool | uninstallFunction (const XalanDOMString &funcName) |
Remove a named function from the function table. | |
static bool | uninstallFunction (const XalanDOMChar *funcName) |
Remove a named function from the function table. | |
static bool | isInstalledFunction (const XalanDOMString &theFunctionName) |
Whether the named function is installed in the function table. | |
static const FunctionTableType & | getFunctionTable () |
Retrieve the table of installed functions. | |
template<class OutputIteratorType> | |
static void | getInstalledFunctionNames (OutputIteratorType theIterator) |
Add the names for the installed functions to a vector strings. | |
static void | destroyTable () |
Static Public Attributes | |
static const XalanDOMChar | PSEUDONAME_ANY [] |
static const XalanDOMChar | PSEUDONAME_ROOT [] |
static const XalanDOMChar | PSEUDONAME_TEXT [] |
static const XalanDOMChar | PSEUDONAME_COMMENT [] |
static const XalanDOMChar | PSEUDONAME_PI [] |
static const XalanDOMChar | PSEUDONAME_OTHER [] |
static const XalanDOMChar | PSEUDONAME_NODE [] |
Protected Member Functions | |
const XObjectPtr | locationPath (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Execute a location path. | |
void | locationPath (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, bool &theResult) const |
Execute a location path. | |
void | locationPath (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, double &theResult) const |
Execute a location path. | |
void | locationPath (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, XalanDOMString &theResult) const |
Execute a location path. | |
void | locationPath (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Execute a location path. | |
void | locationPath (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, MutableNodeRefList &theResult) const |
Execute a location path. | |
const XObjectPtr | executeMore (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Execute the XPath from the provided context. | |
void | executeMore (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, bool &theResult) const |
Execute the XPath from the provided context. | |
void | executeMore (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, double &theResult) const |
Execute the XPath from the provided context. | |
void | executeMore (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, XalanDOMString &theResult) const |
Execute the XPath from the provided context. | |
void | executeMore (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Execute the XPath from the provided context. | |
const XObjectPtr | executeMore (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, MutableNodeRefList &theResult) const |
Execute the XPath from the provided context. | |
void | doGetMatchScore (XalanNode *context, XPathExecutionContext &executionContext, eMatchScore &score) const |
Helper function to get match score. | |
bool | Or (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
OR two expressions and return the boolean result. | |
bool | And (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
OR two expressions and return the boolean result. | |
bool | notequals (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Tell if two expressions are functionally not equal. | |
bool | equals (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Tell if two expressions are functionally equal. | |
bool | lte (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Tell if one argument is less than or equal to the other argument. | |
bool | lt (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Tell if one argument is less than the other argument. | |
bool | gte (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Tell if one argument is greater than or equal to the other argument. | |
bool | gt (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Tell if one argument is greater than the other argument. | |
double | plus (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Give the sum of two arguments. | |
void | plus (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Give the sum of two arguments. | |
double | minus (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Give the difference of two arguments. | |
void | minus (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Give the difference of two arguments. | |
double | mult (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Multiply two arguments. | |
void | mult (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Multiply two arguments. | |
double | div (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Divide a number. | |
void | div (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Divide a number. | |
double | mod (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Return the remainder from a truncating division. | |
void | mod (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Return the remainder from a truncating division. | |
double | neg (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Return the negation of a number. | |
void | neg (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Return the negation of a number. | |
const XObjectPtr | Union (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Computes the union of its operands which must be node-sets. | |
void | Union (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, bool &result) const |
Computes the union of its operands which must be node-sets. | |
void | Union (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, double &result) const |
Computes the union of its operands which must be node-sets. | |
void | Union (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, XalanDOMString &result) const |
Computes the union of its operands which must be node-sets. | |
void | Union (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Computes the union of its operands which must be node-sets. | |
void | Union (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, MutableNodeRefList &result) const |
Computes the union of its operands which must be node-sets. | |
const XObjectPtr | literal (OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Get a literal value. | |
void | literal (OpCodeMapPositionType opPos, bool &theResult) const |
Get a literal value as a boolean. | |
void | literal (OpCodeMapPositionType opPos, double &theResult) const |
Get a literal value as a number. | |
void | literal (OpCodeMapPositionType opPos, XalanDOMString &theResult) const |
Get a literal value. | |
void | literal (OpCodeMapPositionType opPos, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Get a literal value. | |
const XObjectPtr | variable (OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Get the value of a variable. | |
const XObjectPtr | group (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Execute an expression as a group. | |
void | group (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, bool &theResult) const |
Execute an expression as a group. | |
void | group (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, double &theResult) const |
Execute an expression as a group. | |
void | group (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, XalanDOMString &theResult) const |
Execute an expression as a group. | |
void | group (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Execute an expression as a group. | |
void | group (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext, MutableNodeRefList &theResult) const |
Execute an expression as a group. | |
double | numberlit (OpCodeMapPositionType opPos) const |
Get a literal value. | |
const XObjectPtr | numberlit (OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Get a literal value. | |
void | numberlit (OpCodeMapPositionType opPos, bool &theResult) const |
Get a literal value as a boolean. | |
void | numberlit (OpCodeMapPositionType opPos, XalanDOMString &theResult) const |
Get a literal value. | |
void | numberlit (OpCodeMapPositionType opPos, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Get a literal value. | |
const XObjectPtr | runExtFunction (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Setup for and run an extension function. | |
const XObjectPtr | extfunction (XalanNode *context, OpCodeMapPositionType, const XalanDOMString &theNamespace, const XalanDOMString &functionName, const Function::XObjectArgVectorType &argVec, XPathExecutionContext &executionContext) const |
Handle an extension function. | |
const XObjectPtr | runFunction (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Setup for and run a function. | |
const XObjectPtr | function (XalanNode *context, OpCodeMapValueType funcID, const Function::XObjectArgVectorType &argVec, XPathExecutionContext &executionContext) const |
Handle a built-in function. | |
double | functionPosition (XalanNode *context, XPathExecutionContext &executionContext) const |
Handle the built-in function "position". | |
double | functionLast (XPathExecutionContext &executionContext) const |
Handle the built-in function "last". | |
double | functionCount (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Handle the built-in function "count". | |
bool | functionNot (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Handle the built-in function "not". | |
bool | functionBoolean (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Handle the built-in function "boolean". | |
const XalanDOMString & | functionName (XalanNode *context) const |
Handle the built-in function "name". | |
const XalanDOMString & | functionName (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Handle the built-in function "name". | |
const XalanDOMString & | functionLocalName (XalanNode *context) const |
Handle the built-in function "local-name". | |
const XalanDOMString & | functionLocalName (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Handle the built-in function "local-name". | |
double | functionNumber (XalanNode *context, XPathExecutionContext &executionContext) const |
Handle the built-in function "number". | |
double | functionNumber (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Handle the built-in function "number". | |
double | functionFloor (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Handle the built-in function "floor". | |
double | functionCeiling (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Handle the built-in function "ceiling". | |
double | functionRound (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Handle the built-in function "round". | |
double | functionStringLength (XalanNode *context, XPathExecutionContext &executionContext) const |
Handle the built-in function "string-length". | |
double | functionStringLength (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Handle the built-in function "string-length". | |
double | functionSum (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Handle the built-in function "sum". | |
double | getNumericOperand (XalanNode *context, OpCodeMapPositionType opPos, XPathExecutionContext &executionContext) const |
Get a numeric operand for an expression. | |
void | step (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, MutableNodeRefList &queryResults) const |
Execute a step in a location path. | |
eMatchScore | doStepPredicate (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapPositionType startOpPos, eMatchScore score) const |
Potentially evaluate a predicate in a match pattern step. | |
XalanNode * | stepPattern (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, eMatchScore &scoreHolder) const |
Execute a step in a match pattern's location path. | |
OpCodeMapPositionType | findNodeSet (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findRoot (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findParent (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findSelf (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findAncestors (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findAncestorsOrSelf (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findAttributes (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findChildren (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findDescendants (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findFollowing (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findFollowingSiblings (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findPreceeding (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findPreceedingSiblings (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findNamespace (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | findNodesOnUnknownAxis (XPathExecutionContext &executionContext, XalanNode *context, OpCodeMapPositionType opPos, OpCodeMapValueType stepType, MutableNodeRefList &subQueryResults) const |
OpCodeMapPositionType | predicates (XPathExecutionContext &executionContext, OpCodeMapPositionType opPos, MutableNodeRefList &subQueryResults) const |
eMatchScore | handleFoundIndex (XPathExecutionContext &executionContext, XalanNode *localContext, OpCodeMapPositionType startOpPos) const |
eMatchScore | handleFoundIndexPositional (XPathExecutionContext &executionContext, XalanNode *localContext, OpCodeMapPositionType startOpPos) const |
Friends | |
class | NodeTester |
typedef xercesc::Locator xalanc::XPath::LocatorType |
typedef void(FormatterListener::* xalanc::XPath::MemberFunctionPtr) (const XMLCh *const, const FormatterListener::size_type) |
|
explicit |
Construct an XPath.
theLocator | The applicable Locator, if any. |
References XPath().
Referenced by getNumericOperand(), xalanc::XPath::NodeTester::NodeTester(), and XPath().
xalanc::XPath::~XPath | ( | ) |
|
protected |
OR two expressions and return the boolean result.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
static |
|
protected |
Divide a number.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Divide a number.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
References function().
|
protected |
Helper function to get match score.
context | The current source tree context node. |
executionContext | The current execution context |
score | The match score |
|
protected |
Potentially evaluate a predicate in a match pattern step.
executionContext | The current execution context. |
context | The current source tree context node. |
opPos | The current position in the Op Map. |
startOpPos | The original position for the step in the Op Map. |
score | The current match score for the context node. |
|
protected |
Tell if two expressions are functionally equal.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
inline |
Execute the XPath from the provided context.
The current node must already be set execution context, and must not be 0.
executionContext | current execution context |
prefixResolver | prefix resolver to use |
Definition at line 629 of file XPath.hpp.
References executeMore(), and xalanc::XPathExecutionContext::getCurrentNode().
|
inline |
Execute the XPath from the provided context.
The current node must already be set execution context, and must not be 0.
executionContext | current execution context |
prefixResolver | prefix resolver to use |
result | the boolean result |
Definition at line 657 of file XPath.hpp.
References executeMore(), and xalanc::XPathExecutionContext::getCurrentNode().
|
inline |
Execute the XPath from the provided context.
The current node must already be set execution context, and must not be 0.
executionContext | current execution context |
prefixResolver | prefix resolver to use |
result | the numeric result |
Definition at line 687 of file XPath.hpp.
References executeMore(), and xalanc::XPathExecutionContext::getCurrentNode().
|
inline |
Execute the XPath from the provided context.
prefixResolver | prefix resolver to use |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
Definition at line 746 of file XPath.hpp.
References executeMore(), function(), and xalanc::XPathExecutionContext::getCurrentNode().
|
inline |
Execute the XPath from the provided context.
Normally, the expression will be evaluated and the result placed in the parameter result. However, some cases (such as the evalution of a variable) could result in the copying of a node-set, which is extremely expensive. In that case, the return value will contain the result of the evaluation. If the call to XObject::null() on the return value is true, that indicates the value was executed directly into the parameter. Otherwise, the parameter will be empty, and the result will be in the XObject instance returned.
The current node must already be set execution context, and must not be 0.
executionContext | current execution context |
prefixResolver | prefix resolver to use |
result | A node list for the result. This may or may not contain the actual result. |
Definition at line 789 of file XPath.hpp.
References executeMore(), and xalanc::XPathExecutionContext::getCurrentNode().
|
inline |
Execute the XPath from the provided context.
The result is appended to the supplied string.
The current node must already be set execution context, and must not be 0.
executionContext | current execution context |
prefixResolver | prefix resolver to use |
result | the string result |
Definition at line 718 of file XPath.hpp.
References executeMore(), and xalanc::XPathExecutionContext::getCurrentNode().
|
inline |
Execute the XPath from the provided context.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
contextNodeList | node list for current context |
executionContext | current execution context |
Definition at line 309 of file XPath.hpp.
References execute().
|
inline |
Execute the XPath from the provided context.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
contextNodeList | node list for current context |
executionContext | current execution context |
result | the boolean result |
Definition at line 333 of file XPath.hpp.
References execute().
|
inline |
Execute the XPath from the provided context.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
contextNodeList | node list for current context |
executionContext | current execution context |
result | the numeric result |
Definition at line 358 of file XPath.hpp.
References execute().
|
inline |
Execute the XPath from the provided context.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
contextNodeList | node list for current context |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
Definition at line 410 of file XPath.hpp.
References execute(), and function().
|
inline |
Execute the XPath from the provided context.
Normally, the expression will be evaluated and the result placed in the parameter result. However, some cases (such as the evalution of a variable) could result in the copying of a node-set, which is extremely expensive. In that case, the return value will contain the result of the evaluation. If the call to XObject::null() on the return value is true, that indicates the value was executed directly into the parameter. Otherwise, the parameter will be empty, and the result will be in the XObject instance returned.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
contextNodeList | node list for current context |
executionContext | current execution context |
result | the result as a set of nodes |
Definition at line 447 of file XPath.hpp.
References execute().
|
inline |
Execute the XPath from the provided context.
The result is appended to the supplied string.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
contextNodeList | node list for current context |
executionContext | current execution context |
result | the string result |
Definition at line 384 of file XPath.hpp.
References execute().
const XObjectPtr xalanc::XPath::execute | ( | XalanNode * | context, |
const PrefixResolver & | prefixResolver, | ||
XPathExecutionContext & | executionContext ) const |
Execute the XPath from the provided context.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
executionContext | current execution context |
Referenced by execute(), execute(), execute(), execute(), execute(), and execute().
void xalanc::XPath::execute | ( | XalanNode * | context, |
const PrefixResolver & | prefixResolver, | ||
XPathExecutionContext & | executionContext, | ||
bool & | result ) const |
Execute the XPath from the provided context.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
executionContext | current execution context |
result | the boolean result |
void xalanc::XPath::execute | ( | XalanNode * | context, |
const PrefixResolver & | prefixResolver, | ||
XPathExecutionContext & | executionContext, | ||
double & | result ) const |
Execute the XPath from the provided context.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
executionContext | current execution context |
result | the numeric result |
void xalanc::XPath::execute | ( | XalanNode * | context, |
const PrefixResolver & | prefixResolver, | ||
XPathExecutionContext & | executionContext, | ||
FormatterListener & | formatterListener, | ||
MemberFunctionPtr | function ) const |
Execute the XPath from the provided context.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
References function().
const XObjectPtr xalanc::XPath::execute | ( | XalanNode * | context, |
const PrefixResolver & | prefixResolver, | ||
XPathExecutionContext & | executionContext, | ||
MutableNodeRefList & | result ) const |
Execute the XPath from the provided context.
Normally, the expression will be evaluated and the result placed in the parameter result. However, some cases (such as the evalution of a variable) could result in the copying of a node-set, which is extremely expensive. In that case, the return value will contain the result of the evaluation. If the call to XObject::null() on the return value is true, that indicates the value was executed directly into the parameter. Otherwise, the parameter will be empty, and the result will be in the XObject instance returned.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
executionContext | current execution context |
result | the node-set result |
void xalanc::XPath::execute | ( | XalanNode * | context, |
const PrefixResolver & | prefixResolver, | ||
XPathExecutionContext & | executionContext, | ||
XalanDOMString & | result ) const |
Execute the XPath from the provided context.
The result is appended to the supplied string.
context | current source tree context node, which must not be 0 |
prefixResolver | prefix resolver to use |
executionContext | current execution context |
result | the string result |
|
inline |
Execute the XPath from the provided context.
The prefix resolver and current node must already be set execution context, and must not be 0.
executionContext | current execution context |
Definition at line 472 of file XPath.hpp.
References executeMore(), xalanc::XPathExecutionContext::getCurrentNode(), and xalanc::XPathExecutionContext::getPrefixResolver().
|
inline |
Execute the XPath from the provided context.
The prefix resolver and current node must already be set execution context, and must not be 0.
executionContext | current execution context |
result | the boolean result |
Definition at line 493 of file XPath.hpp.
References executeMore(), xalanc::XPathExecutionContext::getCurrentNode(), and xalanc::XPathExecutionContext::getPrefixResolver().
|
inline |
Execute the XPath from the provided context.
The prefix resolver must already be set in the execution context.
executionContext | current execution context |
result | the numeric result |
Definition at line 517 of file XPath.hpp.
References executeMore(), xalanc::XPathExecutionContext::getCurrentNode(), and xalanc::XPathExecutionContext::getPrefixResolver().
|
inline |
Execute the XPath from the provided context.
The prefix resolver and current node must already be set execution context, and must not be 0.
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
Definition at line 567 of file XPath.hpp.
References executeMore(), function(), xalanc::XPathExecutionContext::getCurrentNode(), and xalanc::XPathExecutionContext::getPrefixResolver().
|
inline |
Execute the XPath from the provided context.
Normally, the expression will be evaluated and the result placed in the parameter result. However, some cases (such as the evalution of a variable) could result in the copying of a node-set, which is extremely expensive. In that case, the return value will contain the result of the evaluation. If the call to XObject::null() on the return value is true, that indicates the value was executed directly into the parameter. Otherwise, the parameter will be empty, and the result will be in the XObject instance returned.
The prefix resolver and current node must already be set execution context, and must not be 0.
executionContext | current execution context |
result | A node list for the result. This may or may not contain the actual result. |
Definition at line 604 of file XPath.hpp.
References executeMore(), xalanc::XPathExecutionContext::getCurrentNode(), and xalanc::XPathExecutionContext::getPrefixResolver().
|
inline |
Execute the XPath from the provided context.
The result is appended to the supplied string.
The prefix resolver and current node must already be set execution context, and must not be 0.
executionContext | current execution context |
result | the string result |
Definition at line 542 of file XPath.hpp.
References executeMore(), xalanc::XPathExecutionContext::getCurrentNode(), and xalanc::XPathExecutionContext::getPrefixResolver().
|
protected |
Execute the XPath from the provided context.
context | current source tree context node |
opPos | current position in the Op Map |
executionContext | current execution context |
Referenced by execute(), execute(), execute(), execute(), execute(), execute(), execute(), execute(), execute(), execute(), execute(), execute(), functionBoolean(), functionNumber(), group(), group(), group(), group(), group(), group(), and predicate().
|
protected |
Execute the XPath from the provided context.
context | current source tree context node |
opPos | current position in the Op Map |
executionContext | current execution context |
theResult | The result of the execution |
|
protected |
Execute the XPath from the provided context.
context | current source tree context node |
opPos | current position in the Op Map |
executionContext | current execution context |
theResult | The result of the execution |
|
protected |
Execute the XPath from the provided context.
context | current source tree context node |
opPos | current position in the Op Map |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
References function().
|
protected |
Execute the XPath from the provided context.
context | current source tree context node |
opPos | current position in the Op Map |
executionContext | current execution context |
theResult | The result of the execution |
|
protected |
Execute the XPath from the provided context.
The result is appended to the supplied string.
context | current source tree context node |
opPos | current position in the Op Map |
executionContext | current execution context |
theResult | The result of the execution |
|
inlineprotected |
Handle an extension function.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
theNamespace | The namespace of the function. |
functionName | The name of the function. |
executionContext | current execution context |
Definition at line 2072 of file XPath.hpp.
References xalanc::XPathExecutionContext::extFunction(), and functionName().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
Handle a built-in function.
context | The current source tree context node. |
funcID | The function ID. |
argVec | The arguments for the function. |
executionContext | current execution context |
Definition at line 2109 of file XPath.hpp.
Referenced by div(), execute(), execute(), execute(), execute(), executeMore(), group(), literal(), locationPath(), minus(), mod(), mult(), neg(), numberlit(), plus(), and Union().
|
inlineprotected |
Handle the built-in function "boolean".
context | The current source tree context node, which must not be 0. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
Definition at line 2197 of file XPath.hpp.
References executeMore().
Referenced by functionNot().
|
inlineprotected |
Handle the built-in function "ceiling".
context | The current source tree context node, which must not be 0. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
Definition at line 2326 of file XPath.hpp.
References xalanc::DoubleSupport::ceiling(), and functionNumber().
|
protected |
Handle the built-in function "count".
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
inlineprotected |
Handle the built-in function "floor".
context | The current source tree context node, which must not be 0. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
Definition at line 2309 of file XPath.hpp.
References xalanc::DoubleSupport::floor(), and functionNumber().
|
inlineprotected |
Handle the built-in function "last".
executionContext | current execution context |
Definition at line 2146 of file XPath.hpp.
References xalanc::XPathExecutionContext::getContextNodeListLength().
|
protected |
Handle the built-in function "local-name".
context | The current source tree context node, which must not be 0. |
|
protected |
Handle the built-in function "local-name".
context | The current source tree context node, which must not be 0. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
inlineprotected |
Handle the built-in function "name".
context | The current source tree context node, which must not be 0. |
Definition at line 2218 of file XPath.hpp.
Referenced by extfunction().
|
protected |
Handle the built-in function "name".
context | The current source tree context node, which must not be 0. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
inlineprotected |
Handle the built-in function "not".
context | The current source tree context node, which must not be 0. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
Definition at line 2178 of file XPath.hpp.
References functionBoolean().
|
inlineprotected |
Handle the built-in function "number".
context | The current source tree context node, which must not be 0. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
Definition at line 2288 of file XPath.hpp.
References executeMore().
|
inlineprotected |
Handle the built-in function "number".
context | The current source tree context node, which must not be 0. |
executionContext | current execution context |
Definition at line 2270 of file XPath.hpp.
References xalanc::XObject::number().
Referenced by functionCeiling(), functionFloor(), and functionRound().
|
inlineprotected |
Handle the built-in function "position".
context | The current source tree context node, which must not be 0. |
executionContext | current execution context |
Definition at line 2126 of file XPath.hpp.
References xalanc::XPathExecutionContext::getContextNodeListPosition().
|
inlineprotected |
Handle the built-in function "round".
context | The current source tree context node, which must not be 0. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
Definition at line 2343 of file XPath.hpp.
References functionNumber(), and xalanc::DoubleSupport::round().
|
protected |
Handle the built-in function "string-length".
context | The current source tree context node, which must not be 0. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Handle the built-in function "string-length".
context | The current source tree context node, which must not be 0. |
executionContext | current execution context |
|
protected |
Handle the built-in function "sum".
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
eMatchScore xalanc::XPath::getMatchScore | ( | XalanNode * | node, |
const PrefixResolver & | resolver, | ||
XPathExecutionContext & | executionContext ) const |
Get the match score for the specified node.
node | The node for the score |
resolver | The prefix resolver |
executionContext | current execution context |
eMatchScore xalanc::XPath::getMatchScore | ( | XalanNode * | node, |
XPathExecutionContext & | executionContext ) const |
Get the match score for the specified node.
node | The node for the score |
executionContext | current execution context |
|
inlinestatic |
Definition at line 831 of file XPath.hpp.
References eMatchScoreNodeTest, eMatchScoreNone, eMatchScoreNSWild, eMatchScoreOther, eMatchScoreQName, and xalanc::DoubleSupport::getNegativeInfinity().
|
inline |
|
protected |
Get a numeric operand for an expression.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
References XPath().
void xalanc::XPath::getTargetData | ( | TargetDataVectorType & | targetData | ) | const |
Add the data for the target of match pattern to a vector.
targetData | The vector for the data |
|
inlineprotected |
Execute an expression as a group.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
Definition at line 1881 of file XPath.hpp.
References executeMore().
|
inlineprotected |
Execute an expression as a group.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
theResult | The result of the execution |
Definition at line 1897 of file XPath.hpp.
References executeMore().
|
inlineprotected |
Execute an expression as a group.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
theResult | The result of the execution |
Definition at line 1914 of file XPath.hpp.
References executeMore().
|
inlineprotected |
Execute an expression as a group.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
Definition at line 1950 of file XPath.hpp.
References executeMore(), and function().
|
inlineprotected |
Execute an expression as a group.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
theResult | The result of the execution |
Definition at line 1973 of file XPath.hpp.
References xalanc::MutableNodeRefList::addNodesInDocOrder(), executeMore(), xalanc::XObject::nodeset(), xalanc::XObjectPtr::null(), and xalanc::MutableNodeRefList::setDocumentOrder().
|
inlineprotected |
Execute an expression as a group.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
theResult | The result of the execution |
Definition at line 1931 of file XPath.hpp.
References executeMore().
|
protected |
Tell if one argument is greater than the other argument.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Tell if one argument is greater than or equal to the other argument.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
|
protected |
|
static |
Perform static initialization.
See class XPathInit.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
protected |
Get a literal value as a boolean.
opPos | The current position in the Op Map. |
theResult | The value. |
|
protected |
Get a literal value as a number.
opPos | The current position in the Op Map. |
theResult | The value. |
|
protected |
Get a literal value.
opPos | The current position in the Op Map. |
executionContext | current execution context |
References function().
|
protected |
Get a literal value.
The value is appended to the supplied string.
opPos | The current position in the Op Map. |
theResult | The string. |
|
protected |
Get a literal value.
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Execute a location path.
context | current source tree context node |
opPos | current position in the Op Mpa |
executionContext | current execution context |
|
protected |
Execute a location path.
context | current source tree context node |
opPos | current position in the Op Map |
executionContext | current execution context |
theResult | the result as a node list |
|
protected |
Execute a location path.
context | current source tree context node |
opPos | current position in the Op Map |
executionContext | current execution context |
theResult | the result as a node list |
|
protected |
Execute a location path.
context | current source tree context node |
opPos | current position in the Op Map |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
References function().
|
inlineprotected |
|
protected |
Execute a location path.
context | current source tree context node |
opPos | current position in the Op Map |
executionContext | current execution context |
theResult | the result as a node list |
|
protected |
Tell if one argument is less than the other argument.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Tell if one argument is less than or equal to the other argument.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Give the difference of two arguments.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Give the difference of two arguments.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
References function().
|
protected |
Return the remainder from a truncating division.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Return the remainder from a truncating division.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
References function().
|
protected |
Multiply two arguments.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Multiply two arguments.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
References function().
|
protected |
Return the negation of a number.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Return the negation of a number.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
References function().
|
protected |
Tell if two expressions are functionally not equal.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Get a literal value.
opPos | The current position in the Op Map. |
|
protected |
Get a literal value as a boolean.
opPos | The current position in the Op Map. |
theResult | The string. |
|
protected |
Get a literal value.
opPos | The current position in the Op Map. |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
References function().
|
protected |
Get a literal value.
The value is appended to the supplied string.
opPos | The current position in the Op Map. |
theResult | The string. |
|
protected |
Get a literal value.
opPos | The current position in the Op Map. |
|
protected |
OR two expressions and return the boolean result.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Give the sum of two arguments.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Give the sum of two arguments.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
References function().
|
inline |
Evaluate a predicate.
context | current source tree context node |
opPos | current position in the Op Map |
executionContext | current execution context |
Definition at line 895 of file XPath.hpp.
References executeMore().
|
protected |
|
protected |
Setup for and run an extension function.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Setup for and run a function.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
inline |
|
inline |
|
inline |
|
protected |
Execute a step in a location path.
xpath | The xpath that is executing |
context | The current source tree context node |
opPos | The current position in the xpath operation map array |
queryResults | The set of nodes that matches the step. |
Referenced by locationPath().
|
protected |
Execute a step in a match pattern's location path.
xpath | The xpath that is executing |
context | The current source tree context node |
opPos | The current position in the xpath operation map array |
scoreHolder | a reference to an eMatchScore to receive the result. |
|
static |
Perform static shut down.
See class XPathInit.
|
inlinestatic |
|
inlinestatic |
|
protected |
Computes the union of its operands which must be node-sets.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Computes the union of its operands which must be node-sets.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Computes the union of its operands which must be node-sets.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Computes the union of its operands which must be node-sets.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
formatterListener | the FormatterListener instance to receive the result |
function | A pointer to the member function of FormatterListener to call |
References function().
|
protected |
Computes the union of its operands which must be node-sets.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Computes the union of its operands which must be node-sets.
context | The current source tree context node. |
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
protected |
Get the value of a variable.
opPos | The current position in the Op Map. |
executionContext | current execution context |
|
static |
|
static |
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sat May 17 2025 10:52:43 for Xalan-C++ API Reference by