|
||||||||||
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.type.AnnotationInterfaceType<T>
public class AnnotationInterfaceType<T>
Represents an introspected bean type for configuration.
Constructor Summary | |
---|---|
AnnotationInterfaceType(java.lang.Class<T> annClass)
|
Method Summary | |
---|---|
java.lang.Object |
create(java.lang.Object parent,
QName name)
Creates a new instance of the type. |
Attribute |
getAttribute(QName qName)
Returns the attribute with the given name. |
java.lang.Class<T> |
getType()
Returns the given type. |
boolean |
isQualifier()
Returns true for a qualifier annotation |
java.lang.Object |
replaceObject(java.lang.Object bean)
Returns the annotation |
java.lang.String |
toString()
|
java.lang.String |
toString(java.util.HashMap<java.lang.String,java.lang.Object> valueMap)
|
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, beforeConfigure, beforeConfigureBean, carefulIntrospect, createType, getAddAttribute, getAddBeanAttribute, getComponentType, getConstructor, getContentProgramAttribute, getDefaultAttribute, getProgramAttribute, getType, getTypeName, init, inject, introspect, isArray, isBean, isConstructableFromString, isEL, isEnvBean, isInlineType, isNode, isNoTrim, isProgram, isReplace, setEnvBean, setProperty, valueOf, valueOf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnnotationInterfaceType(java.lang.Class<T> annClass)
Method Detail |
---|
public java.lang.Class<T> getType()
getType
in class ConfigType<T>
public boolean isQualifier()
ConfigType
isQualifier
in class ConfigType<T>
public java.lang.Object create(java.lang.Object parent, QName name)
create
in class ConfigType<T>
public java.lang.Object replaceObject(java.lang.Object bean)
replaceObject
in class ConfigType<T>
public java.lang.Object valueOf(java.lang.String text)
valueOf
in class ConfigType<T>
public Attribute getAttribute(QName qName)
getAttribute
in class ConfigType<T>
public java.lang.String toString(java.util.HashMap<java.lang.String,java.lang.Object> valueMap)
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 |