Class RangeValidator
java.lang.Object
org.nuxeo.ecm.webengine.forms.validation.RangeValidator
- All Implemented Interfaces:
FieldValidator
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
negate
protected boolean negate -
min
protected double min -
max
protected double max
-
-
Constructor Details
-
RangeValidator
public RangeValidator(double min, double max, boolean negate)
-
-
Method Details
-
validateNumber
-
validate
- Specified by:
validate
in interfaceFieldValidator
- Throws:
ValidationException
-