|
| | 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) |
| |
|
| 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 |
| |
Definition at line 67 of file XPath.hpp.