org.apache.myfaces.taglib.core
Class GenericListenerTag<_Holder,_Listener>

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.myfaces.taglib.core.GenericListenerTag<_Holder,_Listener>
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ActionListenerTag, ValueChangeListenerTag

public abstract class GenericListenerTag<_Holder,_Listener>
extends javax.servlet.jsp.tagext.TagSupport

Since:
1.2
Version:
$Revision: 695050 $ $Date: 2008-09-13 17:38:43 -0500 (Sat, 13 Sep 2008) $
Author:
Andreas Berger (latest modification by $Author: lu4242 $)
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
protected GenericListenerTag(Class<_Holder> holderClazz)
           
 
Method Summary
protected abstract  void addListener(_Holder holder, _Listener listener)
           
protected abstract  _Listener createDelegateListener(javax.el.ValueExpression type, javax.el.ValueExpression binding)
           
protected  void createListener(_Holder holder, UIComponent component)
           
 int doStartTag()
           
 void release()
           
 void setBinding(javax.el.ValueExpression binding)
           
 void setType(javax.el.ValueExpression type)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, 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

GenericListenerTag

protected GenericListenerTag(Class<_Holder> holderClazz)
Method Detail

setType

public void setType(javax.el.ValueExpression type)

setBinding

public void setBinding(javax.el.ValueExpression binding)

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport

addListener

protected abstract void addListener(_Holder holder,
                                    _Listener listener)

createDelegateListener

protected abstract _Listener createDelegateListener(javax.el.ValueExpression type,
                                                    javax.el.ValueExpression binding)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

createListener

protected void createListener(_Holder holder,
                              UIComponent component)
                       throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.