Uses of Class
org.loboevolution.apache.xpath.XPathContext
Packages that use XPathContext
Package
Description
Implementation of XPath; for the most part, only classes meant for public use are
found at this root level of the XPath packages.
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
Implements XPath functions -- each function is derived from Function,
FunctionOneArg, Function2Args, etc, with number-of-arguments checking being
applied mainly at compile time -- this package only implements XPath functions,
XSLT functions are found in the "templates" package.
Implementation of XPath polymorphic type objects -- this package will grow
as XPath objects are expanded to support XML Schema data types.
Support for XPath operations, such as +, -, string(), etc.
Implementation of XPath nodeTest support, and XSLT pattern matching support.
-
Uses of XPathContext in org.loboevolution.apache.xpath
Methods in org.loboevolution.apache.xpath with parameters of type XPathContextModifier and TypeMethodDescriptionvoidNodeSetDTM.addNodeInDocOrder(int node, boolean test, XPathContext support) Add the node into a vector of nodes where it should occur in document order.voidNodeSetDTM.addNodeInDocOrder(int node, XPathContext support) Add the node into a vector of nodes where it should occur in document order.Expression.asIterator(XPathContext xctxt, int contextNode) Given an select expression and a context, evaluate the XPath and return the resulting iterator.intExpression.asNode(XPathContext xctxt) Return the first node out of the nodeset, if this expression is a nodeset expression.booleanExpression.bool(XPathContext xctxt) Evaluate expression to a boolean.booleanXPath.bool(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext) Given an expression and a context, evaluate the XPath and return the result.voidExpression.error(XPathContext xctxt, String msg, Object[] args) Tell the user of an error, and probably throw an exception.voidXPath.error(XPathContext xctxt, String msg, Object[] args) Tell the user of an error, and probably throw an exception.abstract XObjectExpression.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.Expression.execute(XPathContext xctxt, boolean destructiveOK) Execute an expression in the XPath runtime context, and return the result of the expression, but tell that a "safe" object doesn't have to be returned.Expression.execute(XPathContext xctxt, int currentNode) Execute an expression in the XPath runtime context, and return the result of the expression.Expression.execute(XPathContext xctxt, int currentNode, DTM dtm, int expType) Execute an expression in the XPath runtime context, and return the result of the expression.XPath.execute(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext) Given an expression and a context, evaluate the XPath and return the result.XPath.execute(XPathContext xctxt, Node contextNode, PrefixResolver namespaceContext) Given an expression and a context, evaluate the XPath and return the result.doubleExpression.num(XPathContext xctxt) Evaluate expression to a number. -
Uses of XPathContext in org.loboevolution.apache.xpath.axes
Fields in org.loboevolution.apache.xpath.axes declared as XPathContextModifier and TypeFieldDescriptionprotected XPathContextLocPathIterator.m_execContextThe XPathContext reference, needed for execution of many operations.Methods in org.loboevolution.apache.xpath.axes that return XPathContextModifier and TypeMethodDescriptionfinal XPathContextLocPathIterator.getXPathContext()The XPath execution context we are operating on.Methods in org.loboevolution.apache.xpath.axes with parameters of type XPathContextModifier and TypeMethodDescriptionLocPathIterator.asIterator(XPathContext xctxt, int contextNode) Given an select expression and a context, evaluate the XPath and return the resulting iterator.intChildIterator.asNode(XPathContext xctxt) Return the first node out of the nodeset, if this expression is a nodeset expression.intDescendantIterator.asNode(XPathContext xctxt) Return the first node out of the nodeset, if this expression is a nodeset expression.intLocPathIterator.asNode(XPathContext xctxt) Return the first node out of the nodeset, if this expression is a nodeset expression.intSelfIteratorNoPredicate.asNode(XPathContext xctxt) Return the first node out of the nodeset, if this expression is a nodeset expression.booleanLocPathIterator.bool(XPathContext xctxt) Evaluate expression to a boolean.LocPathIterator.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.static XNodeSetFilterExprWalker.executeFilterExpr(int context, XPathContext xctxt, PrefixResolver prefixResolver, boolean isTopLevel, Expression expr) Execute the expression.intAxesWalker.getLastPos(XPathContext xctxt) Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the last index position.intFilterExprWalker.getLastPos(XPathContext xctxt) Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the last index position.intLocPathIterator.getLastPos(XPathContext xctxt) Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the last index position.abstract intPredicatedNodeTest.getLastPos(XPathContext xctxt) Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the last index position.intReverseAxesWalker.getLastPos(XPathContext xctxt) Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the last index position.intSelfIteratorNoPredicate.getLastPos(XPathContext xctxt) Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the last index position.intSubContextList.getLastPos(XPathContext xctxt) Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the last index position.intPredicatedNodeTest.getProximityPosition(XPathContext xctxt) Get the current sub-context position.intSubContextList.getProximityPosition(XPathContext xctxt) Get the current sub-context position. -
Uses of XPathContext in org.loboevolution.apache.xpath.functions
Methods in org.loboevolution.apache.xpath.functions with parameters of type XPathContextModifier and TypeMethodDescriptionFuncBoolean.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncCeiling.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncConcat.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncContains.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncCount.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncFalse.execute(XPathContext xctxt) Execute the function.FuncFloor.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncId.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncLang.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncLast.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncLocalPart.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncNamespace.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncNormalizeSpace.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncNot.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncNumber.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncPosition.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncQname.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncRound.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncStartsWith.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncString.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncStringLength.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncSubstring.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncSubstringAfter.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncSubstringBefore.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncSum.execute(XPathContext xctxt) Execute the function.Function.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncTranslate.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FuncTrue.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.protected intFunctionDef1Arg.getArg0AsNode(XPathContext xctxt) Execute the first argument expression that is expected to return a nodeset.protected doubleFunctionDef1Arg.getArg0AsNumber(XPathContext xctxt) Execute the first argument expression that is expected to return a number.protected XStringFunctionDef1Arg.getArg0AsString(XPathContext xctxt) Execute the first argument expression that is expected to return a string.intFuncLast.getCountOfContextNodeList(XPathContext xctxt) Get the position in the current context node list.intFuncPosition.getPositionInContextNodeList(XPathContext xctxt) Get the position in the current context node list. -
Uses of XPathContext in org.loboevolution.apache.xpath.objects
Methods in org.loboevolution.apache.xpath.objects with parameters of type XPathContextModifier and TypeMethodDescriptionXObject.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.doubleXNumber.num(XPathContext xctxt) Evaluate expression to a number. -
Uses of XPathContext in org.loboevolution.apache.xpath.operations
Methods in org.loboevolution.apache.xpath.operations with parameters of type XPathContextModifier and TypeMethodDescriptionbooleanAnd.bool(XPathContext xctxt) Evaluate expression to a boolean.booleanBool.bool(XPathContext xctxt) Evaluate expression to a boolean.booleanEquals.bool(XPathContext xctxt) Evaluate expression to a boolean.booleanOr.bool(XPathContext xctxt) Evaluate expression to a boolean.And.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.Operation.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.Or.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.UnaryOperation.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.doubleDiv.num(XPathContext xctxt) Evaluate expression to a number.doubleMinus.num(XPathContext xctxt) Evaluate expression to a number.doubleMod.num(XPathContext xctxt) Evaluate expression to a number.doubleMult.num(XPathContext xctxt) Evaluate expression to a number.doubleNeg.num(XPathContext xctxt) Evaluate expression to a number.doubleNumber.num(XPathContext xctxt) Evaluate expression to a number.doublePlus.num(XPathContext xctxt) Evaluate expression to a number. -
Uses of XPathContext in org.loboevolution.apache.xpath.patterns
Methods in org.loboevolution.apache.xpath.patterns with parameters of type XPathContextModifier and TypeMethodDescriptionContextMatchStepPattern.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FunctionPattern.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.FunctionPattern.execute(XPathContext xctxt, int ctx) Execute an expression in the XPath runtime context, and return the result of the expression.FunctionPattern.execute(XPathContext xctxt, int ctx, DTM dtm, int expType) Execute an expression in the XPath runtime context, and return the result of the expression.NodeTest.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.NodeTest.execute(XPathContext xctxt, int context) Execute an expression in the XPath runtime context, and return the result of the expression.NodeTest.execute(XPathContext xctxt, int context, DTM dtm, int expType) Execute an expression in the XPath runtime context, and return the result of the expression.StepPattern.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.StepPattern.execute(XPathContext xctxt, int currentNode) Execute an expression in the XPath runtime context, and return the result of the expression.StepPattern.execute(XPathContext xctxt, int currentNode, DTM dtm, int expType) Execute an expression in the XPath runtime context, and return the result of the expression.UnionPattern.execute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.protected final booleanStepPattern.executePredicates(XPathContext xctxt, DTM dtm, int currentNode) Execute the predicates on this step to determine if the current node should be filtered or accepted.protected final XObjectStepPattern.executeRelativePathPattern(XPathContext xctxt, DTM dtm, int currentNode) Execute the match pattern step relative to another step.intStepPattern.getLastPos(XPathContext xctxt) Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the last index position.intStepPattern.getProximityPosition(XPathContext xctxt) Get the current sub-context position.