|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ValidationRule | |
---|---|
org.springmodules.validation.bean | |
org.springmodules.validation.bean.conf | |
org.springmodules.validation.bean.conf.loader.xml | |
org.springmodules.validation.bean.rule |
Uses of ValidationRule in org.springmodules.validation.bean |
---|
Methods in org.springmodules.validation.bean with parameters of type ValidationRule | |
---|---|
void |
RuleBasedValidator.addGlobalRule(ValidationRule globalRule)
Adds the given validation rule as a global rule to this validator. |
void |
RuleBasedValidator.addPropertyGlobalRule(String propertyName,
ValidationRule globalRule)
Adds a property rule for the given property. |
void |
RuleBasedValidator.addPropertyRule(String propertyName,
ValidationRule propertyRule)
Adds the given property rule for the given property. |
void |
RuleBasedValidator.setExtraGlobalVadlidationRules(ValidationRule[] globalRules)
Sets extra global validation rules for this validator. |
protected void |
BeanValidator.validateAndShortCircuitRules(ValidationRule[] rules,
String propertyName,
Object obj,
Errors errors)
Applying the given validation rules on the given property of the given object. |
Uses of ValidationRule in org.springmodules.validation.bean.conf |
---|
Methods in org.springmodules.validation.bean.conf that return ValidationRule | |
---|---|
ValidationRule[] |
DefaultBeanValidationConfiguration.getGlobalRules()
|
ValidationRule[] |
BeanValidationConfiguration.getGlobalRules()
Returns the global validation rules for the bean. |
ValidationRule[] |
DefaultBeanValidationConfiguration.getPropertyRules(String propertyName)
|
ValidationRule[] |
BeanValidationConfiguration.getPropertyRules(String propertyName)
Returns the property validation rules for the bean that are associated with the given property name. |
Methods in org.springmodules.validation.bean.conf with parameters of type ValidationRule | |
---|---|
void |
MutableBeanValidationConfiguration.addGlobalRule(ValidationRule globalRule)
Adds the given rule as global rules for this configuration. |
void |
DefaultBeanValidationConfiguration.addGlobalRule(ValidationRule globalRule)
Adds the given rule as global rules for this configuration. |
void |
MutableBeanValidationConfiguration.addGlobalRules(ValidationRule[] globalRules)
Adds the given rules as global rules for this configuration. |
void |
DefaultBeanValidationConfiguration.addGlobalRules(ValidationRule[] globalRules)
Adds the given rules as global rules for this configuration. |
void |
MutableBeanValidationConfiguration.addPropertyRule(String propertyName,
ValidationRule rule)
Adds the given validation rule to the given property. |
void |
DefaultBeanValidationConfiguration.addPropertyRule(String propertyName,
ValidationRule rule)
Adds the given validation rule to the given property. |
void |
MutableBeanValidationConfiguration.addPropertyRules(String propertyName,
ValidationRule[] extraRules)
Adds the given validation rules to the given property. |
void |
DefaultBeanValidationConfiguration.addPropertyRules(String propertyName,
ValidationRule[] extraRules)
Adds the given validation rules to the given property. |
void |
MutableBeanValidationConfiguration.setGlobalRules(ValidationRule[] globalRules)
Sets the global rules for this configuration. |
void |
DefaultBeanValidationConfiguration.setGlobalRules(ValidationRule[] globalRules)
Sets the global rules for this configuration. |
void |
MutableBeanValidationConfiguration.setPropertyRules(String propertyName,
ValidationRule[] rules)
Sets the property validation rules for the given property. |
void |
DefaultBeanValidationConfiguration.setPropertyRules(String propertyName,
ValidationRule[] rules)
Sets the property validation rules for the given property. |
Uses of ValidationRule in org.springmodules.validation.bean.conf.loader.xml |
---|
Methods in org.springmodules.validation.bean.conf.loader.xml with parameters of type ValidationRule | |
---|---|
protected PropertyValidationRule |
DefaultXmlBeanValidationConfigurationLoader.createPropertyRule(String propertyName,
ValidationRule rule)
|
Uses of ValidationRule in org.springmodules.validation.bean.rule |
---|
Classes in org.springmodules.validation.bean.rule that implement ValidationRule | |
---|---|
class |
AbstractValidationRule
A super class for all specific validation rules. |
class |
ConditionReferenceValidationRule
|
class |
DateInTheFutureValidationRule
An AbstractValidationRule implementation that validates and checks that a Date or a
Calendar occures in the future (relative to the time of validation). |
class |
DateInThePastValidationRule
An AbstractValidationRule implementation that validates and checks that a Date or a
Calendar occured in the past (relative to the time of validation). |
class |
DefaultValidationRule
The default implementation of the ValidationRule interface. |
class |
EmailValidationRule
An AbstractValidationRule implementation that validates and checks that a string is a valid email. |
class |
ExpressionValidationRule
An AbstractValidationRule implementation that validates and checks a value based on a condition expression
(See package org.springmodules.validation.util.cel). |
class |
InstantInTheFutureValidationRule
An AbstractValidationRule implementation that validates and checks that a Instant
occures in the future (relative to the time of validation). |
class |
InstantInThePastValidationRule
An AbstractValidationRule implementation that validates and checks that a Instant
occured in the past (relative to the time of validation). |
class |
LengthValidationRule
An AbstractValidationRule that validates and checks that the length of a string is within specific bounds. |
class |
MaxLengthValidationRule
An AbstractValidationRule that validates and checks that the length of a string is less than or
equals a specific upper bound. |
class |
MaxSizeValidationRule
An AbstractValidationRule that validates and checks that the size of a collection or an array is
less than or equals a specific lower bound. |
class |
MaxValidationRule
An AbstractValidationRule that validates and checks that a comparable value is less than or equals
a specific upper bound. |
class |
MinLengthValidationRule
An AbstractValidationRule that validates and checks that the length of a string
is greater than or equals a specific lower bound. |
class |
MinSizeValidationRule
An AbstractValidationRule that validates and checks that the size of a collection or an array is greater
than or equals a specific lower bound. |
class |
MinValidationRule
An AbstractValidationRule that validates and checks that a comparable value
is greater than or equals a specific lower bound. |
class |
NotBlankValidationRule
An AbstractValidationRule that validates and checks that a string value
is not blank. |
class |
NotEmptyValidationRule
An AbstractValidationRule implementation that validates and checks that a
collection or an array is not empty. |
class |
NotNullValidationRule
An AbstractValidationRule implementation that validates and checks that
a value is not null. |
class |
PropertyValidationRule
A ValidationRule implementation that wraps another validation rule and is associated with a specific
property name. |
class |
RangeValidationRule
An AbstractValidationRule implementation that validates that a comparable value
is within specific bounds. |
class |
RegExpValidationRule
An AbstractValidationRule that represents a validation rule to validate string values based on a regular
expression. |
class |
SizeValidationRule
An implementation of AbstractValidationRule that validates that a collection/array size
is within specific bounds. |
class |
ValidationMethodValidationRule
|
Constructors in org.springmodules.validation.bean.rule with parameters of type ValidationRule | |
---|---|
PropertyValidationRule.DefaultApplicabilityCondition(String propertyName,
ValidationRule rule)
|
|
PropertyValidationRule(String propertyName,
ValidationRule rule)
Constructs a new PropertyValidationRule with a given property and a wrapped validation rule. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |