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