|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractRangeCondition
implementation that serves as a base class for all between conditions.PropertyValidationElementHandler
implementations that represent validation rules.apply-if
expressions.
Condition
interface.ConfigurableConstructor
.
PropertyValidationElementHandler
implementations that represent validation rules.apply-if
expressions.
String
.Validator
implementation that support only
one specific type (class).AbstractResourceBasedBeanValidationConfigurationLoader
implementation that serves as a base class
for all xml baed bean validation configuration loaders.ValidatorResources
exists and has been configured with resources
via a call to setValidationConfigLocations
.
InitializingBean
.
AbstractCollectionCondition
implementation that checks whether all elements in a collection or array
adhere to a specific condition.AbstractCondition
implementation that always return false
.AbstractCondition
implementation that always returns true
.Condition.and(Condition)
Errors
object.
Errors
.
Errors
.
AbstractCollectionCondition
implementation that checks whether at least X elements in a collection
or array adhere to a specific condition.BeanValidationConfiguration
's for bean clases.AbstractTypeSpecificValidator
implementation that applies all validation rules
on a bean of a specific type, based on an appropriate BeanValidationConfiguration
.NonNullAcceptingCondition.beforeObjectChecked(Object)
.
null
.
TypeSpecificCondition.beforeObjectChecked(Object)
.
AbstractRangeCondition
implementation that checks whether the checked range is between two
specific values (excluding).AbstractRangeCondition
implementation that checks whether the checked range is between two
specific values (including).AbstractBetweenCondition
implementation that checks whether the checked value is greater than or equals
the lower bound and smaller than the upper bound.AbstractBetweenCondition
implementation that checks whether the checked value is greater than the lower
bound and smaller than or equals the upper bound.ConditionExpressionParser.parse(String)
when the parsing fails.Condition.check(Object)
.
AbstractPropertyValidationElementHandler
that
can handle org.springmodules.validation.bean.conf.loader.annotation.handler.ConditionRef
xml element and
create the appropriate property validation rule.Function
to be configured in Spring and
then have it's arguments, line number, and row number set.AbstractStringCondition
implementation that checks whether the given strings contain a specific
sub-string.short_class_name[errorCode]
where short_class_name
is the name of the given class with its package stripped, and
error_code
is the given error code.
short_class_name.property_name[errorCode]
where short_class_name
is the name of the given class with its package stripped,
property_name
is the given property name, and error_code
is the given
error code.
ValangParser
that is already configured with the proper custom functions and date
parsers.
ValangParser
that is already configured with the proper custom functions and date
parsers and uses the class name to perform bytecode generation to avoid reflection.
AbstractPropertyValidationElementHandler
implementation that can handle an element that represents a "date in
the future" validation rule - a rule that validates that a given date occured in the future.AbstractPropertyValidationElementHandler
implementation that can handle an element that represents a "date in
the past" validation rule - a rule that validates that a given date occured in the past.AbstractValidationRule
implementation that validates and checks that a Date
or a
Calendar
occures in the future (relative to the time of validation).AbstractValidationRule
implementation that validates and checks that a Date
or a
Calendar
occured in the past (relative to the time of validation).BeanValidationConfiguration
.ValidationContext
interface.ValidationRule
interface.SimpleValidationRuleElementHandlerRegistry
that already registers the following default element handlers:
NotNullRuleElementHandler
LengthRuleElementHandler
NotBlankRuleElementHandler
EmailRuleElementHandler
RegExpRuleElementHandler
SizeRuleElementHandler
NotEmptyRuleElementHandler
NotBlankRuleElementHandler
RangeRuleElementHandler
ExpressionPropertyValidationElementHandler
DateInPastRuleElementHandler
DateInFutureRuleElementHandler
*
InstantInFutureRuleElementHandler
(only if joda-time library is available in the classpath) *
InstantInPastRuleElementHandler
(only if joda-time library is available in the classpath) *
Condition.check(Object)
.
AbstractCondition.doCheck(Object)
.
false
.
true
.
true
.
null
.
true
.
true
.
Condition.check(Object)
.
AbstractCondition.doCheck(Object)
.
AbstractCondition.doCheck(Object)
.
Condition.check(Object)
BigDecimal
and is called by
evaluate
.
Date
and is called by
evaluate
.
BigDecimal
and is called by
evaluate
.
BigDecimal
and is called by
evaluate
.
BigDecimal
and is called by
evaluate
.
BigDecimal
and is called by
evaluate
.
BigDecimal
and is called by
evaluate
.
BigDecimal
and is called by
evaluate
.
BigDecimal
and is called by
evaluate
.
BigDecimal
and is called by
evaluate
.
AbstractPropertyValidationElementHandler
implementation that can handle an element that represents an email
validation rule.AbstractStringCondition
implementation that checks whether
the checked strings represent a valid email address.AbstractValidationRule
implementation that validates and checks that a string is a valid email.AbstractBeanCondition
implementation that checks whether specific properties of the checked bean
have the same value.AbstractStringCondition
implementation that checks whether the checked strings equal a specific string
while ignoring the letter casing.Errors
instance in the Validator
AbstractClassValidationElementHandler
that can handle class elements that represent valang validation rules.AbstractPropertyValidationElementHandler
that can handle elements that represent valang validation rules.AbstractValidationRule
implementation that validates and checks a value based on a condition expression
(See package org.springmodules.validation.util.cel).Function.evaluate(Object)
when the evaluation of the function fails.NestedRuntimeException
with the specified detail message.
NestedRuntimeException
with the specified detail message
and nested exception.
FunctionExpressionParser.parse(String)
when the parsing fails.NestedRuntimeException
with the specified detail message.
NestedRuntimeException
with the specified detail message
and nested exception.
FunctionDefinition
and FunctionWrapper
beans
in the Spring context.
ValidatorAction
and Field
.
BeanValidator
class.
Reader
for accessing the JavaScript codebase used by the
translated validation rules.
ValidationRule.getCondition()
null
if no custom validator
is associated.
ValidationRule.getDefaultErrorMessage()
.
ValidationRule.getErrorArguments(Object)
ValidationRule.getErrorCode()
Form
used to
validate instances of the supplied class.
useFullyQualifiedClassName
is false (default value), this function returns a
string containing the uncapitalized, short name for the given class
(e.g. myBean for the class com.domain.test.MyBean).
useFullyQualifiedClassName
is false (default value), this function returns a
string containing the uncapitalized, short name for the given class
(e.g. myBean for the class com.domain.test.MyBean).
useFullyQualifiedClassName
is false (default value), this function returns a
string containing the uncapitalized, short name for the given class
(e.g. myBean for the class com.domain.test.MyBean).
FunctionExpressionParser
used by this handler to parse the error argument expressions.
Iterator
.
Locale
used to lookup Validator
instances.
ActionError
based on the ValidatorAction
message and the Field
's
arg objects.
ValidationContext
held by this holder, or null
if nothing is held.
org.apache.commons.validator.Validator
for the given bean.
ValidatorResources
.
AbstractSingleBoundCondition
implementation that checkCalendar whether the checked value is greater than a
specific loweer bound.AbstractSingleBoundCondition
implementation that checkCalendar whether the checked value is greater than or
equals a specific loweer bound.ValidationRule
based on the given element
and adds it to the given configuration.
ValidationRule
based on the given element
and adds it to the given configuration.
beanName
and locale
.
beanName
and locale
.
AbstractPropertyValidationElementHandler
implementation that can handle an element that represents an "in the
future" joda-time instant validation rule.AbstractPropertyValidationElementHandler
implementation that can handle an element that represents an "in the
past" joda-time instant validation rule.AbstractValidationRule
implementation that validates and checks that a Instant
occures in the future (relative to the time of validation).AbstractValidationRule
implementation that validates and checks that a Instant
occured in the past (relative to the time of validation).AbstractDateCondition
implementation that checks whether the checked calendar is chronologically after
a specific calendar.AbstractInstantCondition
implementation that checks whether the checked instant comes chronologically
after another instant.null
and AbstractValidationRule.supportsNullValues()
returns false
then returning false
.
ValidationRule.isApplicable(Object)
.
AbstractDateCondition
implementation that checks
whether the checked calendar is chronologically before a specific calendar.AbstractInstantCondition
implementation that checks whether the checked instant comes chronologically
before another instant.AbstractCollectionCondition
that checks whether the checked collection or array is empty.AbstractStringCondition
implementation that checks whether the checked text is an empty text.AbstractDateCondition
implementation that checks whether the checked date is in the furture.AbstractInstantCondition
implementation that checks whether the checked instant is in the future.AbstractDateCondition
implementation that checks whether the
checked date is in the past.AbstractInstantCondition
implementation that checks whether the checked instant is in the past.null
.true
.ValidatorFactory
.ErrorCodeConverter
that doesn't do any conversion and
returns the passed-in error code.AbstractStringCondition
implementation that checks that a given string is
within a specific length range.AbstractPropertyValidationElementHandler
that can handle an element that represents a length range validation rule,
min length validation rule, or max length vaidation rule.AbstractValidationRule
that validates and checks that the length of a string is within specific bounds.AbstractSingleBoundCondition
implementation that checks whether the checked value is less than
as specific upper bound.AbstractSingleBoundCondition
implementation that checks whether the checked value is less than or equals
as specific upper bound.BeanValidationConfiguration
instance and the key is the associated class.
AbstractStringCondition
implementation that checks whether the checked strings are not longer then
a specific length.AbstractValidationRule
that validates and checks that the length of a string is less than or
equals a specific upper bound.AbstractCollectionCondition
implementation that checks whether the given collection or array
is longer then a specific maximum size.AbstractValidationRule
that validates and checks that the size of a collection or an array is
less than or equals a specific lower bound.AbstractValidationRule
that validates and checks that a comparable value is less than or equals
a specific upper bound.AbstractStringCondition
implementation that checks whether the checked strings are not shorter than
a specific minimum length.AbstractValidationRule
that validates and checks that the length of a string
is greater than or equals a specific lower bound.AbstractCollectionCondition
implementation that checks whether the given collection or array
is longer then a specific minimum size.AbstractValidationRule
that validates and checks that the size of a collection or an array is greater
than or equals a specific lower bound.AbstractValidationRule
that validates and checks that a comparable value
is greater than or equals a specific lower bound.MessageCodesResolver
implementation that can be used along with the ModelAwareErrorCodeConverter
.DefaultMessageCodesResolver
as the internal resolver.
BeanValidationConfiguration
.NestedRuntimeException
with the specified detail message.
NestedRuntimeException
with the specified detail message
and nested exception.
AbstractCollectionCondition
implementation that checks whether none of the elements in a collection
or array adhere to a specific condition.null
values.null
values.AbstractPropertyValidationElementHandler
implementation that can handle and element that represents a "not blank"
validation rule - a rule that validates that a string is not blank.AbstractValidationRule
that validates and checks that a string value
is not blank.NOT
of another condition.AbstractPropertyValidationElementHandler
implementation that can handle an element that represents a "not empty"
validation rule (validation rule that validates that a collection/array is not empty).AbstractValidationRule
implementation that validates and checks that a
collection or an array is not empty.AbstractPropertyValidationElementHandler
implementation that can handle an element that represents a not-null
validation rule.AbstractValidationRule
implementation that validates and checks that
a value is not null.Comparable
instances but treats comparison of Number
instances
in a special manner.Condition
that checks the given object based on a boolean OGNL expression.ConditionExpressionParser
implementation that knows how to parse boolean OGNL expressions and return
the appropriate condition.FunctionExpressionParser
implementation that knows how to parse OGNL expressions and
return the appropriate function.Condition.or(Condition)
OR
of all its associated conditions.Function
from the given argument expression and custom functions.
BeanValidationConfigurationLoader
implementation that
loads bean validation configuration using multiple sub-loaders.AbstractBeanCondition
implementation that checks the value of a specific property of the checked bean
using a specific condition.FunctionExpressionParser
implementation that knows how to parse BeanWrapper-like property paths and
returns a function that extracts the appropriate property value from the given object (bean).ValidationRule
implementation that wraps another validation rule and is associated with a specific
property name.AbstractPropertyValidationElementHandler
implementation that can handle an element that represent a range
validation rule, min validation rule, or max validation rule.AbstractValidationRule
implementation that validates that a comparable value
is within specific bounds.AbstractPropertyValidationElementHandler
implementation that knows how to handle elements that represent
regular expression validation rules.AbstractStringCondition
implementation that checks whether the checked strings match a specific regular
expression.Pattern
that the checked text will be checked
against.
AbstractValidationRule
that represents a validation rule to validate string values based on a regular
expression.AbstractResourceBasedBeanValidationConfigurationLoader
implementation fails to load
configurations from a resource.Validator
implementation which uses ValidationRule
's to define its
validation execution.AbstractValidationRule.supportsNullValues()
method determines whether
this condition is applicable on a given object or not.
DefaultValidationRule.getApplicabilityCondition()
.
ApplicationContextAware
.
ApplicationContextAware
.
ApplicationContextAware
.
ApplicationEventPublisherAware
.
BeanFactoryAware
.
DefaultValidationRule.getCondition()
.
ValangParser
.
ValangParser
.
DefaultValidationRule.getErrorArguments(Object)
.
ErrorArgumentsResolver
that will be used by this validation to extract the error arguments
based on the validated object.
DefaultValidationRule.getErrorCode()
.
Errors
object.
MessageSourceAware
.
ResourceLoaderAware
.
FunctionTemplate
.
useFullyQualifiedClassName
.
useFullyQualifiedClassName
.
BeanValidationConfigurationLoader
that enables registration of bean validation
configuration with classes.ValangBased
.AbstractValidationContextInterceptor
that is configured with a list of tokens which
are always returned regardless of the specific method invocation.ValidationRuleElementHandlerRegistry
that enables registration of element
handlers.AbstractCollectionCondition
that checks that the size/length of the the checked collection/array is
with in a specific bounds.AbstractPropertyValidationElementHandler
that parses a size validation rules.AbstractValidationRule
that validates that a collection/array size
is within specific bounds.AbstractCollectionCondition
implementation that checks whether some of the elements in a collection
or array adhere to a specific condition.ErrorArgumentsResolver
that is statically pre-configured with the error arguments, that is, the
arguments are not dependent on the validated object.Date
and Calendar
.
Date
and Calendar
.
Instant
.
Instant
.
Validator.supports(Class)
.
Validator.supports(Class)
.
null
values.
ValangParser
should implement this interface.ValangValidateTag
.Condition
implementation that checks the given object based on a valang boolean expression.ConditionExpressionParser
implementation that knows how to parse valang boolean expressions.AbstractBeanDefinitionParser
to parser <valang-condition-parser> elements.FunctionExpressionParser
implementation that knows how to parse valang function expressions.ValangValidator
into a model so
that is is accessible to the JSP custom tag ValangValidateTag
.Writer
.ValangValidateTag
.Validator
that takes a Valang syntax string
to define the set of validation rules it will apply.BeanValidationConfiguration
retrieved for the given
bean from the configured BeanValidationConfigurationLoader
.
org.apache.commons.validator.Validator
loaded from
the configured ValidatorFactory
.
target
object, which must be
of a Class
for which the ValangValidator.supports(Class)
method
typically has (or would) return true
.
Validator.validate(Object, org.springframework.validation.Errors)
.
#validateIntRange(java.lang.Object,
org.apache.validator.validator.ValidatorAction,
org.apache.validator.validator.Field,
org.apache.struts.action.Errors,
javax.servlet.http.HttpServletRequest)
test
parameter.
ValidationContextUrlMapping
class.PropertyValidationElementHandler
's and ClassValidationElementHandler
's.BeanWrapper
.
BasicValidationRule
s into JavaScript
code capable of validating a HTML form and outputs the translated code into the provided
writer.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |