public class TextAttribute<T> extends Attribute
| Constructor and Description |
|---|
TextAttribute(java.lang.reflect.Method setter,
java.lang.Class<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 |
isAssignableFrom(Attribute attr) |
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, isBean, isConfigurable, isEL, isInlineType, isNode, isProgram, isSetter, replaceObject, toStringpublic TextAttribute(java.lang.reflect.Method setter,
java.lang.Class<T> type)
public ConfigType<T> getConfigType()
getConfigType in class Attributepublic boolean isAssignableFrom(Attribute attr)
isAssignableFrom 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