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, toString
public XmlBeanAddAttribute(java.lang.Class<T> cl)
public ConfigType<T> getConfigType()
Attribute
getConfigType
in class Attribute
public boolean isProgram()
public java.lang.Object create(java.lang.Object parent, QName qName) throws ConfigException
create
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 void setText(java.lang.Object bean, QName name, java.lang.String text) throws ConfigException
setText
in class Attribute
ConfigException