org.jaxen.expr
Class DefaultStep
java.lang.Object
|
+--org.jaxen.expr.DefaultStep
- All Implemented Interfaces:
- Predicated, Serializable, Step, Visitable
- Direct Known Subclasses:
- DefaultAllNodeStep, DefaultCommentNodeStep, DefaultNameStep, DefaultProcessingInstructionNodeStep, DefaultTextNodeStep
- public abstract class DefaultStep
- extends Object
- implements Step
- See Also:
- Serialized Form
Methods inherited from interface org.jaxen.expr.Step |
matches |
DefaultStep
public DefaultStep(IterableAxis axis,
PredicateSet predicates)
addPredicate
public void addPredicate(Predicate predicate)
- Specified by:
addPredicate
in interface Predicated
getPredicates
public List getPredicates()
- Specified by:
getPredicates
in interface Predicated
getPredicateSet
public PredicateSet getPredicateSet()
- Specified by:
getPredicateSet
in interface Predicated
getAxis
public int getAxis()
- Description copied from interface:
Step
- Get an identifier for the current axis.
- Specified by:
getAxis
in interface Step
- See Also:
Axis
getIterableAxis
public IterableAxis getIterableAxis()
getAxisName
public String getAxisName()
getText
public String getText()
- Specified by:
getText
in interface Step
toString
public String toString()
- Overrides:
toString
in class Object
simplify
public void simplify()
- Specified by:
simplify
in interface Step
axisIterator
public Iterator axisIterator(Object contextNode,
ContextSupport support)
throws UnsupportedAxisException
- Description copied from interface:
Step
- Get an Iterator for the current axis starting in the given contextNode.
- Specified by:
axisIterator
in interface Step
UnsupportedAxisException
evaluate
public List evaluate(Context context)
throws JaxenException
- Description copied from interface:
Step
- For 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:
evaluate
in interface Step
JaxenException
Copyright © 2001-2003 Codehaus. All Rights Reserved.