com.caucho.config.type
Class ListType

java.lang.Object
  extended by com.caucho.config.type.ConfigType
      extended by com.caucho.config.type.ListType

public class ListType
extends ConfigType

Represents an introspected bean type for configuration.


Constructor Summary
ListType()
           
ListType(java.lang.Class<?> listClass)
           
 
Method Summary
 java.lang.Object create(java.lang.Object parent)
          Creates a new instance
 Attribute getAttribute(QName name)
          Returns the attribute based on the given name.
 java.lang.Class<?> getType()
          Returns the given type.
 java.lang.String getTypeName()
          Returns a printable name of the type.
 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, create, createType, getAddAttribute, getAddBeanAttribute, getComponentType, getConstructor, getContentProgramAttribute, getDefaultAttribute, getProgramAttribute, getType, init, inject, introspect, isArray, isBean, isConstructableFromString, isEL, isEnvBean, isInlineType, isNode, isNoTrim, isProgram, isQualifier, isReplace, replaceObject, setEnvBean, setProperty, valueOf, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListType

public ListType()

ListType

public ListType(java.lang.Class<?> listClass)
Method Detail

getType

public java.lang.Class<?> getType()
Returns the given type.

Specified by:
getType in class ConfigType

getTypeName

public java.lang.String getTypeName()
Description copied from class: ConfigType
Returns a printable name of the type.

Overrides:
getTypeName in class ConfigType

create

public java.lang.Object create(java.lang.Object parent)
Creates a new instance


getAttribute

public Attribute getAttribute(QName name)
Returns the attribute based on the given name.

Overrides:
getAttribute in class ConfigType

valueOf

public java.lang.Object valueOf(java.lang.String text)
Converts the string to the given value.

Specified by:
valueOf in class ConfigType

toString

public java.lang.String toString()
Overrides:
toString in class ConfigType