org.apache.shale.usecases.validator
Class CustomValidationUtil

java.lang.Object
  extended by org.apache.shale.usecases.validator.CustomValidationUtil

public class CustomValidationUtil
extends Object

Custom commons-validator utility


Constructor Summary
CustomValidationUtil()
           
 
Method Summary
static boolean isEven(int value)
          Validation method which determines whether an integer is even.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomValidationUtil

public CustomValidationUtil()
Method Detail

isEven

public static boolean isEven(int value)
Validation method which determines whether an integer is even.

Parameters:
value - the integer value to be tested
Returns:
true if the supplied value is even, false otherwise


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.