public class EnvironmentAttribute<T> extends Attribute
| Constructor and Description |
|---|
EnvironmentAttribute(ConfigType<T> type) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
create(java.lang.Object parent,
QName name)
Creates the child bean.
|
ConfigType<T> |
getConfigType()
Returns the config type of the attribute value.
|
boolean |
isAllowText()
True if it allows text.
|
void |
setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute
|
void |
setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
create, getType, isAllowInline, isAssignableFrom, isAssignableFrom, isBean, isConfigurable, isEL, isInlineType, isNode, isProgram, isSetter, replaceObject, toStringpublic EnvironmentAttribute(ConfigType<T> type)
public ConfigType<T> getConfigType()
getConfigType in class Attributepublic boolean isAllowText()
AttributeisAllowText in class Attributepublic void setText(java.lang.Object bean,
QName name,
java.lang.String value)
throws ConfigException
setText in class AttributeConfigExceptionpublic void setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
throws ConfigException
setValue in class AttributeConfigExceptionpublic java.lang.Object create(java.lang.Object parent,
QName name)
throws ConfigException
create in class AttributeConfigException