|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
javax.servlet.jsp.JspWriter
javax.servlet.jsp.tagext.BodyContent
public abstract class BodyContent
A JspWriter subclass that can be used to process body evaluations so they can re-extracted later on.
| Field Summary |
|---|
| Fields inherited from class javax.servlet.jsp.JspWriter |
|---|
autoFlush, bufferSize, DEFAULT_BUFFER, NO_BUFFER, UNBOUNDED_BUFFER |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
protected |
BodyContent(JspWriter e)
Protected constructor. |
| Method Summary | |
|---|---|
void |
clearBody()
Clear the body. |
void |
flush()
Redefine flush(). |
JspWriter |
getEnclosingWriter()
Get the enclosing JspWriter |
abstract java.io.Reader |
getReader()
Return the value of this BodyContent as a Reader. |
abstract java.lang.String |
getString()
Return the value of the BodyContent as a String. |
abstract void |
writeOut(java.io.Writer out)
Write the contents of this BodyContent into a Writer. |
| Methods inherited from class javax.servlet.jsp.JspWriter |
|---|
clear, clearBuffer, close, getBufferSize, getRemaining, isAutoFlush, newLine, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BodyContent(JspWriter e)
| Method Detail |
|---|
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class JspWriterjava.io.IOException - If an I/O error occurspublic void clearBody()
public abstract java.io.Reader getReader()
public abstract java.lang.String getString()
public abstract void writeOut(java.io.Writer out)
throws java.io.IOException
out - The writer into which to place the contents of
this body evaluation
java.io.IOExceptionpublic JspWriter getEnclosingWriter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||