|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.binding.convert.converters.StringToObject org.springframework.binding.convert.converters.StringToEnum
public class StringToEnum
Converts from a textual representation to a Enum
. The text should be the enum's label.
Constructor Summary | |
---|---|
StringToEnum()
|
Method Summary | |
---|---|
protected java.lang.Object |
toObject(java.lang.String string,
java.lang.Class<?> targetClass)
|
protected java.lang.String |
toString(java.lang.Object object)
|
Methods inherited from class org.springframework.binding.convert.converters.StringToObject |
---|
convertSourceToTargetClass, convertTargetToSourceClass, getSourceClass, getTargetClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringToEnum()
Method Detail |
---|
protected java.lang.Object toObject(java.lang.String string, java.lang.Class<?> targetClass) throws java.lang.Exception
toObject
in class StringToObject
java.lang.Exception
protected java.lang.String toString(java.lang.Object object) throws java.lang.Exception
toString
in class StringToObject
java.lang.Exception
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |