|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.type.ConfigType
com.caucho.config.type.EnumType
public final class EnumType
Represents an enumeration type
| Constructor Summary | |
|---|---|
EnumType(java.lang.Class type)
The enumeration 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, create, getAttribute, getContentProgramAttribute, getProgramAttribute, getTypeName, init, inject, introspect, isBean, isEL, isNode, isNoTrim, isProgram, replaceObject, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnumType(java.lang.Class type)
| Method Detail |
|---|
public java.lang.Class getType()
getType in class ConfigTypepublic java.lang.Object valueOf(java.lang.String text)
valueOf in class ConfigTypepublic java.lang.Object valueOf(java.lang.Object value)
valueOf in class ConfigType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||