org.springmodules.validation.util.condition
Class NonNullAcceptingCondition

java.lang.Object
  extended by org.springmodules.validation.util.condition.AbstractCondition
      extended by 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

Constructor Summary
NonNullAcceptingCondition()
           
 
Method Summary
protected  void beforeObjectChecked(Object object)
          Checks whether the checked object is null.
 
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

NonNullAcceptingCondition

public NonNullAcceptingCondition()
Method Detail

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.