public class RegExValidator extends AbstractValidator<String>
Validator.Priority| Constructor and Description |
|---|
RegExValidator(String pattern) |
RegExValidator(String pattern,
String invalidMessageOverride) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
Priority value for this validator.
|
boolean |
isValid(String value)
Checks if is valid.
|
createErrorList, getInvalidMessage, validatepublic RegExValidator(String pattern)
public RegExValidator(String pattern, String invalidMessageOverride)
public int getPriority()
Validatorpublic boolean isValid(String value)
AbstractValidatorisValid in class AbstractValidator<String>value - the valueCopyright © 2018. All rights reserved.