com.caucho.quercus.env
Class EnvVar

java.lang.Object
  extended by com.caucho.quercus.env.EnvVar
Direct Known Subclasses:
EnvVarImpl, LazySaveEnvVar

public abstract class EnvVar
extends java.lang.Object

Encapsulates an environment entry for a variable. The EnvVar is a container for Vars.


Constructor Summary
EnvVar()
           
 
Method Summary
abstract  Value get()
          Returns the current value.
abstract  Var getVar()
          Returns the current Var.
abstract  Value set(Value value)
          Sets the current value.
 Var setRef(Value value)
          Sets the value as a reference.
abstract  Var setVar(Var var)
          Sets the var.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvVar

public EnvVar()
Method Detail

get

public abstract Value get()
Returns the current value.


set

public abstract Value set(Value value)
Sets the current value.


getVar

public abstract Var getVar()
Returns the current Var.


setVar

public abstract Var setVar(Var var)
Sets the var.


setRef

public Var setRef(Value value)
Sets the value as a reference. If the value is a Var, it replaces the current Var, otherwise it sets the value.