public class XmlBeanAddAttribute<T> extends Attribute
| Constructor and Description |
|---|
XmlBeanAddAttribute(java.lang.Class<T> cl) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
create(java.lang.Object parent,
QName qName)
Creates the child bean.
|
ConfigType<T> |
getConfigType()
Returns the config type of the attribute value.
|
boolean |
isProgram()
Returns true for a program-style attribute.
|
void |
setText(java.lang.Object bean,
QName name,
java.lang.String text)
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, isInlineType, isNode, isSetter, replaceObject, toStringpublic XmlBeanAddAttribute(java.lang.Class<T> cl)
public ConfigType<T> getConfigType()
AttributegetConfigType in class Attributepublic boolean isProgram()
public java.lang.Object create(java.lang.Object parent,
QName qName)
throws ConfigException
create in class AttributeConfigExceptionpublic void setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
throws ConfigException
setValue in class AttributeConfigExceptionpublic void setText(java.lang.Object bean,
QName name,
java.lang.String text)
throws ConfigException
setText in class AttributeConfigException