org.planx.xpath.expr
Class VariableReference

java.lang.Object
  extended by org.planx.xpath.expr.Expression
      extended by org.planx.xpath.expr.VariableReference

public class VariableReference
extends Expression

Represents a variable reference.


Constructor Summary
VariableReference(String varName)
           
 
Method Summary
 XObject evaluate(Context ctxt, Environment env, Navigator nav)
          Evaluate the expression for the given context using the specified environment.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VariableReference

public VariableReference(String varName)
Method Detail

evaluate

public XObject evaluate(Context ctxt,
                        Environment env,
                        Navigator nav)
                 throws XPathException
Description copied from class: Expression
Evaluate the expression for the given context using the specified environment.

Specified by:
evaluate in class Expression
Throws:
XPathException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.