public class ConstraintDefaults extends Object
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
- the annotation typeConstraintValidator
implementation classesCopyright © 2010–2017 The Apache Software Foundation. All rights reserved.