public class XmlBeanAttribute extends Attribute
| Modifier and Type | Field and Description |
|---|---|
static XmlBeanAttribute |
ATTRIBUTE |
| Constructor and Description |
|---|
XmlBeanAttribute(java.lang.reflect.Method setMethod,
ConfigType<?> configType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
create(java.lang.Object parent,
QName qName)
Creates the child bean.
|
ConfigType<?> |
getConfigType()
Returns the config type of the attribute value.
|
void |
setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute as text
|
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 static final XmlBeanAttribute ATTRIBUTE
public XmlBeanAttribute(java.lang.reflect.Method setMethod,
ConfigType<?> configType)
public ConfigType<?> getConfigType()
AttributegetConfigType in class Attributepublic java.lang.Object create(java.lang.Object parent,
QName qName)
throws ConfigException
create in class AttributeConfigExceptionpublic void setText(java.lang.Object bean,
QName name,
java.lang.String value)
throws ConfigException
setText in class AttributeConfigExceptionpublic void setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
throws ConfigException
setValue in class AttributeConfigException