|
||||||||||
| 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.ArrayType<T,X>
public class ArrayType<T,X>
Represents an array of values for configuration.
| Constructor Summary | |
|---|---|
ArrayType(ConfigType<X> componentType,
java.lang.Class<X> componentClass)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
create(java.lang.Object parent,
QName name)
Creates a new instance |
Attribute |
getAttribute(QName name)
Returns the attribute based on the given name. |
ConfigType<X> |
getComponentType()
|
java.lang.Class<T> |
getType()
Returns the given type. |
boolean |
isArray()
Returns true for an array type |
boolean |
isInlineType(ConfigType<?> type)
|
java.lang.Object |
replaceObject(java.lang.Object value)
Replaces the object. |
java.lang.String |
toString()
|
java.lang.Object |
valueOf(java.lang.String text)
Converts the string to the given value. |
| Methods inherited from class com.caucho.config.type.ConfigType |
|---|
afterConfigure, beforeConfigure, beforeConfigureBean, carefulIntrospect, createType, getAddAttribute, getAddBeanAttribute, getConstructor, getContentProgramAttribute, getDefaultAttribute, getProgramAttribute, getType, getTypeName, init, inject, introspect, isBean, isConstructableFromString, isEL, isEnvBean, isNode, isNoTrim, isProgram, isQualifier, 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 ArrayType(ConfigType<X> componentType,
java.lang.Class<X> componentClass)
| Method Detail |
|---|
public boolean isArray()
ConfigType
isArray in class ConfigType<T>public ConfigType<X> getComponentType()
getComponentType in class ConfigType<T>public java.lang.Class<T> getType()
getType in class ConfigType<T>public boolean isInlineType(ConfigType<?> type)
isInlineType in class ConfigType<T>
public java.lang.Object create(java.lang.Object parent,
QName name)
create in class ConfigType<T>public Attribute getAttribute(QName name)
getAttribute in class ConfigType<T>public java.lang.Object replaceObject(java.lang.Object value)
replaceObject in class ConfigType<T>public java.lang.Object valueOf(java.lang.String text)
valueOf 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 | |||||||||