public class XmlBeanFieldAttribute extends Attribute
<mypkg:MyBean>
<foo>stuff</foo>
</mypkg:MyBean>
Constructor and Description |
---|
XmlBeanFieldAttribute(java.lang.Class cl,
java.lang.reflect.Field field) |
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 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 XmlBeanFieldAttribute(java.lang.Class cl, java.lang.reflect.Field field)
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 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