litesoft
@ 724
litesoft / trunk / GWT_Sandbox / FormEngine / src / com / temp / shared / ValueValidator.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
package com.temp.shared; import org.litesoft.core.util.externalization.E13nData; public interface ValueValidator<T> { /** * Check the 'value' for acceptableness. * * @param value the value to be checked, null is possible! * * @return null if the 'value' is acceptable, otherwise the data to generate the Error Text */ E13nData checkValue( T value ); public static final ValueValidator<?>[] EMPTY_ARRAY = new ValueValidator<?>[0]; } |