org.loom.converter
Interface LocaleUnawareConverter

All Superinterfaces:
Converter, FormInputDecorator
All Known Implementing Classes:
AbstractSimpleConverter, AbstractSimpleNumberConverter, BooleanConverter, ByteConverter, CharacterConverter, EnumConverter, IntegerConverter, LongConverter, NullConverter, ShortConverter, StringConverter

public interface LocaleUnawareConverter
extends Converter

Interface implemented by those Converters that are not aware of the input locale, so they will return the same converted value for the same input string no matter which locale is selected by the user. These converters are used when the input value is not extracted from a request object, e.g. the value property of an InputCheckbox tag.


Method Summary
 java.lang.Object getAsObject(java.lang.String text)
          Perform the conversion.
 
Methods inherited from interface org.loom.converter.Converter
getAsObject, getAsText, getConvertedClass
 
Methods inherited from interface org.loom.validator.FormInputDecorator
decorate
 

Method Detail

getAsObject

java.lang.Object getAsObject(java.lang.String text)
Perform the conversion. If the input data is not valid, will throw a RuntimeException.