public class RegexValidatorTag extends AbstractValidatorTag
binding, validatorId| Constructor and Description |
|---|
RegexValidatorTag() |
| Modifier and Type | Method and Description |
|---|---|
protected Validator |
createValidator()
Create and return a new
Validator to be registered
on our surrounding UIComponent. |
void |
setPattern(javax.el.ValueExpression pattern)
Set the Regular Expression to use for validation.
|
createValidator, setBinding, setValidatorIddoStartTagpublic void setPattern(javax.el.ValueExpression pattern)
pattern - A regular expression - needs to be escaped, @see java.util.regex .protected Validator createValidator() throws javax.servlet.jsp.JspException
ValidatorELTagCreate and return a new Validator to be registered
on our surrounding UIComponent.
createValidator in class AbstractValidatorTagValidatorjavax.servlet.jsp.JspException - if a new instance cannot be createdCopyright © 1997–2019 Eclipse Foundation. All rights reserved.