Uses of Class
org.apache.commons.jxpath.ri.EvalContext

Packages that use EvalContext
org.apache.commons.jxpath.ri Reference implementation of JXPath. 
org.apache.commons.jxpath.ri.axes Implementations of EvalContext used for different XPath axes (child::, parent:: etc). 
org.apache.commons.jxpath.ri.compiler XPath parse tree. 
 

Uses of EvalContext in org.apache.commons.jxpath.ri
 

Fields in org.apache.commons.jxpath.ri declared as EvalContext
protected  EvalContext EvalContext.parentContext
           
 

Methods in org.apache.commons.jxpath.ri that return EvalContext
 EvalContext JXPathContextReferenceImpl.getAbsoluteRootContext()
           
 

Constructors in org.apache.commons.jxpath.ri with parameters of type EvalContext
EvalContext(EvalContext parentContext)
           
 

Uses of EvalContext in org.apache.commons.jxpath.ri.axes
 

Subclasses of EvalContext in org.apache.commons.jxpath.ri.axes
 class AncestorContext
          EvalContext that walks the "ancestor::" and "ancestor-or-self::" axes.
 class AttributeContext
          EvalContext that walks the "attribute::" axis.
 class ChildContext
          EvalContext that can walk the "child::", "following-sibling::" and "preceding-sibling::" axes.
 class DescendantContext
          An EvalContext that walks the "descendant::" and "descendant-or-self::" axes.
 class InitialContext
          A single-set EvalContext that provides access to the current node of the parent context and nothing else.
 class NamespaceContext
          EvalContext that walks the "namespace::" axis.
 class ParentContext
          EvalContext that walks the "parent::" axis.
 class PrecedingOrFollowingContext
          EvalContext that walks the "preceding::" and "following::" axes.
 class PredicateContext
          EvalContext that checks predicates.
 class RootContext
          EvalContext that is used to hold the root node for the path traversal.
 class SelfContext
          EvalContext that returns the current node from the parent context if the test succeeds.
 class UnionContext
          EvalContext that represents a union between other contexts - result of a union operation like (a | b)
 

Methods in org.apache.commons.jxpath.ri.axes that return EvalContext
 EvalContext RootContext.getAbsoluteRootContext()
           
 EvalContext RootContext.getConstantContext(java.lang.Object constant)
           
 EvalContext RootContext.getVariableContext(QName variableName)
           
 

Methods in org.apache.commons.jxpath.ri.axes with parameters of type EvalContext
static NodePointer SimplePathInterpreter.interpretSimpleLocationPath(EvalContext context, NodePointer root, Step[] steps)
          Interpret a simple path that starts with the given root and follows the given steps.
static NodePointer SimplePathInterpreter.interpretSimpleExpressionPath(EvalContext context, NodePointer root, Expression[] predicates, Step[] steps)
          Interpret the steps of a simple expression path that starts with the given root, which is the result of evaluation of the root expression of the expression path, applies the given predicates to it and then follows the given steps.
 

Constructors in org.apache.commons.jxpath.ri.axes with parameters of type EvalContext
ChildContext(EvalContext parentContext, NodeTest nodeTest, boolean startFromParentLocation, boolean reverse)
           
PredicateContext(EvalContext parentContext, Expression expression)
           
UnionContext(EvalContext parentContext, EvalContext[] contexts)
           
NamespaceContext(EvalContext parentContext, NodeTest nodeTest)
           
AncestorContext(EvalContext parentContext, boolean includeSelf, NodeTest nodeTest)
           
ParentContext(EvalContext parentContext, NodeTest nodeTest)
           
PrecedingOrFollowingContext(EvalContext parentContext, NodeTest nodeTest, boolean reverse)
           
SelfContext(EvalContext parentContext, NodeTest nodeTest)
           
AttributeContext(EvalContext parentContext, NodeTest nodeTest)
           
DescendantContext(EvalContext parentContext, boolean includeSelf, NodeTest nodeTest)
           
InitialContext(EvalContext parentContext)
           
 

Uses of EvalContext in org.apache.commons.jxpath.ri.compiler
 

Methods in org.apache.commons.jxpath.ri.compiler that return EvalContext
protected  EvalContext Path.evalSteps(EvalContext context)
          Given a root context, walks a path therefrom and builds a context that contains all nodes matching the path.
protected  EvalContext Path.createContextForStep(EvalContext context, int axis, NodeTest nodeTest)
          Different axes are serviced by different contexts.
 

Methods in org.apache.commons.jxpath.ri.compiler with parameters of type EvalContext
abstract  java.lang.Object Expression.computeValue(EvalContext context)
          Evaluates the expression.
abstract  java.lang.Object Expression.compute(EvalContext context)
           
 java.util.Iterator Expression.iterate(EvalContext context)
           
 java.util.Iterator Expression.iteratePointers(EvalContext context)
           
protected  Pointer Path.getSingleNodePointerForSteps(EvalContext context)
          Given a root context, walks a path therefrom and finds the pointer to the first element matching the path.
protected  EvalContext Path.evalSteps(EvalContext context)
          Given a root context, walks a path therefrom and builds a context that contains all nodes matching the path.
protected  EvalContext Path.createContextForStep(EvalContext context, int axis, NodeTest nodeTest)
          Different axes are serviced by different contexts.
 java.lang.Object CoreOperation.compute(EvalContext context)
           
abstract  java.lang.Object CoreOperation.computeValue(EvalContext context)
           
 java.lang.Object CoreOperationMod.computeValue(EvalContext context)
           
 java.lang.Object CoreOperationGreaterThanOrEqual.computeValue(EvalContext context)
           
 java.lang.Object CoreOperationAnd.computeValue(EvalContext context)
           
protected  boolean CoreOperationCompare.equal(EvalContext context, Expression left, Expression right)
          Compares two values
 java.lang.Object CoreOperationEqual.computeValue(EvalContext context)
           
 java.lang.Object ExpressionPath.compute(EvalContext context)
           
 java.lang.Object ExpressionPath.computeValue(EvalContext context)
           
protected  java.lang.Object ExpressionPath.expressionPath(EvalContext evalContext, boolean firstMatch)
          Walks an expression path (a path that starts with an expression)
 java.lang.Object CoreOperationMultiply.computeValue(EvalContext context)
           
 java.lang.Object CoreOperationGreaterThan.computeValue(EvalContext context)
           
 java.lang.Object CoreOperationSubtract.computeValue(EvalContext context)
           
 java.lang.Object ExtensionFunction.compute(EvalContext context)
           
 java.lang.Object ExtensionFunction.computeValue(EvalContext context)
           
 java.lang.Object LocationPath.compute(EvalContext context)
           
 java.lang.Object LocationPath.computeValue(EvalContext context)
           
 java.lang.Object CoreOperationLessThanOrEqual.computeValue(EvalContext context)
           
 java.lang.Object CoreOperationOr.computeValue(EvalContext context)
           
 java.lang.Object CoreOperationLessThan.computeValue(EvalContext context)
           
 java.lang.Object CoreOperationNotEqual.computeValue(EvalContext context)
           
 java.lang.Object VariableReference.compute(EvalContext context)
           
 java.lang.Object VariableReference.computeValue(EvalContext context)
          Returns the value of the variable.
 java.lang.Object CoreOperationUnion.computeValue(EvalContext context)
           
 java.lang.Object CoreOperationNegate.computeValue(EvalContext context)
           
 java.lang.Object Constant.compute(EvalContext context)
           
 java.lang.Object Constant.computeValue(EvalContext context)
          Returns the value of the constant.
 java.lang.Object CoreFunction.compute(EvalContext context)
           
 java.lang.Object CoreFunction.computeValue(EvalContext context)
          Computes a built-in function
protected  java.lang.Object CoreFunction.functionLast(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionPosition(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionCount(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionLang(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionID(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionKey(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionNamespaceURI(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionLocalName(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionName(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionString(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionConcat(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionStartsWith(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionContains(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionSubstringBefore(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionSubstringAfter(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionSubstring(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionStringLength(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionNormalizeSpace(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionTranslate(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionBoolean(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionNot(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionTrue(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionFalse(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionNull(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionNumber(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionSum(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionFloor(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionCeiling(EvalContext context)
           
protected  java.lang.Object CoreFunction.functionRound(EvalContext context)
           
 java.lang.Object CoreOperationAdd.computeValue(EvalContext context)
           
 java.lang.Object CoreOperationDivide.computeValue(EvalContext context)
           
 



Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.