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, toStringpublic XmlBeanAnnotationAttribute(java.lang.Class<T> cl)
public ConfigType<T> getConfigType()
AttributegetConfigType in class Attributepublic 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 parent,
QName name,
java.lang.String text)
throws ConfigException
setText in class AttributeConfigException