Uses of Class
org.apache.commons.jxpath.ri.compiler.Expression

Packages that use Expression
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 Expression in org.apache.commons.jxpath.ri
 

Fields in org.apache.commons.jxpath.ri declared as Expression
private  Expression JXPathCompiledExpression.expression
           
 

Methods in org.apache.commons.jxpath.ri that return Expression
private  Expression JXPathContextReferenceImpl.compileExpression(java.lang.String xpath)
           
protected  Expression JXPathCompiledExpression.getExpression()
           
 

Methods in org.apache.commons.jxpath.ri with parameters of type Expression
 java.lang.Object JXPathContextReferenceImpl.getValue(java.lang.String xpath, Expression expr)
           
 java.lang.Object JXPathContextReferenceImpl.getValue(java.lang.String xpath, Expression expr, java.lang.Class requiredType)
           
 java.util.Iterator JXPathContextReferenceImpl.iterate(java.lang.String xpath, Expression expr)
           
 Pointer JXPathContextReferenceImpl.getPointer(java.lang.String xpath, Expression expr)
           
 void JXPathContextReferenceImpl.setValue(java.lang.String xpath, Expression expr, java.lang.Object value)
           
 Pointer JXPathContextReferenceImpl.createPath(java.lang.String xpath, Expression expr)
           
 Pointer JXPathContextReferenceImpl.createPathAndSetValue(java.lang.String xpath, Expression expr, java.lang.Object value)
           
private  Pointer JXPathContextReferenceImpl.setValue(java.lang.String xpath, Expression expr, java.lang.Object value, boolean create)
           
private  void JXPathContextReferenceImpl.checkSimplePath(Expression expr)
          Checks if the path follows the JXPath restrictions on the type of path that can be passed to create...
 java.util.Iterator JXPathContextReferenceImpl.iteratePointers(java.lang.String xpath, Expression expr)
           
 void JXPathContextReferenceImpl.removePath(java.lang.String xpath, Expression expr)
           
 void JXPathContextReferenceImpl.removeAll(java.lang.String xpath, Expression expr)
           
 

Constructors in org.apache.commons.jxpath.ri with parameters of type Expression
JXPathCompiledExpression(java.lang.String xpath, Expression expression)
           
 

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

Fields in org.apache.commons.jxpath.ri.axes declared as Expression
private  Expression PredicateContext.expression
           
private  Expression PredicateContext.nameTestExpression
           
 

Methods in org.apache.commons.jxpath.ri.axes with parameters of type Expression
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.
private static NodePointer SimplePathInterpreter.doPredicate(EvalContext context, NodePointer parent, Step[] steps, int currentStep, Expression[] predicates, int currentPredicate)
          Evaluates predicates and proceeds with the subsequent steps of the path.
private static NodePointer SimplePathInterpreter.doPredicateName(EvalContext context, NodePointer parent, Step[] steps, int currentStep, Expression[] predicates, int currentPredicate)
           
private static NodePointer SimplePathInterpreter.doPredicatesStandard(EvalContext context, java.util.List parents, Step[] steps, int currentStep, Expression[] predicates, int currentPredicate)
          Called exclusively for standard InfoSet nodes, e.g.
private static NodePointer SimplePathInterpreter.doPredicateIndex(EvalContext context, NodePointer parent, Step[] steps, int currentStep, Expression[] predicates, int currentPredicate)
          Evaluate a subscript predicate: see if the node is a collection and if the index is inside the collection
private static int SimplePathInterpreter.indexFromPredicate(EvalContext context, Expression predicate)
          Extract an integer from a subscript predicate.
private static java.lang.String SimplePathInterpreter.keyFromPredicate(EvalContext context, Expression predicate)
          Extracts the string value of the expression from a predicate like [@name=expression].
private static NodePointer SimplePathInterpreter.createNullPointerForPredicates(EvalContext context, NodePointer parent, Step[] steps, int currentStep, Expression[] predicates, int currentPredicate)
          Creates a "null pointer" that starts with predicates.
 

Constructors in org.apache.commons.jxpath.ri.axes with parameters of type Expression
PredicateContext(EvalContext parentContext, Expression expression)
           
 

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

Subclasses of Expression in org.apache.commons.jxpath.ri.compiler
 class Constant
          A compile tree element containing a constant number or string.
 class CoreFunction
          An element of the compile tree representing one of built-in functions like "position()" or "number()".
 class CoreOperation
          The common subclass for tree elements representing core operations like "+", "- ", "*" etc.
 class CoreOperationAdd
          Implementation of Expression for the operation "+".
 class CoreOperationAnd
          Implementation of Expression for the operation "and".
 class CoreOperationCompare
          Common superclass for the implementations of Expression for the operations "=" and "!=".
 class CoreOperationDivide
          Implementation of Expression for the operation "div".
 class CoreOperationEqual
          Implementation of Expression for the operation "=".
 class CoreOperationGreaterThan
          Implementation of Expression for the operation ">".
 class CoreOperationGreaterThanOrEqual
          Implementation of Expression for the operation ">=".
 class CoreOperationLessThan
          Implementation of Expression for the operation "<".
 class CoreOperationLessThanOrEqual
          Implementation of Expression for the operation "<=".
 class CoreOperationMod
          Implementation of Expression for the operation "mod".
 class CoreOperationMultiply
          Implementation of Expression for the operation "*".
 class CoreOperationNegate
          Implementation of Expression for the operation unary "-".
 class CoreOperationNotEqual
          Implementation of Expression for the operation "!=".
 class CoreOperationOr
          Implementation of Expression for the operation "or".
 class CoreOperationSubtract
          Implementation of Expression for the operation "-".
 class CoreOperationUnion
          Implementation of Expression for the operation "|".
 class ExpressionPath
          An element of the parse tree that represents an expression path, which is a path that starts with an expression like a function call: getFoo(.) /bar.
 class ExtensionFunction
          Represents an element of the parse tree representing an extension function call.
 class LocationPath
           
 class NameAttributeTest
          Captures the foo[@name=expr] expression.
 class Operation
           
 class Path
           
 class VariableReference
          An element of the compile tree holding a variable reference.
 

Fields in org.apache.commons.jxpath.ri.compiler declared as Expression
private  Expression[] Step.predicates
           
protected  Expression[] Operation.args
           
private  Expression ExpressionPath.expression
           
private  Expression[] ExpressionPath.predicates
           
 

Methods in org.apache.commons.jxpath.ri.compiler that return Expression
private  Expression[] TreeCompiler.toExpressionArray(java.lang.Object[] array)
           
 Expression[] Step.getPredicates()
           
 Expression[] Operation.getArguments()
           
 Expression NameAttributeTest.getNameTestExpression()
           
 Expression ExpressionPath.getExpression()
           
 Expression[] ExpressionPath.getPredicates()
          Predicates are the expressions in brackets that may follow the root expression of the path.
 Expression CoreFunction.getArg1()
           
 Expression CoreFunction.getArg2()
           
 Expression CoreFunction.getArg3()
           
 

Methods in org.apache.commons.jxpath.ri.compiler with parameters of type Expression
private  boolean TreeCompiler.isNameAttributeTest(Expression arg)
           
protected  boolean Path.areBasicPredicates(Expression[] predicates)
           
protected  boolean CoreOperationCompare.equal(EvalContext context, Expression left, Expression right)
          Compares two values
private  java.lang.String CoreOperation.parenthesize(Expression expression, boolean left)
           
 

Constructors in org.apache.commons.jxpath.ri.compiler with parameters of type Expression
Step(int axis, NodeTest nodeTest, Expression[] predicates)
           
Operation(Expression[] args)
           
NameAttributeTest(Expression namePath, Expression nameValue)
           
ExtensionFunction(QName functionName, Expression[] args)
           
ExpressionPath(Expression expression, Expression[] predicates, Step[] steps)
           
CoreOperationUnion(Expression[] args)
           
CoreOperationSubtract(Expression arg1, Expression arg2)
           
CoreOperationOr(Expression[] args)
           
CoreOperationNotEqual(Expression arg1, Expression arg2)
           
CoreOperationNegate(Expression arg)
           
CoreOperationMultiply(Expression arg1, Expression arg2)
           
CoreOperationMod(Expression arg1, Expression arg2)
           
CoreOperationLessThanOrEqual(Expression arg1, Expression arg2)
           
CoreOperationLessThan(Expression arg1, Expression arg2)
           
CoreOperationGreaterThanOrEqual(Expression arg1, Expression arg2)
           
CoreOperationGreaterThan(Expression arg1, Expression arg2)
           
CoreOperationEqual(Expression arg1, Expression arg2)
           
CoreOperationDivide(Expression arg1, Expression arg2)
           
CoreOperationCompare(Expression arg1, Expression arg2)
           
CoreOperationAnd(Expression[] args)
           
CoreOperationAdd(Expression[] args)
           
CoreOperation(Expression[] args)
           
CoreFunction(int functionCode, Expression[] args)