|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springmodules.validation.validator.AbstractTypeSpecificValidator
public abstract class AbstractTypeSpecificValidator
A base class for all Validator implementation that support only
one specific type (class).
| Constructor Summary | |
|---|---|
AbstractTypeSpecificValidator(java.lang.Class type)
Constructs a new AbstractTypeSpecificValidator with a given supported type. |
|
| Method Summary | |
|---|---|
boolean |
supports(java.lang.Class clazz)
See Validator#supports(Class). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTypeSpecificValidator(java.lang.Class type)
type - The class supported by this validator.| Method Detail |
|---|
public boolean supports(java.lang.Class clazz)
Validator#supports(Class).
true if the given class is an instance or a sub-type of the type supported
by this validator, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||