com.caucho.quercus.env
Class EnvVarImpl

java.lang.Object
  extended by com.caucho.quercus.env.EnvVar
      extended by com.caucho.quercus.env.EnvVarImpl

public final class EnvVarImpl
extends EnvVar

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


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

Constructor Detail

EnvVarImpl

public EnvVarImpl(Var var)
Method Detail

get

public Value get()
Returns the current value.

Specified by:
get in class EnvVar

set

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

Specified by:
set in class EnvVar

getVar

public Var getVar()
Returns the current Var.

Specified by:
getVar in class EnvVar

setVar

public Var setVar(Var var)
Sets the var.

Specified by:
setVar in class EnvVar