|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jaxen.expr.DefaultStep
public abstract class DefaultStep
| Field Summary | |
|---|---|
private IterableAxis |
axis
Deprecated. |
private PredicateSet |
predicates
Deprecated. |
| Constructor Summary | |
|---|---|
DefaultStep(IterableAxis axis,
PredicateSet predicates)
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jaxen.expr.Step |
|---|
matches |
| Field Detail |
|---|
private IterableAxis axis
private PredicateSet predicates
| Constructor Detail |
|---|
public DefaultStep(IterableAxis axis,
PredicateSet predicates)
| Method Detail |
|---|
public void addPredicate(Predicate predicate)
Predicated
addPredicate in interface Predicatedpredicate - the predicate to addpublic java.util.List getPredicates()
Predicated
getPredicates in interface Predicatedpublic PredicateSet getPredicateSet()
Predicated
getPredicateSet in interface Predicatedpublic int getAxis()
Step
getAxis in interface StepAxispublic IterableAxis getIterableAxis()
public java.lang.String getAxisName()
public java.lang.String getText()
StepString containing the XPath expression.
getText in interface Steppublic java.lang.String toString()
toString in class java.lang.Objectpublic void simplify()
Step
simplify in interface Step
public java.util.Iterator axisIterator(java.lang.Object contextNode,
ContextSupport support)
throws UnsupportedAxisException
Step
axisIterator in interface StepcontextNode - the node from which to follow this stepsupport - the remaining context for the traversal
UnsupportedAxisException - if the navigator does not support this step's axis
public java.util.List evaluate(Context context)
throws JaxenException
Step
evaluate in interface StepJaxenException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||