站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

org.springframework.validation (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

Package org.springframework.validation

Provides data binding and validation functionality, for usage in business and/or UI layers.

See:
          Description

Interface Summary
BindingErrorProcessor Strategy for processing DataBinder's missing field errors, and for translating a PropertyAccessException to a FieldError.
BindingResult General interface that represents binding results.
Errors Stores and exposes information about data-binding and validation errors for a specific object.
MessageCodesResolver Strategy interface for building message codes from validation error codes.
Validator A validator for application-specific objects.
 

Class Summary
AbstractBindingResult Abstract implementation of the BindingResult interface and its super-interface Errors.
AbstractPropertyBindingResult Abstract base class for BindingResult implementations that work with Spring's PropertyAccessor mechanism.
BeanPropertyBindingResult Default implementation of the Errors and BindingResult interfaces, for the registration and evaluation of binding errors on JavaBean objects.
BindingResultUtils Convenience methods for looking up BindingResults in a model Map.
DataBinder Binder that allows for setting property values onto a target object, including support for validation and binding result analysis.
DefaultBindingErrorProcessor Default BindingErrorProcessor implementation.
DefaultMessageCodesResolver Default implementation of the MessageCodesResolver interface.
DirectFieldBindingResult Special implementation of the Errors and BindingResult interfaces, supporting registration and evaluation of binding errors on value objects.
FieldError Encapsulates a field error, that is, a reason for rejecting a specific field value.
MapBindingResult Map-based implementation of the BindingResult interface, supporting registration and evaluation of binding errors on Map attributes.
ObjectError Encapsulates an object error, that is, a global reason for rejecting an object.
ValidationUtils Utility class offering convenient methods for invoking a Validator and for rejecting empty fields.
 

Exception Summary
BindException Thrown when binding errors are considered fatal.
 

Package org.springframework.validation Description

Provides data binding and validation functionality, for usage in business and/or UI layers.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.