|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.conversion.impl.DefaultTypeConverter
org.apache.struts2.util.StrutsTypeConverter
org.apache.struts2.showcase.conversion.EnumTypeConverter
public class EnumTypeConverter
| Field Summary |
|---|
| Fields inherited from interface com.opensymphony.xwork2.conversion.TypeConverter |
|---|
NO_CONVERSION_POSSIBLE, TYPE_CONVERTER_CONTEXT_KEY |
| Constructor Summary | |
|---|---|
EnumTypeConverter()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
convertFromString(java.util.Map context,
java.lang.String[] values,
java.lang.Class toClass)
|
java.lang.String |
convertToString(java.util.Map context,
java.lang.Object o)
|
| Methods inherited from class org.apache.struts2.util.StrutsTypeConverter |
|---|
convertValue, performFallbackConversion |
| Methods inherited from class com.opensymphony.xwork2.conversion.impl.DefaultTypeConverter |
|---|
bigDecValue, bigIntValue, booleanValue, convertValue, convertValue, doubleValue, enumValue, getTypeConverter, longValue, stringValue, stringValue |
| 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 convertFromString(java.util.Map context,
java.lang.String[] values,
java.lang.Class toClass)
convertFromString in class StrutsTypeConverter
public java.lang.String convertToString(java.util.Map context,
java.lang.Object o)
convertToString in class StrutsTypeConverter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||