net.sf.swan.xpath.expr
Class NamedAttributeStepExpr

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

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

See Also:
Serialized Form

Constructor Summary
NamedAttributeStepExpr(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

NamedAttributeStepExpr

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

setNextStep

public void setNextStep(net.sf.swan.xpath.expr.NodeTestStepExpr nextStep)
Overrides:
setNextStep in class net.sf.swan.xpath.expr.NodeTestStepExpr

evaluate

public java.lang.Object evaluate(org.jaxen.Context context)
                          throws org.jaxen.JaxenException
Overrides:
evaluate 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()

simplify

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

evaluateSingle

public java.lang.Object evaluateSingle(org.jaxen.Context context)
                                throws org.jaxen.JaxenException
Specified by:
evaluateSingle in interface NodeSetExpr

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)