|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.type.ConfigType<T>
com.caucho.config.xml.XmlBeanType<T>
public class XmlBeanType<T>
Represents a CanDI-style introspected bean type for configuration.
Constructor Summary | |
---|---|
XmlBeanType(java.lang.Class<T> beanClass)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.caucho.config.type.ConfigType |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XmlBeanType(java.lang.Class<T> beanClass)
Method Detail |
---|
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>
protected Attribute getAttributeImpl(QName qName)
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>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |