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.
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.
ValidationMetadataProvider Provides a globally accessible source of validation metadata for properties and nested properties of ActionBean classes.
 

Class Summary
BigDecimalTypeConverter Type converter for converting localized strings into BigDecimal numbers without any loss of magnitude or precision.
BigIntegerTypeConverter Type converter for converting localized strings into BigInteger numbers without any loss of magnitude or precision.
BooleanTypeConverter Performs a fairly aggressive conversion of a String to a boolean.
ByteTypeConverter Basic type converter for converting strings to bytes.
CharacterTypeConverter Simple type converter that converts the input String to a Character by returning the first character in the String.
CreditCardTypeConverter A faux TypeConverter that validates that the String supplied is a valid credit card number.
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.
DefaultValidationMetadataProvider An implementation of ValidationMetadataProvider that scans classes and their superclasses for properties annotated with Validate and/or ValidateNestedProperties and exposes the validation metadata specified by those annotations.
DoubleTypeConverter Basic TypeConverter that will convert from Strings to Numbers of type Double.
EmailTypeConverter A faux TypeConverter that validates that the String supplied is a valid email address.
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.
ObjectTypeConverter A dummy type converter that targets the Object type by simply returning the input String without any modifications.
OneToManyTypeConverter A specialized type converter for converting a single input field/parameter value into one or more Java objects contained in a List.
PercentageTypeConverter A locale aware number converter that parses percentages.
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.
StringTypeConverter A dummy type converter that targets the String type by simply returning the input String without any modifications.
ValidationErrors Container class for ValidationErrors that are tied to form fields.
ValidationMetadata Encapsulates the validation metadata for a single property of a single class.
 

Enum Summary
CreditCardTypeConverter.Type  
ValidationState Enumeration that describes the choices for when validation methods should be run.
 

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.
ValidationMethod Annotation that marks a method in an ActionBean as a validation method.
 

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-2006, Stripes Development Team.