public class AbstractValidatorTag
extends javax.faces.webapp.ValidatorELTag
Base class for all ValidatorTag
s.
Modifier and Type | Field and Description |
---|---|
protected javax.el.ValueExpression |
binding
The
ValueExpression that evaluates to an object that
implements Converter . |
private static java.util.logging.Logger |
LOGGER |
protected javax.el.ValueExpression |
validatorId
The identifier of the
Validator
instance to be created. |
Constructor and Description |
---|
AbstractValidatorTag() |
Modifier and Type | Method and Description |
---|---|
protected javax.faces.validator.Validator |
createValidator() |
protected static javax.faces.validator.Validator |
createValidator(javax.el.ValueExpression validatorId,
javax.el.ValueExpression binding,
javax.faces.context.FacesContext facesContext) |
void |
setBinding(javax.el.ValueExpression binding)
Set the expression that will be used to create a
ValueExpression that references a backing bean property
of the Validator instance to be created. |
void |
setValidatorId(javax.el.ValueExpression validatorId)
Set the identifer of the
Validator
instance to be created. |
private static final java.util.logging.Logger LOGGER
protected javax.el.ValueExpression binding
The ValueExpression
that evaluates to an object that
implements Converter
.
protected javax.el.ValueExpression validatorId
The identifier of the Validator
instance to be created.
public void setBinding(javax.el.ValueExpression binding)
Set the expression that will be used to create a
ValueExpression
that references a backing bean property
of the Validator
instance to be created.
binding
- The new expressionpublic void setValidatorId(javax.el.ValueExpression validatorId)
Set the identifer of the Validator
instance to be created.
validatorId
- The identifier of the converter instance to be
created.protected javax.faces.validator.Validator createValidator() throws javax.servlet.jsp.JspException
createValidator
in class javax.faces.webapp.ValidatorELTag
javax.servlet.jsp.JspException
protected static javax.faces.validator.Validator createValidator(javax.el.ValueExpression validatorId, javax.el.ValueExpression binding, javax.faces.context.FacesContext facesContext)
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.