BodyContent Class |
public abstract class BodyContent extends JspWriter |

    Object
      Writer
        JspWriter
          BodyContent

The BodyContent class extends the capability of the JspWriter class to allow the processing and retrieval of body evaluations.

BodyContent() |
protected BodyContent() | Constructor
Since the BodyContent class is abstract, a BodyContent object is not created directly. Sub-classes of BodyContent can call this constructor.

clearBody() |
public void clearBody() | Method
clearBody() clears the body associated with the invoking BodyContent object.

flush() |
public void flush() throws IOException | Method
flush overrides the method defined in the JspWriter class. A BodyContent object is not allowed to flush.

getEnclosingWriter() |
public JspWriter getEnclosingWriter() | Method
getEnclosingWriter returns an associated JspWriter object.

getReader() |
public abstract Reader getReader() | Method
getReader returns the value of the invoking BodyContent object as an input stream. This is performed after body evaluation.

getString() |
public abstract String getString() | Method
getString() returns the value of the invoking BodyContent object as a String. This is performed after body evaluation.

writeOut() |
public abstract void writeOut(Writer out) throws IOException | Method
writeOut writes the contents of the invoking BodyContent object into the specified output stream.