Package org.jaxen.expr
Class DefaultTextNodeStep
- java.lang.Object
-
- org.jaxen.expr.DefaultStep
-
- org.jaxen.expr.DefaultTextNodeStep
-
- All Implemented Interfaces:
java.io.Serializable
,Predicated
,Step
,TextNodeStep
public class DefaultTextNodeStep extends DefaultStep implements TextNodeStep
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getText()
Returns aString
containing the XPath expression.boolean
matches(java.lang.Object node, ContextSupport support)
Performs the node-test part of evaluating the step for the given node (which must be on the axis).-
Methods inherited from class org.jaxen.expr.DefaultStep
addPredicate, axisIterator, evaluate, getAxis, getAxisName, getIterableAxis, getPredicates, getPredicateSet, simplify, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jaxen.expr.Predicated
addPredicate, getPredicates, getPredicateSet
-
Methods inherited from interface org.jaxen.expr.Step
axisIterator, evaluate, getAxis, simplify
-
-
-
-
Method Detail
-
matches
public boolean matches(java.lang.Object node, ContextSupport support)
Description copied from interface:Step
Performs the node-test part of evaluating the step for the given node (which must be on the axis).
-
getText
public java.lang.String getText()
Description copied from interface:Step
Returns aString
containing the XPath expression.- Specified by:
getText
in interfaceStep
- Overrides:
getText
in classDefaultStep
- Returns:
- the text form of this step
-
-