public interface AttributeAware extends Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
containsAttribute(String name)
Returns true if there is a value for the given name
|
<T> T |
getAttribute(String name,
Class<T> targetType)
Exposes the value for the given name
|
Object |
setAttribute(String name,
Object value)
Sets an attribute
|
Object setAttribute(String name, Object value)
name
- name of the attributevalue
- value of the attribute (null values aren't allowed)null
if no previous value did existboolean containsAttribute(String name)
name
- name of the argument in questionCopyright © 2014 The Apache Software Foundation. All rights reserved.