railo.runtime.interpreter.ref.var
Class Variable

java.lang.Object
  extended by railo.runtime.interpreter.ref.RefSupport
      extended by railo.runtime.interpreter.ref.var.Variable
All Implemented Interfaces:
Ref, Set

public final class Variable
extends RefSupport
implements Set


Constructor Summary
Variable(Ref parent, Ref refKey)
           
Variable(Ref parent, String key)
           
 
Method Summary
 Object getCollection(PageContext pc)
          return the value for that the reference is for
 Ref getKey(PageContext pc)
           
 String getKeyAsString(PageContext pc)
           
 Ref getParent(PageContext pc)
           
 String getTypeName()
          return the name name of a reference
 Object getValue(PageContext pc)
          return the value for that the reference is for
 Object setValue(PageContext pc, Object obj)
           
 Object touchValue(PageContext pc)
          return the value for that the reference is for
 
Methods inherited from class railo.runtime.interpreter.ref.RefSupport
eeq
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface railo.runtime.interpreter.ref.Ref
eeq
 

Constructor Detail

Variable

public Variable(Ref parent,
                String key)
Parameters:
pc -
parent -
key -

Variable

public Variable(Ref parent,
                Ref refKey)
Parameters:
pc -
parent -
refKey -
Method Detail

getValue

public Object getValue(PageContext pc)
                throws PageException
Description copied from interface: Ref
return the value for that the reference is for

Specified by:
getValue in interface Ref
Returns:
value to reference
Throws:
PageException

touchValue

public Object touchValue(PageContext pc)
                  throws PageException
Description copied from interface: Ref
return the value for that the reference is for

Specified by:
touchValue in interface Ref
Overrides:
touchValue in class RefSupport
Returns:
value to reference
Throws:
PageException

getCollection

public Object getCollection(PageContext pc)
                     throws PageException
Description copied from interface: Ref
return the value for that the reference is for

Specified by:
getCollection in interface Ref
Overrides:
getCollection in class RefSupport
Returns:
value to reference
Throws:
PageException

setValue

public Object setValue(PageContext pc,
                       Object obj)
                throws PageException
Specified by:
setValue in interface Set
Returns:
sets a value
Throws:
PageException

getTypeName

public String getTypeName()
Description copied from interface: Ref
return the name name of a reference

Specified by:
getTypeName in interface Ref
Returns:
type as string

getKey

public Ref getKey(PageContext pc)
           throws PageException
Specified by:
getKey in interface Set
Throws:
PageException

getKeyAsString

public String getKeyAsString(PageContext pc)
                      throws PageException
Specified by:
getKeyAsString in interface Set
Throws:
PageException

getParent

public Ref getParent(PageContext pc)
              throws PageException
Specified by:
getParent in interface Set
Throws:
PageException


Copyright © 2012 Railo