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, setValidatorId
doStartTag
public 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
ValidatorELTag
Create and return a new Validator
to be registered
on our surrounding UIComponent
.
createValidator
in class AbstractValidatorTag
Validator
javax.servlet.jsp.JspException
- if a new instance cannot be createdComments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.