Class LengthValidator
java.lang.Object
ch.tocco.nice2.model.base.unmarshal.validate.AbstractValidator<CharSequence>
ch.tocco.nice2.model.base.unmarshal.validate.LengthValidator
- All Implemented Interfaces:
Validator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getNegatedMessage
(CharSequence value, String param) protected String
getNormalMessage
(CharSequence value, String param) protected boolean
validate
(CharSequence value, String param) Methods inherited from class ch.tocco.nice2.model.base.unmarshal.validate.AbstractValidator
invalidMapping, invalidMapping, validate
-
Constructor Details
-
LengthValidator
public LengthValidator()
-
-
Method Details
-
validate
- Specified by:
validate
in classAbstractValidator<CharSequence>
-
getNormalMessage
- Specified by:
getNormalMessage
in classAbstractValidator<CharSequence>
-
getNegatedMessage
- Specified by:
getNegatedMessage
in classAbstractValidator<CharSequence>
-