public abstract class RegexValidator extends org.apache.wicket.validation.validator.AbstractValidator<String>
Modifier and Type | Field and Description |
---|---|
protected FieldInstanceModel |
fieldInstanceModel |
Constructor and Description |
---|
RegexValidator(org.apache.wicket.Component component,
FieldInstanceModel fieldInstanceModel) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getRegex() |
protected void |
onValidate(org.apache.wicket.validation.IValidatable<String> validatable) |
protected String |
resourceKeyInvalidRegex() |
protected String |
resourceKeyInvalidValue() |
protected FieldInstanceModel fieldInstanceModel
public RegexValidator(org.apache.wicket.Component component, FieldInstanceModel fieldInstanceModel)
protected void onValidate(org.apache.wicket.validation.IValidatable<String> validatable)
onValidate
in class org.apache.wicket.validation.validator.AbstractValidator<String>
protected abstract String getRegex()
protected String resourceKeyInvalidValue()
protected String resourceKeyInvalidRegex()