Package sk.iway.iwcm.components.news
Class EnumeratedTypeConverter
java.lang.Object
sk.iway.iwcm.components.news.EnumeratedTypeConverter
- All Implemented Interfaces:
net.sourceforge.stripes.validation.TypeConverter<Enum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert
(String input, Class<? extends Enum> targetType, Collection<net.sourceforge.stripes.validation.ValidationError> errors) void
Does nothing at present due to the fact that enumerated types don't support localization all that well.
-
Constructor Details
-
EnumeratedTypeConverter
public EnumeratedTypeConverter()
-
-
Method Details
-
setLocale
Does nothing at present due to the fact that enumerated types don't support localization all that well.- Specified by:
setLocale
in interfacenet.sourceforge.stripes.validation.TypeConverter<Enum>
-
convert
public Enum convert(String input, Class<? extends Enum> targetType, Collection<net.sourceforge.stripes.validation.ValidationError> errors) - Specified by:
convert
in interfacenet.sourceforge.stripes.validation.TypeConverter<Enum>
-