|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springmodules.validation.util.condition.AbstractCondition
org.springmodules.validation.util.condition.TypeSpecificCondition
public abstract class TypeSpecificCondition
A base class for all type specific conditions. A type specific instantCondition can only checkCalendar specific object types.
| Constructor Summary | |
|---|---|
TypeSpecificCondition(java.lang.Class type)
Construts a new TypeSpecificCondition with the given supported type. |
|
TypeSpecificCondition(java.lang.Class[] types)
Constructs a new TypeSpecificCondition with a the give list of supported types. |
|
| Method Summary | |
|---|---|
protected void |
beforeObjectChecked(java.lang.Object object)
Checks whether the checked object is of one of the types supported by this condition. |
| Methods inherited from class org.springmodules.validation.util.condition.AbstractCondition |
|---|
afterObjectChecked, and, check, doCheck, or |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeSpecificCondition(java.lang.Class type)
type - The object type this condition supports.public TypeSpecificCondition(java.lang.Class[] types)
types - The object types this condition supports.| Method Detail |
|---|
protected void beforeObjectChecked(java.lang.Object object)
beforeObjectChecked in class AbstractConditionobject - The object to be checked.
java.lang.IllegalArgumentException - if the checked object type is not supported by this condition.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||