|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XelContext
Context information for XEL evalution.
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Returns the value of the specified attribute, or null if not available. |
Map<String,Object> |
getAttributes()
Returns all attributes |
FunctionMapper |
getFunctionMapper()
Returns the function mapper, or null if not available. |
VariableResolver |
getVariableResolver()
Returns the variable resolver, or null if not available. |
boolean |
hasAttribute(String name)
Returns if the attribute is available. |
Object |
removeAttribute(String name)
Removes the attribute. |
Object |
setAttribute(String name,
Object value)
Sets the value of the specified attribute |
| Method Detail |
|---|
VariableResolver getVariableResolver()
FunctionMapper getFunctionMapper()
Object getAttribute(String name)
name - the name of the attribute to retrieve
Object setAttribute(String name,
Object value)
name - the name of the attribute to setvalue - the value of the attribute to set
boolean hasAttribute(String name)
Notice that null is a valid value, so you can
tell if an attribute is assoicated by examining the return value
of getAttribute(java.lang.String).
name - the name of the attribute to testObject removeAttribute(String name)
name - the name of the attribute to remove.
Map<String,Object> getAttributes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||