org.jreform.internal
Class ValueAttributeValidator<T>

java.lang.Object
  extended by org.jreform.internal.ValueAttributeValidator<T>

 class ValueAttributeValidator<T>
extends Object

Validator for the value attribute of an input.

Author:
armandino (at) gmail.com

Field Summary
private  String errorMessage
           
private  AbstractInputControl<T> input
           
 
Constructor Summary
ValueAttributeValidator(AbstractInputControl<T> input)
           
 
Method Summary
private  boolean allCriteriaSatisfied(T parsedValue)
           
(package private)  ValidationResult<T> validate(String valueAttribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

input

private AbstractInputControl<T> input

errorMessage

private String errorMessage
Constructor Detail

ValueAttributeValidator

ValueAttributeValidator(AbstractInputControl<T> input)
Method Detail

validate

ValidationResult<T> validate(String valueAttribute)

allCriteriaSatisfied

private boolean allCriteriaSatisfied(T parsedValue)


Copyright © 2007-2008 jReform