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, toString
public AnnotationAttribute(java.lang.String name, java.lang.Class<T> type, boolean isEL)
public ConfigType<T> getConfigType()
getConfigType
in class Attribute
public boolean isInlineType(ConfigType<?> type)
isInlineType
in class Attribute
public java.lang.Object create(java.lang.Object parent, QName name) throws ConfigException
create
in class Attribute
ConfigException
public void setText(java.lang.Object bean, QName name, java.lang.String value) throws ConfigException
setText
in class Attribute
ConfigException
public void setValue(java.lang.Object bean, QName name, java.lang.Object value) throws ConfigException
setValue
in class Attribute
ConfigException