|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.bval.jsr303.ConstraintDefaults
public class ConstraintDefaults
Description: Provides access to the default constraints/validator implementation classes built into the framework.
These are configured in DefaultConstraints.properties.
| Field Summary | |
|---|---|
protected Map<String,Class<? extends ConstraintValidator<?,?>>[]> |
defaultConstraints
The default constraint data stored herein. |
| Constructor Summary | |
|---|---|
ConstraintDefaults()
Create a new ConstraintDefaults instance. |
|
| Method Summary | ||
|---|---|---|
Map<String,Class<? extends ConstraintValidator<?,?>>[]> |
getDefaultConstraints()
Get the default constraint data. |
|
|
getValidatorClasses(Class<A> annotationType)
Get the default validator implementation types for the specified constraint annotation type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map<String,Class<? extends ConstraintValidator<?,?>>[]> defaultConstraints
| Constructor Detail |
|---|
public ConstraintDefaults()
| Method Detail |
|---|
public Map<String,Class<? extends ConstraintValidator<?,?>>[]> getDefaultConstraints()
public <A extends Annotation> Class<? extends ConstraintValidator<A,?>>[] getValidatorClasses(Class<A> annotationType)
annotationType -
ConstraintValidator implementation classes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||