public interface XelContext
Modifier and Type | Method and Description |
---|---|
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
|
VariableResolver getVariableResolver()
FunctionMapper getFunctionMapper()
java.lang.Object getAttribute(java.lang.String name)
name
- the name of the attribute to retrievejava.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 setboolean 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()
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.