com.caucho.config.type
Class ArrayType

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

public class ArrayType
extends ConfigType

Represents an array of values for configuration.


Constructor Summary
ArrayType(ConfigType componentType, java.lang.Class componentClass)
           
 
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.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, getContentProgramAttribute, getProgramAttribute, getTypeName, init, inject, introspect, isBean, isEL, isNode, isNoTrim, isProgram, valueOf, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayType

public ArrayType(ConfigType componentType,
                 java.lang.Class componentClass)
Method Detail

getType

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

Specified by:
getType in class ConfigType

create

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

Overrides:
create in class ConfigType

getAttribute

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

Overrides:
getAttribute in class ConfigType

replaceObject

public java.lang.Object replaceObject(java.lang.Object value)
Replaces the object.

Overrides:
replaceObject 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