Skip navigation links
JSF Reference Implementation 2.3.5.SP3-redhat-00001
com.sun.faces.taglib.jsf_core

Class AbstractConverterTag

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected javax.el.ValueExpression binding
      The ValueExpression that evaluates to an object that implements Converter.
      protected javax.el.ValueExpression converterId
      The identifier of the Converter instance to be created.
      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id, pageContext
      • Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      protected javax.faces.convert.Converter createConverter()
      Create and return a new Converter to be registered on our surrounding UIComponent.
      protected static javax.faces.convert.Converter createConverter(javax.el.ValueExpression converterId, 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 Converter instance to be created.
      void setConverterId(javax.el.ValueExpression converterId)
      Set the identifer of the Converter instance to be created.
      • Methods inherited from class javax.faces.webapp.ConverterELTag

        doStartTag
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
    • Field Detail

      • binding

        protected javax.el.ValueExpression binding

        The ValueExpression that evaluates to an object that implements Converter.

      • converterId

        protected javax.el.ValueExpression converterId

        The identifier of the Converter instance to be created.

    • Constructor Detail

      • AbstractConverterTag

        public AbstractConverterTag()
    • Method Detail

      • setBinding

        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 Converter instance to be created.

        Parameters:
        binding - The new expression
      • setConverterId

        public void setConverterId(javax.el.ValueExpression converterId)

        Set the identifer of the Converter instance to be created.

        Parameters:
        converterId - The identifier of the converter instance to be created.
      • createConverter

        protected javax.faces.convert.Converter createConverter()
                                                         throws javax.servlet.jsp.JspException
        Description copied from class: javax.faces.webapp.ConverterELTag

        Create and return a new Converter to be registered on our surrounding UIComponent.

        Specified by:
        createConverter in class javax.faces.webapp.ConverterELTag
        Returns:
        the Converter
        Throws:
        javax.servlet.jsp.JspException - if a new instance cannot be created
      • createConverter

        protected static javax.faces.convert.Converter createConverter(javax.el.ValueExpression converterId,
                                                                       javax.el.ValueExpression binding,
                                                                       javax.faces.context.FacesContext facesContext)
JSF Reference Implementation 2.3.5.SP3-redhat-00001

Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.