public class AbstractConverterTag extends ConverterELTag
Base class for all ConverterTags.
| Modifier and Type | Field and Description |
|---|---|
protected jakarta.el.ValueExpression |
binding
The
ValueExpression that evaluates to an object that implements
Converter. |
protected jakarta.el.ValueExpression |
converterId
The identifier of the
Converter instance to be created. |
| Constructor and Description |
|---|
AbstractConverterTag() |
| Modifier and Type | Method and Description |
|---|---|
protected Converter |
createConverter()
Create and return a new
Converter to be registered on our surrounding UIComponent. |
protected static Converter |
createConverter(jakarta.el.ValueExpression converterId,
jakarta.el.ValueExpression binding,
FacesContext facesContext) |
void |
setBinding(jakarta.el.ValueExpression binding)
Set the expression that will be used to create a
ValueExpression that references a backing bean
property of the Converter instance to be created. |
void |
setConverterId(jakarta.el.ValueExpression converterId)
Set the identifer of the
Converter instance to be created. |
doStartTagprotected jakarta.el.ValueExpression binding
The ValueExpression that evaluates to an object that implements
Converter.
protected jakarta.el.ValueExpression converterId
The identifier of the Converter instance to be created.
public void setBinding(jakarta.el.ValueExpression binding)
Set the expression that will be used to create a ValueExpression that references a backing bean
property of the Converter instance to be created.
binding - The new expressionpublic void setConverterId(jakarta.el.ValueExpression converterId)
Set the identifer of the Converter instance to be created.
converterId - The identifier of the converter instance to be created.protected Converter createConverter() throws jakarta.servlet.jsp.JspException
ConverterELTag
Create and return a new Converter to be registered on our surrounding UIComponent.
createConverter in class ConverterELTagConverterjakarta.servlet.jsp.JspException - if a new instance cannot be createdprotected static Converter createConverter(jakarta.el.ValueExpression converterId, jakarta.el.ValueExpression binding, FacesContext facesContext)
Copyright © 1997–2020 Eclipse Foundation. All rights reserved.