public abstract class DefaultStep extends Object implements Step
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.
|
Iterator |
axisIterator(Object contextNode,
ContextSupport support)
Deprecated.
Get an Iterator for the current axis starting in the given contextNode.
|
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.
|
String |
getAxisName()
Deprecated.
|
IterableAxis |
getIterableAxis()
Deprecated.
|
List |
getPredicates()
Deprecated.
Returns a possibly empty list of predicates.
|
PredicateSet |
getPredicateSet()
Deprecated.
Returns a possibly empty set of predicates.
|
String |
getText()
Deprecated.
Returns a
String containing the XPath expression. |
void |
simplify()
Deprecated.
Simplifies the XPath step.
|
String |
toString()
Deprecated.
|
public DefaultStep(IterableAxis axis, PredicateSet predicates)
public void addPredicate(Predicate predicate)
Predicated
addPredicate
in interface Predicated
predicate
- the predicate to addpublic List getPredicates()
Predicated
getPredicates
in interface Predicated
public PredicateSet getPredicateSet()
Predicated
getPredicateSet
in interface Predicated
public int getAxis()
Step
public IterableAxis getIterableAxis()
public String getAxisName()
public String getText()
Step
String
containing the XPath expression.public void simplify()
Step
public Iterator axisIterator(Object contextNode, ContextSupport support) throws UnsupportedAxisException
Step
axisIterator
in interface Step
contextNode
- the node from which to follow this stepsupport
- the remaining context for the traversalUnsupportedAxisException
- if the navigator does not support this step's axispublic List evaluate(Context context) throws JaxenException
Step
evaluate
in interface Step
JaxenException
Copyright © 2001–2015 Codehaus. All rights reserved.