com.caucho.config.type
Class ObjectType

java.lang.Object
  extended by com.caucho.config.type.ConfigType<java.lang.Object>
      extended by com.caucho.config.type.ObjectType

public final class ObjectType
extends ConfigType<java.lang.Object>

Represents a Object type.


Field Summary
static ObjectType TYPE
           
 
Method Summary
 ConfigType<?> createType(QName name)
          Creates a top-level instance of the type.
 java.lang.Class<java.lang.Object> getType()
          Returns the Java type.
 java.lang.Object valueOf(java.lang.Object value)
          Converts the value to a value of the type.
 java.lang.Object valueOf(java.lang.String text)
          Converts the object to a value of the type.
 
Methods inherited from class com.caucho.config.type.ConfigType
afterConfigure, beforeConfigure, beforeConfigureBean, carefulIntrospect, create, getAddAttribute, getAddBeanAttribute, getAttribute, getComponentType, getConstructor, getContentProgramAttribute, getDefaultAttribute, getProgramAttribute, getType, getTypeName, init, inject, introspect, isArray, isBean, isConstructableFromString, isEL, isEnvBean, isInlineType, isNode, isNoTrim, isProgram, isQualifier, isReplace, replaceObject, setEnvBean, setProperty, toString, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final ObjectType TYPE
Method Detail

getType

public java.lang.Class<java.lang.Object> getType()
Returns the Java type.

Specified by:
getType in class ConfigType<java.lang.Object>

createType

public ConfigType<?> createType(QName name)
Creates a top-level instance of the type.

Overrides:
createType in class ConfigType<java.lang.Object>

valueOf

public java.lang.Object valueOf(java.lang.String text)
Converts the object to a value of the type.

Specified by:
valueOf in class ConfigType<java.lang.Object>

valueOf

public java.lang.Object valueOf(java.lang.Object value)
Converts the value to a value of the type.

Overrides:
valueOf in class ConfigType<java.lang.Object>