org.apache.myfaces.tobago.internal.taglib.component
Class ConverterTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.myfaces.tobago.internal.taglib.component.ConverterTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ConverterTag

public abstract class ConverterTag
extends javax.servlet.jsp.tagext.TagSupport

Register an Converter instance on the UIComponent associated with the closest parent UIComponent.

See Also:
Serialized Form

Field Summary
 
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
ConverterTag()
           
 
Method Summary
 int doStartTag()
          Create a new instance of the specified Converter class, and register it with the UIComponent instance associated with our most immediately surrounding UIComponentTag instance, if the UIComponent instance was created by this execution of the containing JSP page.
abstract  Object getBindingAsBindingOrExpression()
           
abstract  String getBindingValue()
          The value binding expression to a converter.
abstract  Object getConverterIdAsBindingOrExpression()
           
abstract  String getConverterIdValue()
          The converterId of a registered converter.
abstract  boolean isBindingLiteral()
           
abstract  boolean isBindingSet()
           
abstract  boolean isConverterIdLiteral()
           
abstract  boolean isConverterIdSet()
           
 
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
 

Constructor Detail

ConverterTag

public ConverterTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Create a new instance of the specified Converter class, and register it with the UIComponent instance associated with our most immediately surrounding UIComponentTag instance, if the UIComponent instance was created by this execution of the containing JSP page.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException - if a JSP error occurs

getConverterIdValue

public abstract String getConverterIdValue()
The converterId of a registered converter.


getConverterIdAsBindingOrExpression

public abstract Object getConverterIdAsBindingOrExpression()

isConverterIdLiteral

public abstract boolean isConverterIdLiteral()

isConverterIdSet

public abstract boolean isConverterIdSet()

getBindingValue

public abstract String getBindingValue()
The value binding expression to a converter.


getBindingAsBindingOrExpression

public abstract Object getBindingAsBindingOrExpression()

isBindingLiteral

public abstract boolean isBindingLiteral()

isBindingSet

public abstract boolean isBindingSet()


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.