接口的使用
cn.taketoday.context.MessageSourceResolvable
使用MessageSourceResolvable的程序包
程序包
说明
Provides data binding and validation functionality,
for usage in business and/or UI layers.
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator) into a Framework ApplicationContext
and in particular with Framework's data binding and validation APIs.
-
cn.taketoday.context中MessageSourceResolvable的使用
修饰符和类型方法说明MessageSource.getMessage(MessageSourceResolvable resolvable, Locale locale) Try to resolve the message using all the attributes contained within theMessageSourceResolvableargument that was passed in. -
cn.taketoday.context.support中MessageSourceResolvable的使用
修饰符和类型方法说明protected StringAbstractMessageSource.getDefaultMessage(MessageSourceResolvable resolvable, Locale locale) Get a default message for the givenMessageSourceResolvable.AbstractApplicationContext.getMessage(MessageSourceResolvable resolvable, Locale locale) final StringAbstractMessageSource.getMessage(MessageSourceResolvable resolvable, Locale locale) DelegatingMessageSource.getMessage(MessageSourceResolvable resolvable, Locale locale) MessageSourceAccessor.getMessage(MessageSourceResolvable resolvable) Retrieve the given MessageSourceResolvable (e.g. an ObjectError instance) in the default Locale.MessageSourceAccessor.getMessage(MessageSourceResolvable resolvable, Locale locale) Retrieve the given MessageSourceResolvable (e.g. an ObjectError instance) in the given Locale.限定符构造器说明Copy constructor: Create a new instance from another resolvable. -
cn.taketoday.validation中MessageSourceResolvable的使用
修饰符和类型类说明classEncapsulates a field error, that is, a reason for rejecting a specific field value.classEncapsulates an object error, that is, a global reason for rejecting an object. -
cn.taketoday.validation.beanvalidation中MessageSourceResolvable的使用
修饰符和类型方法说明protected MessageSourceResolvableInfraValidatorAdapter.getResolvableField(String objectName, String field) Build a resolvable wrapper for the specified field, allowing to resolve the field's name in aMessageSource.