org.springmodules.validation.util.condition
Class NonNullAcceptingCondition
java.lang.Object
org.springmodules.validation.util.condition.AbstractCondition
org.springmodules.validation.util.condition.NonNullAcceptingCondition
- All Implemented Interfaces:
- Condition
- Direct Known Subclasses:
- AbstractBeanCondition, AbstractCollectionCondition, AbstractRangeCondition
public abstract class NonNullAcceptingCondition
- extends AbstractCondition
A base class for all conditions that cannot check null
values.
- Author:
- Uri Boness
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonNullAcceptingCondition
public NonNullAcceptingCondition()
beforeObjectChecked
protected void beforeObjectChecked(Object object)
- Checks whether the checked object is
null
.
- Overrides:
beforeObjectChecked
in class AbstractCondition
- Parameters:
object
- The checked object.
- Throws:
IllegalArgumentException
- when the checked object is null
.
Copyright © 2009. All Rights Reserved.