public class XmlBeanAnnotationAttribute<T> extends Attribute
<mypkg:MyAttribute>
<myfield>my-value</myfield>
</mypkg:MyAttribute>
Constructor and Description |
---|
XmlBeanAnnotationAttribute(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.
|
void |
setText(java.lang.Object parent,
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, isProgram, isSetter, replaceObject, toString
public XmlBeanAnnotationAttribute(java.lang.Class<T> cl)
public ConfigType<T> getConfigType()
Attribute
getConfigType
in class Attribute
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 parent, QName name, java.lang.String text) throws ConfigException
setText
in class Attribute
ConfigException