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, toString
public static final XmlBeanAttribute ATTRIBUTE
public XmlBeanAttribute(java.lang.reflect.Method setMethod, ConfigType<?> configType)
public ConfigType<?> 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 setText(java.lang.Object bean, QName name, java.lang.String value) throws ConfigException
setText
in class Attribute
ConfigException
public void setValue(java.lang.Object bean, QName name, java.lang.Object value) throws ConfigException
setValue
in class Attribute
ConfigException