org.jreform.internal
Class MultiInputValidator<T>

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

 class MultiInputValidator<T>
extends Object

Validates a multi-value input.

Author:
armandino (at) gmail.com

Field Summary
private  String errorMessage
           
private  AbstractInputControl<T> input
           
private  boolean isValid
           
private  List<T> values
           
 
Constructor Summary
MultiInputValidator(MultiInput<T> input)
           
 
Method Summary
private  boolean isValidInput(String[] valueAttributes)
           
(package private)  ValidationResult<List<T>> validate(String[] valueAttributes)
           
 
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

values

private List<T> values

isValid

private boolean isValid

errorMessage

private String errorMessage
Constructor Detail

MultiInputValidator

MultiInputValidator(MultiInput<T> input)
Method Detail

validate

ValidationResult<List<T>> validate(String[] valueAttributes)

isValidInput

private boolean isValidInput(String[] valueAttributes)


Copyright © 2007-2008 jReform