Class DefaultStep
java.lang.Object
org.jaxen.expr.DefaultStep
- All Implemented Interfaces:
Serializable, Predicated, Step
- Direct Known Subclasses:
DefaultAllNodeStep, DefaultCommentNodeStep, DefaultNameStep, DefaultProcessingInstructionNodeStep, DefaultTextNodeStep
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IterableAxisDeprecated.private PredicateSetDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPredicate(Predicate predicate) Deprecated.Add an additional predicate to this object.axisIterator(Object contextNode, ContextSupport support) Deprecated.Get an Iterator for the current axis starting in the given contextNode.Deprecated.For each node in the given context calls matches() for every node on the axis, then filters the result by each of the predicates.intgetAxis()Deprecated.Get an identifier for the current axis.Deprecated.Deprecated.Deprecated.Returns a possibly empty list of predicates.Deprecated.Returns a possibly empty set of predicates.getText()Deprecated.Returns aStringcontaining the XPath expression.voidsimplify()Deprecated.Simplifies the XPath step.toString()Deprecated.
-
Field Details
-
axis
Deprecated. -
predicates
Deprecated.
-
-
Constructor Details
-
DefaultStep
Deprecated.
-
-
Method Details
-
addPredicate
Deprecated.Description copied from interface:PredicatedAdd an additional predicate to this object.- Specified by:
addPredicatein interfacePredicated- Parameters:
predicate- the predicate to add
-
getPredicates
Deprecated.Description copied from interface:PredicatedReturns a possibly empty list of predicates.- Specified by:
getPredicatesin interfacePredicated- Returns:
- the list of predicates
-
getPredicateSet
Deprecated.Description copied from interface:PredicatedReturns a possibly empty set of predicates.- Specified by:
getPredicateSetin interfacePredicated- Returns:
- the set of predicates
-
getAxis
-
getIterableAxis
Deprecated. -
getAxisName
Deprecated. -
getText
-
toString
-
simplify
-
axisIterator
public Iterator axisIterator(Object contextNode, ContextSupport support) throws UnsupportedAxisException Deprecated.Description copied from interface:StepGet an Iterator for the current axis starting in the given contextNode.- Specified by:
axisIteratorin interfaceStep- Parameters:
contextNode- the node from which to follow this stepsupport- the remaining context for the traversal- Returns:
- an iterator over the nodes along the axis
- Throws:
UnsupportedAxisException- if the navigator does not support this step's axis
-
evaluate
Deprecated.Description copied from interface:StepFor each node in the given context calls matches() for every node on the axis, then filters the result by each of the predicates.- Specified by:
evaluatein interfaceStep- Returns:
- a list of matching nodes
- Throws:
JaxenException
-