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