public class MapAttributeResolver extends Object implements AttributeResolver
| Constructor and Description |
|---|
MapAttributeResolver() |
MapAttributeResolver(Map attributes) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(Object attrKey)
Return an attribute from this resolver.
|
Set |
getKeys()
Returns the set of keys of the attributes bound in that resolver.
|
void |
setAttribute(Object attrKey,
Object attrValue)
Update an attribute value on this resolve.
|
public MapAttributeResolver(Map attributes)
public MapAttributeResolver()
public Set getKeys()
AttributeResolvergetKeys in interface AttributeResolverpublic Object getAttribute(Object attrKey) throws IllegalArgumentException
AttributeResolvergetAttribute in interface AttributeResolverIllegalArgumentException - if the attribute key is not validpublic void setAttribute(Object attrKey, Object attrValue) throws IllegalArgumentException
AttributeResolversetAttribute in interface AttributeResolverattrValue - the attribute valueIllegalArgumentException - if the attribute key is not validCopyright © 2003-2019 GateIn. All Rights Reserved.