javax.servlet.jsp.tagext
Class BodyContent
public abstract class BodyContent
A JspWriter subclass that can be used to process body evaluations
so they can re-extracted later on.
clear , clearBuffer , close , flush , getBufferSize , getRemaining , isAutoFlush , newLine , print , print , print , print , print , print , print , print , print , println , println , println , println , println , println , println , println , println , println |
BodyContent
protected BodyContent(JspWriter e)
Protected constructor.
Unbounded buffer, no autoflushing.
clearBody
public void clearBody()
Clear the body.
flush
public void flush()
throws IOException
Redefine flush().
It is not valid to flush.
- flush in interface JspWriter
getEnclosingWriter
public JspWriter getEnclosingWriter()
Get the enclosing JspWriter
getReader
public Reader getReader()
Return the value of this BodyContent as a Reader.
Note: this is after evaluation!! There are no scriptlets,
etc in this stream.
getString
public String getString()
Return the value of the BodyContent as a String.
Note: this is after evaluation!! There are no scriptlets,
etc in this stream.
writeOut
public void writeOut(Writer out)
throws IOException
Write the contents of this BodyContent into a Writer.
Subclasses are likely to do interesting things with the
implementation so some things are extra efficient.
out
- The writer into which to place the contents of
this body evaluation
Copyright © 1999-2000 The Apache Software Foundation. All Rights Reserved.