railo.runtime.interpreter.ref.var
Class Scope

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

public final class Scope
extends RefSupport
implements Set


Constructor Summary
Scope(PageContext pc, int scope)
          contructor of the class
 
Method Summary
 Ref getKey()
           
 String getKeyAsString()
           
 Ref getParent()
           
 int getScope()
           
 String getTypeName()
          return the name name of a reference
 Object getValue()
          return the value for that the reference is for
 Object setValue(Object obj)
           
 Object touchValue()
          return the value for that the reference is for
 
Methods inherited from class railo.runtime.interpreter.ref.RefSupport
eeq, getCollection
 
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, getCollection
 

Constructor Detail

Scope

public Scope(PageContext pc,
             int scope)
contructor of the class

Parameters:
pc -
scope -
Method Detail

getValue

public Object getValue()
                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
See Also:
Ref.getValue()

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
See Also:
Ref.getTypeName()

touchValue

public Object touchValue()
                  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
See Also:
Ref.touchValue()

setValue

public Object setValue(Object obj)
                throws PageException
Specified by:
setValue in interface Set
Returns:
sets a value
Throws:
PageException
See Also:
Set.setValue(java.lang.Object)

getScope

public int getScope()
Returns:
scope

getParent

public Ref getParent()
              throws PageException
Specified by:
getParent in interface Set
Throws:
PageException
See Also:
Set.getParent()

getKey

public Ref getKey()
           throws PageException
Specified by:
getKey in interface Set
Throws:
PageException
See Also:
Set.getKey()

getKeyAsString

public String getKeyAsString()
                      throws PageException
Specified by:
getKeyAsString in interface Set
Throws:
PageException
See Also:
Set.getKey()


Copyright © 2012 Railo