|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jsefa.common.validator.ValidatorConfiguration
public final class ValidatorConfiguration
A configuration for a <Validator
.
Method Summary | ||
---|---|---|
static ValidatorConfiguration |
create(Class<?> objectType,
Map<String,String> constraints)
Constructs a new ValidatorConfiguration . |
|
Map<String,String> |
getConstraints()
|
|
|
getObjectType()
Returns the object type the validator is intended for. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ValidatorConfiguration create(Class<?> objectType, Map<String,String> constraints)
ValidatorConfiguration
.
objectType
- the object type the validator is intended forconstraints
- the constraints the validator shall be initialized with
public <T> Class<T> getObjectType()
T
- the expected type
public Map<String,String> getConstraints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |