typedef XERCES_CPP_NAMESPACE_QUALIFIER Locator XPath::LocatorType |
typedef void(FormatterListener::* XPath::MemberFunctionPtr)(const XMLCh *const, const unsigned int) |
enum XPath::eMatchScore |
XPath::XPath | ( | MemoryManagerType & | theManager, | |
const LocatorType * | theLocator = 0 | |||
) | [explicit] |
XPath::~XPath | ( | ) |
bool XPath::And | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 XPath* XPath::create | ( | MemoryManagerType & | theManager, | |
const LocatorType * | theLocator = 0 | |||
) | [static] |
static void XPath::destroyTable | ( | ) | [static] |
void XPath::div | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [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 |
double XPath::div | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
Divide a number.
context | The current source tree context node. | |
opPos | The current position in the Op Map. | |
executionContext | current execution context |
void XPath::doGetMatchScore | ( | XalanNode * | context, | |
XPathExecutionContext & | executionContext, | |||
eMatchScore & | score | |||
) | const [protected] |
Helper function to get match score.
context | The current source tree context node. | |
executionContext | The current execution context | |
score | The match score |
bool XPath::equals | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
XObjectPtr XPath::execute | ( | 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.
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. |
void XPath::execute | ( | const PrefixResolver & | prefixResolver, | |
XPathExecutionContext & | executionContext, | |||
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const |
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 |
void XPath::execute | ( | const PrefixResolver & | prefixResolver, | |
XPathExecutionContext & | executionContext, | |||
XalanDOMString & | result | |||
) | const |
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 |
void XPath::execute | ( | const PrefixResolver & | prefixResolver, | |
XPathExecutionContext & | executionContext, | |||
double & | result | |||
) | const |
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 |
void XPath::execute | ( | const PrefixResolver & | prefixResolver, | |
XPathExecutionContext & | executionContext, | |||
bool & | result | |||
) | const |
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 |
const XObjectPtr XPath::execute | ( | const PrefixResolver & | prefixResolver, | |
XPathExecutionContext & | executionContext | |||
) | const |
const XObjectPtr XPath::execute | ( | 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.
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. |
void XPath::execute | ( | XPathExecutionContext & | executionContext, | |
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const |
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 |
void XPath::execute | ( | XPathExecutionContext & | executionContext, | |
XalanDOMString & | result | |||
) | const |
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 |
void XPath::execute | ( | XPathExecutionContext & | executionContext, | |
double & | result | |||
) | const |
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 |
void XPath::execute | ( | XPathExecutionContext & | executionContext, | |
bool & | result | |||
) | const |
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 |
const XObjectPtr XPath::execute | ( | XPathExecutionContext & | executionContext | ) | const |
const XObjectPtr XPath::execute | ( | XalanNode * | context, | |
const PrefixResolver & | prefixResolver, | |||
const NodeRefListBase & | contextNodeList, | |||
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 | |
contextNodeList | node list for current context | |
executionContext | current execution context | |
result | the result as a set of nodes |
void XPath::execute | ( | XalanNode * | context, | |
const PrefixResolver & | prefixResolver, | |||
const NodeRefListBase & | contextNodeList, | |||
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 | |
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 |
void XPath::execute | ( | XalanNode * | context, | |
const PrefixResolver & | prefixResolver, | |||
const NodeRefListBase & | contextNodeList, | |||
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 | |
contextNodeList | node list for current context | |
executionContext | current execution context | |
result | the string result |
void XPath::execute | ( | XalanNode * | context, | |
const PrefixResolver & | prefixResolver, | |||
const NodeRefListBase & | contextNodeList, | |||
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 | |
contextNodeList | node list for current context | |
executionContext | current execution context | |
result | the numeric result |
void XPath::execute | ( | XalanNode * | context, | |
const PrefixResolver & | prefixResolver, | |||
const NodeRefListBase & | contextNodeList, | |||
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 | |
contextNodeList | node list for current context | |
executionContext | current execution context | |
result | the boolean result |
const XObjectPtr XPath::execute | ( | XalanNode * | context, | |
const PrefixResolver & | prefixResolver, | |||
const NodeRefListBase & | contextNodeList, | |||
XPathExecutionContext & | executionContext | |||
) | const |
const XObjectPtr 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 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 |
void 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 |
void 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 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 |
const XObjectPtr XPath::execute | ( | XalanNode * | context, | |
const PrefixResolver & | prefixResolver, | |||
XPathExecutionContext & | executionContext | |||
) | const |
const XObjectPtr XPath::executeMore | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
MutableNodeRefList & | theResult | |||
) | const [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 |
void XPath::executeMore | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [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 |
void XPath::executeMore | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
XalanDOMString & | theResult | |||
) | const [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 |
void XPath::executeMore | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
double & | theResult | |||
) | const [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 |
void XPath::executeMore | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
bool & | theResult | |||
) | const [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 |
const XObjectPtr XPath::executeMore | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
const XObjectPtr XPath::extfunction | ( | XalanNode * | context, | |
OpCodeMapPositionType | , | |||
const XalanDOMString & | theNamespace, | |||
const XalanDOMString & | functionName, | |||
const Function::XObjectArgVectorType & | argVec, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
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 |
OpCodeMapPositionType XPath::findAncestors | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findAncestorsOrSelf | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findAttributes | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findChildren | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findDescendants | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findFollowing | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findFollowingSiblings | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findNamespace | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findNodeSet | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findNodesOnUnknownAxis | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findParent | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findPreceeding | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findPreceedingSiblings | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findRoot | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
OpCodeMapPositionType XPath::findSelf | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | stepType, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
const XObjectPtr XPath::function | ( | XalanNode * | context, | |
OpCodeMapValueType | funcID, | |||
const Function::XObjectArgVectorType & | argVec, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
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 |
bool XPath::functionBoolean | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
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 |
double XPath::functionCeiling | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
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 |
double XPath::functionCount | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
double XPath::functionFloor | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
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 |
double XPath::functionLast | ( | XPathExecutionContext & | executionContext | ) | const [protected] |
Handle the built-in function "last".
executionContext | current execution context |
const XalanDOMString& XPath::functionLocalName | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
const XalanDOMString& XPath::functionLocalName | ( | XalanNode * | context | ) | const [protected] |
Handle the built-in function "local-name".
context | The current source tree context node, which must not be 0. |
const XalanDOMString& XPath::functionName | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
const XalanDOMString& XPath::functionName | ( | XalanNode * | context | ) | const [protected] |
Handle the built-in function "name".
context | The current source tree context node, which must not be 0. |
bool XPath::functionNot | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
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 |
double XPath::functionNumber | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
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 |
double XPath::functionNumber | ( | XalanNode * | context, | |
XPathExecutionContext & | executionContext | |||
) | const [protected] |
Handle the built-in function "number".
context | The current source tree context node, which must not be 0. | |
executionContext | current execution context |
double XPath::functionPosition | ( | XalanNode * | context, | |
XPathExecutionContext & | executionContext | |||
) | const [protected] |
Handle the built-in function "position".
context | The current source tree context node, which must not be 0. | |
executionContext | current execution context |
double XPath::functionRound | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
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 |
double XPath::functionStringLength | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
double XPath::functionStringLength | ( | XalanNode * | context | ) | const [protected] |
Handle the built-in function "string-length".
context | The current source tree context node, which must not be 0. |
double XPath::functionSum | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
const XPathExpression& XPath::getExpression | ( | ) | const |
Retrieve a reference to the current expression.
XPathExpression& XPath::getExpression | ( | ) |
Retrieve a reference to the current expression.
static const FunctionTableType& XPath::getFunctionTable | ( | ) | [static] |
Retrieve the table of installed functions.
static void XPath::getInstalledFunctionNames | ( | OutputIteratorType | theIterator | ) | [static] |
Add the names for the installed functions to a vector strings.
theIterator | vector added to |
bool XPath::getInStylesheet | ( | ) | const |
const LocatorType* XPath::getLocator | ( | ) | const |
eMatchScore 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 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 |
static double XPath::getMatchScoreValue | ( | eMatchScore | score | ) | [static] |
MemoryManagerType& XPath::getMemoryManager | ( | ) |
double XPath::getNumericOperand | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
void XPath::getTargetData | ( | TargetDataVectorType & | targetData | ) | const |
Add the data for the target of match pattern to a vector.
targetData | The vector for the data |
void XPath::group | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
MutableNodeRefList & | theResult | |||
) | const [protected] |
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 |
void XPath::group | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [protected] |
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 |
void XPath::group | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
XalanDOMString & | theResult | |||
) | const [protected] |
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 |
void XPath::group | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
double & | theResult | |||
) | const [protected] |
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 |
void XPath::group | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
bool & | theResult | |||
) | const [protected] |
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 |
const XObjectPtr XPath::group | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
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 |
bool XPath::gt | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
bool XPath::gte | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
eMatchScore XPath::handleFoundIndex | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | localContext, | |||
OpCodeMapPositionType | startOpPos | |||
) | const [protected] |
eMatchScore XPath::handleFoundIndexPositional | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | localContext, | |||
OpCodeMapPositionType | startOpPos | |||
) | const [protected] |
static void XPath::initialize | ( | MemoryManagerType & | theManager | ) | [static] |
Perform static initialization.
See class XPathInit.
static void XPath::installFunction | ( | const XalanDOMChar * | funcName, | |
const Function & | func | |||
) | [static] |
Install a built-in function.
funcName | unqualified name of the function | |
func | instance of an XPath function object |
static void XPath::installFunction | ( | const XalanDOMString & | funcName, | |
const Function & | func | |||
) | [static] |
Install a built-in function.
funcName | unqualified name of the function | |
func | instance of an XPath function object |
static bool XPath::isInstalledFunction | ( | const XalanDOMString & | theFunctionName | ) | [static] |
Whether the named function is installed in the function table.
name | of function |
void XPath::literal | ( | OpCodeMapPositionType | opPos, | |
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [protected] |
Get a literal value.
opPos | The current position in the Op Map. | |
executionContext | current execution context |
void XPath::literal | ( | OpCodeMapPositionType | opPos, | |
XalanDOMString & | theResult | |||
) | const [protected] |
Get a literal value.
The value is appended to the supplied string.
opPos | The current position in the Op Map. | |
theResult | The string. |
void XPath::literal | ( | OpCodeMapPositionType | opPos, | |
double & | theResult | |||
) | const [protected] |
Get a literal value as a number.
opPos | The current position in the Op Map. | |
theResult | The value. |
void XPath::literal | ( | OpCodeMapPositionType | opPos, | |
bool & | theResult | |||
) | const [protected] |
Get a literal value as a boolean.
opPos | The current position in the Op Map. | |
theResult | The value. |
const XObjectPtr XPath::literal | ( | OpCodeMapPositionType | opPos, | |
XPathExecutionContext & | executionContext | |||
) | const [protected] |
Get a literal value.
opPos | The current position in the Op Map. | |
executionContext | current execution context |
void XPath::locationPath | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
MutableNodeRefList & | theResult | |||
) | const [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 |
void XPath::locationPath | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [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 |
void XPath::locationPath | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
XalanDOMString & | theResult | |||
) | const [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 |
void XPath::locationPath | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
double & | theResult | |||
) | const [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 |
void XPath::locationPath | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
bool & | theResult | |||
) | const [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 |
const XObjectPtr XPath::locationPath | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
Execute a location path.
context | current source tree context node | |
opPos | current position in the Op Mpa | |
executionContext | current execution context |
bool XPath::lt | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
bool XPath::lte | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
void XPath::minus | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [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 |
double XPath::minus | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
void XPath::mod | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [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 |
double XPath::mod | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
void XPath::mult | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [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 |
double XPath::mult | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [protected] |
Multiply two arguments.
context | The current source tree context node. | |
opPos | The current position in the Op Map. | |
executionContext | current execution context |
void XPath::neg | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [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 |
double XPath::neg | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
eMatchScore XPath::nodeTest | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
XalanNode::NodeType | nodeType, | |||
OpCodeMapPositionType | opPos, | |||
OpCodeMapValueType | argLen, | |||
OpCodeMapValueType | stepType | |||
) | const [protected] |
bool XPath::notequals | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
void XPath::numberlit | ( | OpCodeMapPositionType | opPos, | |
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [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 |
void XPath::numberlit | ( | OpCodeMapPositionType | opPos, | |
XalanDOMString & | theResult | |||
) | const [protected] |
Get a literal value.
The value is appended to the supplied string.
opPos | The current position in the Op Map. | |
theResult | The string. |
void XPath::numberlit | ( | OpCodeMapPositionType | opPos, | |
bool & | theResult | |||
) | const [protected] |
Get a literal value as a boolean.
opPos | The current position in the Op Map. | |
theResult | The string. |
const XObjectPtr XPath::numberlit | ( | OpCodeMapPositionType | opPos, | |
XPathExecutionContext & | executionContext | |||
) | const [protected] |
Get a literal value.
opPos | The current position in the Op Map. |
double XPath::numberlit | ( | OpCodeMapPositionType | opPos | ) | const [protected] |
Get a literal value.
opPos | The current position in the Op Map. |
bool XPath::Or | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
void XPath::plus | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [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 |
double XPath::plus | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
const XObjectPtr XPath::predicate | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const |
Evaluate a predicate.
context | current source tree context node | |
opPos | current position in the Op Map | |
executionContext | current execution context |
OpCodeMapPositionType XPath::predicates | ( | XPathExecutionContext & | executionContext, | |
OpCodeMapPositionType | opPos, | |||
MutableNodeRefList & | subQueryResults | |||
) | const [protected] |
const XObjectPtr XPath::runExtFunction | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
const XObjectPtr XPath::runFunction | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
void XPath::setInStylesheet | ( | bool | fValue | ) |
void XPath::setLocator | ( | const LocatorType * | theLocator | ) |
void XPath::shrink | ( | ) |
Shrink internal tables.
void XPath::step | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
MutableNodeRefList & | queryResults | |||
) | const [protected] |
XalanNode* XPath::stepPattern | ( | XPathExecutionContext & | executionContext, | |
XalanNode * | context, | |||
OpCodeMapPositionType | opPos, | |||
eMatchScore & | scoreHolder | |||
) | const [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 | |
scoreHolder | a reference to an eMatchScore to receive the result. |
static void XPath::terminate | ( | ) | [static] |
Perform static shut down.
See class XPathInit.
static bool XPath::uninstallFunction | ( | const XalanDOMChar * | funcName | ) | [static] |
Remove a named function from the function table.
funcName | name of function |
static bool XPath::uninstallFunction | ( | const XalanDOMString & | funcName | ) | [static] |
Remove a named function from the function table.
funcName | name of function |
void XPath::Union | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
MutableNodeRefList & | result | |||
) | const [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 |
void XPath::Union | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [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 |
void XPath::Union | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
XalanDOMString & | result | |||
) | const [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 |
void XPath::Union | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
double & | result | |||
) | const [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 |
void XPath::Union | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext, | |||
bool & | result | |||
) | const [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 |
const XObjectPtr XPath::Union | ( | XalanNode * | context, | |
OpCodeMapPositionType | opPos, | |||
XPathExecutionContext & | executionContext | |||
) | const [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 |
const XObjectPtr XPath::variable | ( | OpCodeMapPositionType | opPos, | |
XPathExecutionContext & | executionContext | |||
) | const [protected] |
Get the value of a variable.
opPos | The current position in the Op Map. | |
executionContext | current execution context |
friend class NodeTester [friend] |
const XalanDOMChar XPath::PSEUDONAME_ANY[] [static] |
const XalanDOMChar XPath::PSEUDONAME_COMMENT[] [static] |
const XalanDOMChar XPath::PSEUDONAME_NODE[] [static] |
const XalanDOMChar XPath::PSEUDONAME_OTHER[] [static] |
const XalanDOMChar XPath::PSEUDONAME_PI[] [static] |
const XalanDOMChar XPath::PSEUDONAME_ROOT[] [static] |
const XalanDOMChar XPath::PSEUDONAME_TEXT[] [static] |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|