public abstract class DefaultStep extends Object implements Step
コンストラクタと説明 |
---|
DefaultStep(IterableAxis axis,
PredicateSet predicates)
非推奨です。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addPredicate(Predicate predicate)
非推奨です。
Add an additional predicate to this object.
|
Iterator |
axisIterator(Object contextNode,
ContextSupport support)
非推奨です。
Get an Iterator for the current axis starting in the given contextNode.
|
List |
evaluate(Context context)
非推奨です。
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()
非推奨です。
Get an identifier for the current axis.
|
String |
getAxisName()
非推奨です。
|
IterableAxis |
getIterableAxis()
非推奨です。
|
List |
getPredicates()
非推奨です。
Returns a possibly empty list of predicates.
|
PredicateSet |
getPredicateSet()
非推奨です。
Returns a possibly empty set of predicates.
|
String |
getText()
非推奨です。
Returns a
String containing the XPath expression. |
void |
simplify()
非推奨です。
Simplifies the XPath step.
|
String |
toString()
非推奨です。
|
public DefaultStep(IterableAxis axis, PredicateSet predicates)
public void addPredicate(Predicate predicate)
Predicated
addPredicate
インタフェース内 Predicated
predicate
- the predicate to addpublic List getPredicates()
Predicated
getPredicates
インタフェース内 Predicated
public PredicateSet getPredicateSet()
Predicated
getPredicateSet
インタフェース内 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
インタフェース内 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
インタフェース内 Step
JaxenException
Copyright © 2001-2013 Codehaus. All Rights Reserved.