com.caucho.config.type
Class IntegerType

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

public final class IntegerType
extends ConfigType

Represents an int or Integer type.


Field Summary
static IntegerType TYPE
           
 
Method Summary
 java.lang.Class 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 string to a value of the type.
 
Methods inherited from class com.caucho.config.type.ConfigType
afterConfigure, beforeConfigure, beforeConfigureBean, carefulIntrospect, create, createType, 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 IntegerType TYPE
Method Detail

getType

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

Specified by:
getType in class ConfigType

valueOf

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

Specified by:
valueOf in class ConfigType

valueOf

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

Overrides:
valueOf in class ConfigType