Package 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.

See:
          Description

Interface Summary
TypeConverter<T> Interface for all type converters in the validation system that provide facilities for converting from String to a specific object type.
TypeConverterFactory Provides access to a set of TypeConverters for converting Strings to various types.
Validatable Interface to be implemented by ActionBeans which need to perform some level of validation above and beyond what Stripes can do through Annotations.
ValidationError Interface to which all error objects in Stripes should conform.
ValidationErrorHandler Interface that can be implemented by ActionBeans to be notified of ValidationErrors that occur during validation and binding.
 

Class Summary
BooleanTypeConverter Performs a fairly aggressive conversion of a String to a boolean.
ByteTypeConverter Basic type converter for converting strings to bytes.
DateTypeConverter A TypeConverter that aggressively attempts to convert a String to a java.util.Date object.
DefaultTypeConverterFactory Default TypeConverterFactory implementation that simply creates an instance level map of all the TypeConverters included in the Stripes distribution, and their applicable classes.
DoubleTypeConverter Basic TypeConverter that will convert from Strings to Numbers of type Double.
EnumeratedTypeConverter Converts the String form of an Enumerated type into the Enum value that it represents.
FloatTypeConverter Basic TypeConverter that converts Strings to Numbers of type Float.
IntegerTypeConverter Basic type converter for converting strings to integers.
LocalizableError Provides a mechanism for creating localizable error messages for presentation to the user.
LongTypeConverter Basic type converter for converting strings to integers.
NumberTypeConverterSupport Provides the basic support for converting Strings to non-floating point numbers (i.e.
PercentageTypeConverter Created by IntelliJ IDEA.
ScopedLocalizableError Provides a slightly more customizable approach to error messages.
ShortTypeConverter Basic type converter for converting strings to short integers.
SimpleError Validation error message that allows for supplying the error message at the time of creation - i.e.
ValidationErrors Container class for ValidationErrors that are tied to form fields.
 

Annotation Types Summary
Validate Primary annotation used to specify validations for form fields.
ValidateNestedProperties Annotation used to capture the validation needs of nested properties within an ActionBean.
 

Package net.sourceforge.stripes.validation Description

This package contains interfaces and implementations of error message classes and of classes that convert Strings to rich objects, providing validation during the conversion.



© Copyright 2005, Stripes Development Team.