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