|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.type.ref.SimpleVarRef
public class SimpleVarRef
Constructor Summary | |
---|---|
SimpleVarRef(PageContextImpl pc,
String key)
|
Method Summary | |
---|---|
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)
|
Object |
touch(PageContext pc)
create it when not exist |
Object |
touchEL(PageContext pc)
create it when not exist |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleVarRef(PageContextImpl pc, String key)
Method Detail |
---|
public Object get(PageContext pc) throws PageException
get
in interface Reference
pc
- PageContext of the actuell Request
PageException
public Object get(PageContext pc, Object defaultValue)
get
in interface Reference
pc
- PageContext of the actuell Request
public Collection.Key getKey() throws PageException
getKey
in interface Reference
PageException
public String getKeyAsString() throws PageException
getKeyAsString
in interface Reference
PageException
public Object getParent()
getParent
in interface Reference
public Object remove(PageContext pc) throws PageException
Reference
remove
in interface Reference
PageException
public Object removeEL(PageContext pc)
Reference
removeEL
in interface Reference
public Object set(PageContext pc, Object value) throws PageException
set
in interface Reference
pc
- PageContext of the actuell Requestvalue
- resets the value of the variable
PageException
public Object setEL(PageContext pc, Object value)
setEL
in interface Reference
pc
- PageContext of the actuell Requestvalue
- resets the value of the variable
public Object touch(PageContext pc) throws PageException
Reference
touch
in interface Reference
PageException
public Object touchEL(PageContext pc)
Reference
touchEL
in interface Reference
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |