Package | Description |
---|---|
org.apache.bval.jsr | |
org.apache.bval.model | |
org.apache.bval.routines | |
org.apache.bval.xml |
Modifier and Type | Class and Description |
---|---|
class |
ConstraintValidation<T extends Annotation>
Description: Adapter between Constraint (JSR303) and Validation (Core)
this instance is immutable! |
Modifier and Type | Method and Description |
---|---|
protected static Set<javax.validation.metadata.ConstraintDescriptor<?>> |
ElementDescriptorImpl.getConstraintDescriptors(Validation[] validations)
Get a set of
ConstraintDescriptor s from the specified array of
Validation s. |
Constructor and Description |
---|
ConstructorDescriptorImpl(MetaBean metaBean,
Validation[] validations)
Create a new ConstructorDescriptorImpl instance.
|
ElementDescriptorImpl(Class<?> elementClass,
Validation[] validations)
Create a new ElementDescriptorImpl instance.
|
ElementDescriptorImpl(MetaBean metaBean,
Class<?> elementClass,
Validation[] validations)
Create a new ElementDescriptorImpl instance.
|
InvocableElementDescriptor(Class<?> elementClass,
Validation[] validations) |
InvocableElementDescriptor(MetaBean metaBean,
Class<?> elementClass,
Validation[] validations) |
MethodDescriptorImpl(MetaBean metaBean,
Validation[] validations,
Method method) |
ParameterDescriptorImpl(Class<?> elementClass,
Validation[] validations,
String name)
Create a new ParameterDescriptorImpl instance.
|
ParameterDescriptorImpl(MetaBean metaBean,
Validation[] validations,
String name)
Create a new ParameterDescriptorImpl instance.
|
Modifier and Type | Method and Description |
---|---|
Validation[] |
FeaturesCapable.getValidations()
Get any validations set for this
FeaturesCapable . |
Modifier and Type | Method and Description |
---|---|
void |
FeaturesCapable.addValidation(Validation validation)
Add a validation to this
FeaturesCapable . |
boolean |
FeaturesCapable.hasValidation(Validation aValidation)
Search for an equivalent validation among those configured.
|
void |
FeaturesCapable.setValidations(Validation[] validations)
Set the validations for this
FeaturesCapable . |
Modifier and Type | Class and Description |
---|---|
class |
EMailValidation
Description: example validation for email addresses using a regular expression
|
class |
NOPValidation
Description: DO NOTHING VALIDATION (can be used to turn off standard validation)
|
class |
StandardValidation
Description: This class implements the standard validations for properties!
You can subclass this class and replace the implementation
in the beanInfo-xml by providing it a validation "standard"
|
Modifier and Type | Method and Description |
---|---|
Validation |
XMLMetaValidator.getValidation() |
Modifier and Type | Method and Description |
---|---|
void |
XMLMetaValidator.setValidation(Validation validation) |
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.