Spring Web Flow

org.springframework.binding.convert.converters
Class StringToLabeledEnum

java.lang.Object
  extended by org.springframework.binding.convert.converters.StringToObject
      extended by org.springframework.binding.convert.converters.StringToLabeledEnum
All Implemented Interfaces:
Converter, TwoWayConverter

Deprecated.

@Deprecated
public class StringToLabeledEnum
extends StringToObject

Converts from a textual representation to a LabeledEnum. The text should be the enum's label.

Author:
Keith Donald

Constructor Summary
StringToLabeledEnum()
          Deprecated.  
 
Method Summary
protected  java.lang.Object toObject(java.lang.String string, java.lang.Class<?> targetClass)
          Deprecated.  
protected  java.lang.String toString(java.lang.Object object)
          Deprecated.  
 
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

StringToLabeledEnum

public StringToLabeledEnum()
Deprecated. 
Method Detail

toObject

protected java.lang.Object toObject(java.lang.String string,
                                    java.lang.Class<?> targetClass)
                             throws java.lang.Exception
Deprecated. 
Specified by:
toObject in class StringToObject
Throws:
java.lang.Exception

toString

protected java.lang.String toString(java.lang.Object object)
                             throws java.lang.Exception
Deprecated. 
Specified by:
toString in class StringToObject
Throws:
java.lang.Exception

Spring Web Flow