com.caucho.config.type
Class BooleanType

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

public final class BooleanType
extends ConfigType

Represents a boolean or Boolean type.


Field Summary
static BooleanType TYPE
           
 
Method Summary
 java.lang.Class getType()
          Returns the Java type.
 java.lang.Object valueOf(ELContext env, Expr expr)
          Converts the value to a value of the 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final BooleanType 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

valueOf

public java.lang.Object valueOf(ELContext env,
                                Expr expr)
Converts the value to a value of the type.

Overrides:
valueOf in class ConfigType