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, toString
public TextAttribute(java.lang.reflect.Method setter, java.lang.Class<T> type)
public ConfigType<T> getConfigType()
getConfigType
in class Attribute
public boolean isAssignableFrom(Attribute attr)
isAssignableFrom
in class Attribute
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
public java.lang.Object create(java.lang.Object parent, QName name) throws ConfigException
create
in class Attribute
ConfigException