public class XmlBeanType<T> extends ConfigType<T>
Constructor and Description |
---|
XmlBeanType(java.lang.Class<T> beanClass) |
Modifier and Type | Method and Description |
---|---|
void |
beforeConfigure(XmlConfigContext builder,
java.lang.Object bean,
org.w3c.dom.Node node)
Called before the children are configured.
|
java.lang.Object |
create(java.lang.Object parent,
QName name)
Creates a new instance
|
Attribute |
getAttribute(QName qName)
Returns the attribute with the given name.
|
protected Attribute |
getAttributeImpl(QName qName) |
Attribute |
getProgramAttribute()
Returns the program attribute.
|
java.lang.Class<T> |
getType()
Returns the given type.
|
void |
init(java.lang.Object bean)
Initialize the type
|
java.lang.String |
toString() |
java.lang.Object |
valueOf(java.lang.String text)
Converts the string to a value of the type.
|
afterConfigure, beforeConfigureBean, carefulIntrospect, createType, getAddAttribute, getAddBeanAttribute, getComponentType, getConstructor, getContentProgramAttribute, getDefaultAttribute, getType, getTypeName, inject, introspect, isArray, isBean, isConstructableFromString, isEL, isEnvBean, isInlineType, isNode, isNoTrim, isProgram, isQualifier, isReplace, replaceObject, setEnvBean, setProperty, valueOf, valueOf
public XmlBeanType(java.lang.Class<T> beanClass)
public java.lang.Class<T> getType()
getType
in class ConfigType<T>
public java.lang.Object create(java.lang.Object parent, QName name)
create
in class ConfigType<T>
public Attribute getAttribute(QName qName)
getAttribute
in class ConfigType<T>
public Attribute getProgramAttribute()
ConfigType
getProgramAttribute
in class ConfigType<T>
public void beforeConfigure(XmlConfigContext builder, java.lang.Object bean, org.w3c.dom.Node node)
beforeConfigure
in class ConfigType<T>
public java.lang.Object valueOf(java.lang.String text)
valueOf
in class ConfigType<T>
public void init(java.lang.Object bean)
init
in class ConfigType<T>
public java.lang.String toString()
toString
in class ConfigType<T>