net.sf.swan.xpath.expr
Class DefaultVariableReferenceExpr

java.lang.Object
  |
  +--net.sf.swan.xpath.expr.DefaultVariableReferenceExpr
All Implemented Interfaces:
org.jaxen.expr.Expr, java.io.Serializable, org.jaxen.expr.VariableReferenceExpr, org.jaxen.expr.Visitable

public class DefaultVariableReferenceExpr
extends java.lang.Object
implements org.jaxen.expr.VariableReferenceExpr

See Also:
Serialized Form

Constructor Summary
DefaultVariableReferenceExpr(java.lang.String namespaceUri, java.lang.String prefix, java.lang.String localName)
           
 
Method Summary
 void accept(org.jaxen.expr.Visitor visitor)
           
 java.lang.Object evaluate(org.jaxen.Context context)
           
 java.lang.String getPrefix()
           
 java.lang.String getText()
           
 java.lang.String getVariableName()
           
 org.jaxen.expr.Expr simplify()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultVariableReferenceExpr

public DefaultVariableReferenceExpr(java.lang.String namespaceUri,
                                    java.lang.String prefix,
                                    java.lang.String localName)
Method Detail

getPrefix

public java.lang.String getPrefix()
Specified by:
getPrefix in interface org.jaxen.expr.VariableReferenceExpr

getVariableName

public java.lang.String getVariableName()
Specified by:
getVariableName in interface org.jaxen.expr.VariableReferenceExpr

simplify

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

evaluate

public java.lang.Object evaluate(org.jaxen.Context context)
                          throws org.jaxen.JaxenException
Specified by:
evaluate in interface org.jaxen.expr.Expr

getText

public java.lang.String getText()
Specified by:
getText in interface org.jaxen.expr.Expr

accept

public void accept(org.jaxen.expr.Visitor visitor)
Specified by:
accept in interface org.jaxen.expr.Visitable