public interface XelContext
| Modifier and Type | Method and Description |
|---|---|
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
|
VariableResolver getVariableResolver()
FunctionMapper getFunctionMapper()
Object getAttribute(String name)
name - the name of the attribute to retrieveObject setAttribute(String name, Object value)
name - the name of the attribute to setvalue - the value of the attribute to setboolean hasAttribute(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 testObject removeAttribute(String name)
name - the name of the attribute to remove.Copyright © 2018. All rights reserved.