public final class ReferenceReference extends Object implements Reference
Constructor and Description |
---|
ReferenceReference(Reference reference,
String key) |
Modifier and Type | Method and Description |
---|---|
Object |
get(PageContext pc) |
Object |
get(PageContext pc,
Object defaultValue) |
Collection.Key |
getKey() |
String |
getKeyAsString() |
Object |
getParent() |
Object |
remove(PageContext pc)
clears the variable from collection
|
Object |
removeEL(PageContext pc)
clears the variable from collection
|
Object |
set(PageContext pc,
Object value) |
Object |
setEL(PageContext pc,
Object value) |
String |
toString() |
Object |
touch(PageContext pc)
create it when not exist
|
Object |
touchEL(PageContext pc)
create it when not exist
|
public ReferenceReference(Reference reference, String key)
reference
- key
- public Collection.Key getKey()
public String getKeyAsString()
getKeyAsString
in interface Reference
public Object get(PageContext pc) throws PageException
get
in interface Reference
pc
- PageContext of the actuell RequestPageException
public Object get(PageContext pc, Object defaultValue)
public Object set(PageContext pc, Object value) throws PageException
set
in interface Reference
pc
- PageContext of the actuell Requestvalue
- resets the value of the variablePageException
public Object setEL(PageContext pc, Object value)
public Object touch(PageContext pc) throws PageException
Reference
touch
in interface Reference
PageException
public Object touchEL(PageContext pc)
Reference
public Object remove(PageContext pc) throws PageException
Reference
remove
in interface Reference
PageException
public Object removeEL(PageContext pc)
Reference
Copyright © 2015 Lucee