net.sf.swan.xpath.expr
Class AbsoluteStepExpr

java.lang.Object
  |
  +--net.sf.swan.xpath.expr.DefaultExpr
        |
        +--net.sf.swan.xpath.expr.NodeTestStepExpr
              |
              +--net.sf.swan.xpath.expr.AbsoluteStepExpr
All Implemented Interfaces:
org.jaxen.expr.Expr, NodeSetExpr, java.io.Serializable, org.jaxen.expr.Visitable

public class AbsoluteStepExpr
extends net.sf.swan.xpath.expr.NodeTestStepExpr

See Also:
Serialized Form

Constructor Summary
AbsoluteStepExpr(org.jaxen.expr.iter.IterableAxis axis, NodeTest nodeTest)
           
 
Method Summary
 java.lang.Object evaluate(org.jaxen.Context context)
           
protected  void evaluate(java.lang.Object contextNode, org.jaxen.ContextSupport support, java.util.List resultSet)
           
 java.lang.Object evaluateSingle(org.jaxen.Context context)
           
protected  java.lang.Object evaluateSingle(java.lang.Object contextNode, org.jaxen.ContextSupport support)
           
 org.jaxen.expr.iter.IterableAxis getIterableAxis()
           
 net.sf.swan.xpath.expr.NodeTestStepExpr getNextStep()
           
 NodeTest getNodeTest()
           
 void setNextStep(net.sf.swan.xpath.expr.NodeTestStepExpr nextStep)
           
 org.jaxen.expr.Expr simplify()
           
protected  java.util.List unique(java.util.List list)
           
 
Methods inherited from class net.sf.swan.xpath.expr.DefaultExpr
accept, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jaxen.expr.Expr
getText
 
Methods inherited from interface org.jaxen.expr.Visitable
accept
 

Constructor Detail

AbsoluteStepExpr

public AbsoluteStepExpr(org.jaxen.expr.iter.IterableAxis axis,
                        NodeTest nodeTest)
Method Detail

evaluate

public java.lang.Object evaluate(org.jaxen.Context context)
                          throws org.jaxen.JaxenException
Overrides:
evaluate in class net.sf.swan.xpath.expr.NodeTestStepExpr

evaluateSingle

public java.lang.Object evaluateSingle(org.jaxen.Context context)
                                throws org.jaxen.JaxenException
Overrides:
evaluateSingle in class net.sf.swan.xpath.expr.NodeTestStepExpr

getNodeTest

public NodeTest getNodeTest()

getIterableAxis

public org.jaxen.expr.iter.IterableAxis getIterableAxis()

getNextStep

public net.sf.swan.xpath.expr.NodeTestStepExpr getNextStep()

setNextStep

public void setNextStep(net.sf.swan.xpath.expr.NodeTestStepExpr nextStep)

simplify

public org.jaxen.expr.Expr simplify()
Specified by:
simplify in interface org.jaxen.expr.Expr

evaluateSingle

protected java.lang.Object evaluateSingle(java.lang.Object contextNode,
                                          org.jaxen.ContextSupport support)
                                   throws org.jaxen.JaxenException

evaluate

protected void evaluate(java.lang.Object contextNode,
                        org.jaxen.ContextSupport support,
                        java.util.List resultSet)
                 throws org.jaxen.JaxenException

unique

protected java.util.List unique(java.util.List list)