public class AnnotationAttribute<T> extends Attribute
| Constructor and Description |
|---|
AnnotationAttribute(java.lang.String name,
java.lang.Class<T> type,
boolean isEL) |
| 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 |
isInlineType(ConfigType<?> type)
True if it allows inline beans
|
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, isAllowText, isAssignableFrom, isAssignableFrom, isBean, isConfigurable, isEL, isNode, isProgram, isSetter, replaceObject, toStringpublic AnnotationAttribute(java.lang.String name,
java.lang.Class<T> type,
boolean isEL)
public ConfigType<T> getConfigType()
getConfigType in class Attributepublic boolean isInlineType(ConfigType<?> type)
isInlineType in class Attributepublic java.lang.Object create(java.lang.Object parent,
QName name)
throws ConfigException
create in class AttributeConfigExceptionpublic 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 AttributeConfigException