Uses of Class
org.apache.commons.jxpath.ri.compiler.Step
Packages that use Step
Package
Description
Implementations of EvalContext used for different XPath axes (child::, parent:: etc).
XPath parse tree.
-
Uses of Step in org.apache.commons.jxpath.ri.axes
Methods in org.apache.commons.jxpath.ri.axes with parameters of type StepModifier and TypeMethodDescriptionprivate static NodePointer
SimplePathInterpreter.createChildPointerForStep
(PropertyOwnerPointer parentPointer, Step step) Create the child pointer for a given step.static NodePointer
SimplePathInterpreter.createNullPointer
(EvalContext context, NodePointer parent, Step[] steps, int currentStep) Creates a "null pointer" that a) represents the requested path and b) can be used for creation of missing nodes in the path.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.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.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 NodePointer
SimplePathInterpreter.doPredicateName
(EvalContext context, NodePointer parent, Step[] steps, int currentStep, Expression[] predicates, int currentPredicate) Execute a NameAttributeTest predicateprivate static NodePointer
SimplePathInterpreter.doPredicatesStandard
(EvalContext context, List parents, Step[] steps, int currentStep, Expression[] predicates, int currentPredicate) Called exclusively for standard InfoSet nodes, e.g.private static NodePointer
SimplePathInterpreter.doStep
(EvalContext context, NodePointer parent, Step[] steps, int currentStep) Recursive evaluation of a path.private static NodePointer
SimplePathInterpreter.doStepNoPredicatesPropertyOwner
(EvalContext context, PropertyOwnerPointer parentPointer, Step[] steps, int currentStep) We have a step that starts with a property owner (bean, map, etc) and has no predicates.private static NodePointer
SimplePathInterpreter.doStepNoPredicatesStandard
(EvalContext context, NodePointer parentPointer, Step[] steps, int currentStep) A path that starts with a standard InfoSet node (e.g.private static NodePointer
SimplePathInterpreter.doStepPredicatesPropertyOwner
(EvalContext context, PropertyOwnerPointer parentPointer, Step[] steps, int currentStep) A path that starts with a property owner.private static NodePointer
SimplePathInterpreter.doStepPredicatesStandard
(EvalContext context, NodePointer parent, Step[] steps, int currentStep) A path that starts with a standard InfoSet node, e.g.private static NodeIterator
SimplePathInterpreter.getNodeIterator
(EvalContext context, NodePointer pointer, Step step) Get a NodeIterator.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.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. -
Uses of Step in org.apache.commons.jxpath.ri.compiler
Fields in org.apache.commons.jxpath.ri.compiler declared as StepMethods in org.apache.commons.jxpath.ri.compiler that return StepModifier and TypeMethodDescriptionStep[]
Path.getSteps()
Get the steps.private Step[]
TreeCompiler.toStepArray
(Object[] array) Get an Object[] as a Step[].Methods in org.apache.commons.jxpath.ri.compiler with parameters of type StepModifier and TypeMethodDescriptionprotected boolean
Path.isSimpleStep
(Step step) A Step is "simple" if it takes one of these forms: ".", "/foo", "@bar", "/foo[3]".Constructors in org.apache.commons.jxpath.ri.compiler with parameters of type StepModifierConstructorDescriptionExpressionPath
(Expression expression, Expression[] predicates, Step[] steps) Create a new ExpressionPath.LocationPath
(boolean absolute, Step[] steps) Create a new LocationPath.Create a new Path.