org.aludratest.util.validator
Class NumberStringLessValidator
java.lang.Object
org.aludratest.util.validator.AbstractNullStringValidator
org.aludratest.util.validator.AbstractNumberStringValidator
org.aludratest.util.validator.NumberStringLessValidator
- All Implemented Interfaces:
- org.databene.commons.Validator<String>
public class NumberStringLessValidator
- extends AbstractNumberStringValidator
Requires numbers (formatted as strings) to be less than a reference value.
- Author:
- Volker Bergmann
NumberStringLessValidator
public NumberStringLessValidator(String validationTerm,
double tolerance)
- Constructor.
- Parameters:
validationTerm
- tolerance
-
validImpl
protected boolean validImpl(String text)
- Description copied from class:
AbstractNullStringValidator
- Delegate for string validation to be implemented by child classes.
- Specified by:
validImpl
in class AbstractNullStringValidator
descriptionImpl
protected String descriptionImpl()
- Specified by:
descriptionImpl
in class AbstractNullStringValidator
Copyright © 2015 aludratest.org. All rights reserved.