public class ConstraintDefaults extends Object
| Constructor and Description |
|---|
ConstraintDefaults()
Create a new ConstraintDefaults instance.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Class<? extends 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 ConstraintValidator<?,?>>[]> getDefaultConstraints()
public <A extends Annotation> Class<? extends ConstraintValidator<A,?>>[] getValidatorClasses(Class<A> annotationType)
annotationType - the annotation typeConstraintValidator implementation classesCopyright © 2010–2024 The Apache Software Foundation. All rights reserved.