javax.faces.webapp
Class UIComponentBodyTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by javax.faces.webapp.UIComponentBodyTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public abstract class UIComponentBodyTag
extends UIComponentTag
implements javax.servlet.jsp.tagext.BodyTag

see Javadoc of JSF Specification

Version:
$Revision: 676278 $ $Date: 2008-07-13 03:35:04 -0500 (Sun, 13 Jul 2008) $
Author:
Manfred Geiler (latest modification by $Author: skitching $)

Field Summary
protected  javax.servlet.jsp.tagext.BodyContent bodyContent
           
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
UIComponentBodyTag()
           
 
Method Summary
 int doAfterBody()
           
 void doInitBody()
           
 javax.servlet.jsp.tagext.BodyContent getBodyContent()
           
protected  int getDoAfterBodyValue()
           
protected  int getDoStartValue()
          Get the value to be returned by the doStartTag method to the JSP framework.
 javax.servlet.jsp.JspWriter getPreviousOut()
           
 void release()
           
 void setBodyContent(javax.servlet.jsp.tagext.BodyContent bodyContent)
           
 
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getComponentType, getCreated, getDoEndValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, getRendererType, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setProperties, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 

Field Detail

bodyContent

protected javax.servlet.jsp.tagext.BodyContent bodyContent
Constructor Detail

UIComponentBodyTag

public UIComponentBodyTag()
Method Detail

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Throws:
javax.servlet.jsp.JspException

doInitBody

public void doInitBody()
                throws javax.servlet.jsp.JspException
Specified by:
doInitBody in interface javax.servlet.jsp.tagext.BodyTag
Throws:
javax.servlet.jsp.JspException

release

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

getBodyContent

public javax.servlet.jsp.tagext.BodyContent getBodyContent()

setBodyContent

public void setBodyContent(javax.servlet.jsp.tagext.BodyContent bodyContent)
Specified by:
setBodyContent in interface javax.servlet.jsp.tagext.BodyTag

getPreviousOut

public javax.servlet.jsp.JspWriter getPreviousOut()

getDoStartValue

protected int getDoStartValue()
                       throws javax.servlet.jsp.JspException
Description copied from class: UIComponentTag
Get the value to be returned by the doStartTag method to the JSP framework. Subclasses which wish to use the inherited doStartTag but control whether the tag is permitted to contain nested tags or not can just override this method to return Tag.SOME_CONSTANT.

Overrides:
getDoStartValue in class UIComponentTag
Returns:
Tag.EVAL_BODY_INCLUDE
Throws:
javax.servlet.jsp.JspException

getDoAfterBodyValue

protected int getDoAfterBodyValue()
                           throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException


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