public class MaxMinExclusiveValidator extends Object implements IValueValidator<Number>
| Constructor and Description |
|---|
MaxMinExclusiveValidator(Number min,
Number max)
Create a validator comparing to these INCLUSIVE bounds.
|
MaxMinExclusiveValidator(Number min,
Number max,
UIMessage msg)
Create a validator comparing to these INCLUSIVE bounds.
|
public MaxMinExclusiveValidator(@Nonnull Number min, @Nonnull Number max, @Nullable UIMessage msg)
max - min - msg - If specified this error message will be shown, otherwise default error message is shown.public void validate(Number input) throws Exception
validate in interface IValueValidator<Number>ExceptionIValueValidator.validate(Object)Copyright © 2017 etc.to. All rights reserved.