com.sun.faces.taglib.jsf_core
Class AbstractConverterTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.faces.webapp.ConverterELTag
          extended by com.sun.faces.taglib.jsf_core.AbstractConverterTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ConvertDateTimeTag, ConverterTag, ConvertNumberTag

public class AbstractConverterTag
extends javax.faces.webapp.ConverterELTag

Created by IntelliJ IDEA. User: Ryan Date: Feb 28, 2007 Time: 2:09:24 PM To change this template use File | Settings | File Templates.

See Also:
Serialized Form

Field Summary
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
 
Constructor Summary
AbstractConverterTag()
           
 
Method Summary
protected  javax.faces.convert.Converter createConverter()
           
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Specified by:
createConverter in class javax.faces.webapp.ConverterELTag
Throws:
javax.servlet.jsp.JspException

createConverter

protected static javax.faces.convert.Converter createConverter(javax.el.ValueExpression converterId,
                                                               javax.el.ValueExpression binding,
                                                               javax.faces.context.FacesContext facesContext)


Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.