Name

UIComponentBodyTag

Synopsis

This class is a JSP tag handler base class that all JSF actions that represent a UIComponent instance that need access to the element body evaluation result extend.

Synopsis

Class name:

javax.faces.webapp.UIComponentBodyTag

Extends:

javax.faces.webapp.UIComponentTag

Implements:

javax.servlet.jsp.tagext.BodyTag

Fields

protected javax.servlet.jsp.tagext.BodyContent bodyContent

The variable holding the buffered BodyContent.

Constructors

public UIComponentBodyTag()

Creates an instance.

Methods

public int doAfterBody()

Returns the value of getDoAfterBodyValue().

public int doInitBody()

This implementation does nothing. Can be overridden by subclasses to prepare for the body evaluation.

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

Returns the value of the bodyContent variable.

public int getDoAfterBodyValue()

Returns the value to return from doAfterBodyValue( ), as established by a subclass. This implementation returns SKIP_BODY.

public int getDoStartValue()

Returns the value to return from doStartTag(), as established by a subclass. This implementation returns EVAL_BODY_BUFFERED.

public javax.servlet.jsp.JspWriter getPreviousOut()

Returns the JspWriter for the parent tag handler.

public void release()

Releases all references to acquired resources.

public void setBodyContent(javax.servlet.jsp.tagext.BodyContent bodyContent)

Sets the value of the bodyContent variable.

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.