Java Reference
In-Depth Information
The writeOut() Method
public abstract void writeOut(java.io.Writer out)
The writeOut() method writes the contents of the BodyJspWriter into a writer. It returns no
value and throws no exceptions.
It takes one parameter:
java.io.Writer
The BodyTagSupport Class
public class BodyTagSupport extends TagSupport implements BodyTag
The BodyTagSupport class acts as a helper class for custom tags that process body content. It
provides default implementations for all the methods defined by the BodyTag interface. It has
nine methods.
The BodyTagSupport() Method
public BodyTagSupport()
This method is the default constructor. BodyTagSupport() takes no parameters, returns no
value, and throws no exceptions.
The doAfterBody() Method
public int doAfterBody() throws JspException
This is the default implementation for the doAfterBody() method defined by the BodyTag
interface. The doAfterBody() method takes no parameters.
It returns this value:
E
int
It throws this exception:
JspException
The doEndTag() Method
public int doEndTag() throws JspException
This is the default implementation for the doEndTag() method defined by the BodyTag inter-
face. The doEndTag() method takes no parameters.
It returns this value:
int
It throws this exception:
JspException
 
Search WWH ::




Custom Search