Class RangeValidator
- java.lang.Object
- 
- org.nuxeo.ecm.webengine.forms.validation.RangeValidator
 
- 
- All Implemented Interfaces:
- FieldValidator
 
 public class RangeValidator extends Object implements FieldValidator - Author:
- Bogdan Stefanescu
 
- 
- 
Constructor SummaryConstructors Constructor Description RangeValidator(double min, double max, boolean negate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(String value, Object decoded)booleanvalidateNumber(Number value)
 
- 
- 
- 
Method Detail- 
validateNumberpublic boolean validateNumber(Number value) 
 - 
validatepublic void validate(String value, Object decoded) throws ValidationException - Specified by:
- validatein interface- FieldValidator
- Throws:
- ValidationException
 
 
- 
 
-