Uses of Interface
net.sourceforge.stripes.validation.TypeConverter

Packages that use TypeConverter
net.sourceforge.stripes.validation This package contains interfaces and implementations of error message classes and of classes that convert Strings to rich objects, providing validation during the conversion. 
 

Uses of TypeConverter in net.sourceforge.stripes.validation
 

Classes in net.sourceforge.stripes.validation that implement TypeConverter
 class BigDecimalTypeConverter
          Type converter for converting localized strings into BigDecimal numbers without any loss of magnitude or precision.
 class BigIntegerTypeConverter
          Type converter for converting localized strings into BigInteger numbers without any loss of magnitude or precision.
 class BooleanTypeConverter
          Performs a fairly aggressive conversion of a String to a boolean.
 class ByteTypeConverter
          Basic type converter for converting strings to bytes.
 class CharacterTypeConverter
          Simple type converter that converts the input String to a Character by returning the first character in the String.
 class CreditCardTypeConverter
          A faux TypeConverter that validates that the String supplied is a valid credit card number.
 class DateTypeConverter
          A TypeConverter that aggressively attempts to convert a String to a java.util.Date object.
 class DoubleTypeConverter
          Basic TypeConverter that will convert from Strings to Numbers of type Double.
 class EmailTypeConverter
          A faux TypeConverter that validates that the String supplied is a valid email address.
 class EnumeratedTypeConverter
          Converts the String form of an Enumerated type into the Enum value that it represents.
 class FloatTypeConverter
          Basic TypeConverter that converts Strings to Numbers of type Float.
 class IntegerTypeConverter
          Basic type converter for converting strings to integers.
 class LongTypeConverter
          Basic type converter for converting strings to integers.
 class ObjectTypeConverter
          A dummy type converter that targets the Object type by simply returning the input String without any modifications.
 class OneToManyTypeConverter
          A specialized type converter for converting a single input field/parameter value into one or more Java objects contained in a List.
 class PercentageTypeConverter
          A locale aware number converter that parses percentages.
 class ShortTypeConverter
          Basic type converter for converting strings to short integers.
 class StringTypeConverter
          A dummy type converter that targets the String type by simply returning the input String without any modifications.
 

Methods in net.sourceforge.stripes.validation that return TypeConverter
 TypeConverter TypeConverterFactory.getInstance(Class<? extends TypeConverter> clazz, Locale locale)
          Gets an instance of the TypeConverter class specified.
 TypeConverter DefaultTypeConverterFactory.getInstance(Class<? extends TypeConverter> clazz, Locale locale)
          Gets an instance of the TypeConverter class specified.
protected  TypeConverter OneToManyTypeConverter.getSingleItemTypeConverter(Class targetType)
          Fetches an instance of TypeConverter that can be used to convert the individual items split out of the input String.
 TypeConverter TypeConverterFactory.getTypeConverter(Class forType, Locale locale)
          Gets the applicable type converter for the class passed in.
 TypeConverter DefaultTypeConverterFactory.getTypeConverter(Class forType, Locale locale)
          Gets the applicable type converter for the class passed in.
 

Methods in net.sourceforge.stripes.validation that return types with arguments of type TypeConverter
protected  Class<? extends TypeConverter<?>> DefaultTypeConverterFactory.cacheTypeConverterClass(Class<?> clazz, Class<? extends TypeConverter<?>> converterClass)
          Add converter class converterClass for converting objects of type clazz.
 Class<? extends TypeConverter> ValidationMetadata.converter()
          Returns the overridden TypeConverter if there is one, or null.
protected  Class<? extends TypeConverter<?>> DefaultTypeConverterFactory.findTypeConverterClass(Class<?> targetClass)
          Search for a type converter class that best matches the requested class.
protected  Map<Class<?>,Class<? extends TypeConverter<?>>> DefaultTypeConverterFactory.getTypeConverters()
          Gets the (rather confusing) Map of TypeConverter objects.
 

Method parameters in net.sourceforge.stripes.validation with type arguments of type TypeConverter
 void TypeConverterFactory.add(Class<?> targetType, Class<? extends TypeConverter<?>> converterClass)
          Adds a type converter to the set of registered type converters, overriding an existing converter if one was already registered for the type.
 void DefaultTypeConverterFactory.add(Class<?> targetType, Class<? extends TypeConverter<?>> converterClass)
          Adds a TypeConverter to the set of registered TypeConverters, overriding an existing converter if one was registered for the type.
protected  Class<? extends TypeConverter<?>> DefaultTypeConverterFactory.cacheTypeConverterClass(Class<?> clazz, Class<? extends TypeConverter<?>> converterClass)
          Add converter class converterClass for converting objects of type clazz.
 ValidationMetadata ValidationMetadata.converter(Class<? extends TypeConverter> converter)
          Sets the overridden TypeConveter to use to convert values.
 TypeConverter TypeConverterFactory.getInstance(Class<? extends TypeConverter> clazz, Locale locale)
          Gets an instance of the TypeConverter class specified.
 TypeConverter DefaultTypeConverterFactory.getInstance(Class<? extends TypeConverter> clazz, Locale locale)
          Gets an instance of the TypeConverter class specified.
 



? Copyright 2005-2006, Stripes Development Team.