public class ConstraintDefaults extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,Class<? extends javax.validation.ConstraintValidator<?,?>>[]> |
defaultConstraints
The default constraint data stored herein.
|
Constructor and Description |
---|
ConstraintDefaults()
Create a new ConstraintDefaults instance.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Class<? extends javax.validation.ConstraintValidator<?,?>>[]> |
getDefaultConstraints()
Get the default constraint data.
|
<A extends Annotation> |
getValidatorClasses(Class<A> annotationType)
Get the default validator implementation types for the specified constraint annotation type.
|
public ConstraintDefaults()
public Map<String,Class<? extends javax.validation.ConstraintValidator<?,?>>[]> getDefaultConstraints()
public <A extends Annotation> Class<? extends javax.validation.ConstraintValidator<A,?>>[] getValidatorClasses(Class<A> annotationType)
annotationType
- ConstraintValidator
implementation classesCopyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.