public class ArrayType<T,X> extends ConfigType<T>
Constructor and Description |
---|
ArrayType(ConfigType<X> componentType,
java.lang.Class<X> componentClass) |
Modifier and Type | Method and Description |
---|---|
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.
|
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
public ArrayType(ConfigType<X> componentType, java.lang.Class<X> componentClass)
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>