|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.attribute.Attribute
com.caucho.config.attribute.AnnotationAttribute<T>
public class AnnotationAttribute<T>
Constructor Summary | |
---|---|
AnnotationAttribute(java.lang.String name,
java.lang.Class<T> type,
boolean isEL)
|
Method Summary | |
---|---|
java.lang.Object |
create(java.lang.Object parent,
QName name)
Creates the child bean. |
ConfigType<T> |
getConfigType()
Returns the config type of the attribute value. |
boolean |
isInlineType(ConfigType<?> type)
True if it allows inline beans |
void |
setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute |
void |
setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute |
Methods inherited from class com.caucho.config.attribute.Attribute |
---|
create, getType, isAllowInline, isAllowText, isAssignableFrom, isAssignableFrom, isBean, isConfigurable, isEL, isNode, isProgram, isSetter, replaceObject, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnnotationAttribute(java.lang.String name, java.lang.Class<T> type, boolean isEL)
Method Detail |
---|
public ConfigType<T> getConfigType()
getConfigType
in class Attribute
public boolean isInlineType(ConfigType<?> type)
isInlineType
in class Attribute
public java.lang.Object create(java.lang.Object parent, QName name) 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |