ehsbe CommonsTM
Version 1.1.0rc3

com.ehsbe.commons.util
Interface Validator<E>

Type Parameters:
E - The type of the input to validate
All Known Implementing Classes:
MultiValidator

public interface Validator<E>

Simple Input Validator.

Version:
$Revision: 432 $
Author:
Jens Elkner

Method Summary
 boolean accept(E input)
          Check, whether the given input is valid and would be accepted.
 

Method Detail

accept

boolean accept(E input)
Check, whether the given input is valid and would be accepted.

Parameters:
input - the value to check. Might be null.
Returns:
true if the input should is accepted.

ehsbe CommonsTM
Version 1.1.0rc3

Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.