net.sf.swan.xpath.pattern
Class Step
java.lang.Object
|
+--net.sf.swan.xpath.pattern.PredicatedPattern
|
+--net.sf.swan.xpath.pattern.Step
- All Implemented Interfaces:
- NodeTypes, Pattern
- Direct Known Subclasses:
- ChildOrAttributeStep, DescendantStep
- public abstract class Step
- extends PredicatedPattern
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Step
public Step(NodeTest nodeTest,
Pattern parentStep)
setParentPattern
public void setParentPattern(Pattern parent)
getParentPattern
public Pattern getParentPattern()
getDefaultPriority
public double getDefaultPriority()
getMatchNodeType
public short getMatchNodeType()
getMatchNodeName
public java.lang.String getMatchNodeName()
getNodeTest
public NodeTest getNodeTest()
simplify
public Pattern simplify()
match
public boolean match(java.lang.Object node,
org.jaxen.ContextSupport support)
throws org.jaxen.JaxenException
matchNext
protected abstract boolean matchNext(java.lang.Object originNode,
org.jaxen.ContextSupport support,
Pattern next)
throws org.jaxen.JaxenException