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 Summary
Constructors Constructor Description RangeValidator(double min, double max, boolean negate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(String value, Object decoded)
boolean
validateNumber(Number value)
-
-
-
Constructor Detail
-
RangeValidator
public RangeValidator(double min, double max, boolean negate)
-
-
Method Detail
-
validateNumber
public boolean validateNumber(Number value)
-
validate
public void validate(String value, Object decoded) throws ValidationException
- Specified by:
validate
in interfaceFieldValidator
- Throws:
ValidationException
-
-