|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ognl.DefaultTypeConverter com.atlassian.bamboo.ww2.common.EnumTypeConverter
public class EnumTypeConverter
Constructor Summary | |
---|---|
EnumTypeConverter()
|
Method Summary | |
---|---|
java.lang.Object |
convertFromString(java.lang.String value,
java.lang.Class toClass)
Converts one or more String values to the specified class. |
java.lang.Object |
convertValue(java.util.Map context,
java.lang.Object o,
java.lang.Class toClass)
Converts the given object to a given type. |
Methods inherited from class ognl.DefaultTypeConverter |
---|
convertValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnumTypeConverter()
Method Detail |
---|
public java.lang.Object convertValue(java.util.Map context, java.lang.Object o, java.lang.Class toClass)
convertValue
in class ognl.DefaultTypeConverter
context
- - OGNL context under which the conversion is being doneo
- - the object to be convertedtoClass
- - the class that contains the code to convert to enumeration
public java.lang.Object convertFromString(java.lang.String value, java.lang.Class toClass)
value
- - the String values to be converted, such as those submitted from an HTML formtoClass
- - the class to convert to
WebWorkTypeConverter.convertFromString(java.util.Map, String[], Class)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |