public abstract class DefaultStep extends java.lang.Object implements Step
| Modifier and Type | Field and Description |
|---|---|
private IterableAxis |
axis
Deprecated.
|
private PredicateSet |
predicates
Deprecated.
|
| Constructor and Description |
|---|
DefaultStep(IterableAxis axis,
PredicateSet predicates)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPredicate(Predicate predicate)
Deprecated.
Add an additional predicate to this object.
|
java.util.Iterator |
axisIterator(java.lang.Object contextNode,
ContextSupport support)
Deprecated.
Get an Iterator for the current axis starting in the given contextNode.
|
java.util.List |
evaluate(Context context)
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.
|
int |
getAxis()
Deprecated.
Get an identifier for the current axis.
|
java.lang.String |
getAxisName()
Deprecated.
|
IterableAxis |
getIterableAxis()
Deprecated.
|
java.util.List |
getPredicates()
Deprecated.
Returns a possibly empty list of predicates.
|
PredicateSet |
getPredicateSet()
Deprecated.
Returns a possibly empty set of predicates.
|
java.lang.String |
getText()
Deprecated.
Returns a
String containing the XPath expression. |
void |
simplify()
Deprecated.
Simplifies the XPath step.
|
java.lang.String |
toString()
Deprecated.
|
private IterableAxis axis
private PredicateSet predicates
public DefaultStep(IterableAxis axis, PredicateSet predicates)
public void addPredicate(Predicate predicate)
PredicatedaddPredicate in interface Predicatedpredicate - the predicate to addpublic java.util.List getPredicates()
PredicatedgetPredicates in interface Predicatedpublic PredicateSet getPredicateSet()
PredicatedgetPredicateSet in interface Predicatedpublic int getAxis()
Steppublic IterableAxis getIterableAxis()
public java.lang.String getAxisName()
public java.lang.String getText()
StepString containing the XPath expression.public java.lang.String toString()
toString in class java.lang.Objectpublic void simplify()
Steppublic java.util.Iterator axisIterator(java.lang.Object contextNode,
ContextSupport support)
throws UnsupportedAxisException
StepaxisIterator in interface StepcontextNode - the node from which to follow this stepsupport - the remaining context for the traversalUnsupportedAxisException - if the navigator does not support this step's axispublic java.util.List evaluate(Context context) throws JaxenException
Stepevaluate in interface StepJaxenException