|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.markup.MarkupWriterImpl
org.apache.tapestry.markup.NestedMarkupWriterImpl
public class NestedMarkupWriterImpl
Nested implementation of IMarkupWriter
. Accumulates content in a
CharArrayWriter
, and prints the buffered content (raw) on close()
.
IMarkupWriter.getNestedWriter()
Constructor Summary | |
---|---|
NestedMarkupWriterImpl(IMarkupWriter parent,
MarkupFilter filter)
|
Method Summary | |
---|---|
void |
close()
Closes the internal CharArrayWriter , then captures its content and invokes
IMarkupWriter.printRaw(String) on the parent markup writer
(the writer that created this writer). |
java.lang.String |
getBuffer()
Returns any makrup so far accumulated by the nested markup writer. |
Methods inherited from class org.apache.tapestry.markup.MarkupWriterImpl |
---|
attribute, attribute, attribute, attribute, attributeRaw, begin, beginEmpty, checkError, closeTag, comment, end, end, flush, getContentType, getNestedWriter, print, print, print, print, print, print, println, printRaw, printRaw |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tapestry.IMarkupWriter |
---|
attribute, attribute, attribute, attributeRaw, begin, beginEmpty, checkError, closeTag, comment, end, end, flush, getContentType, getNestedWriter, print, print, print, print, print, print, println, printRaw, printRaw |
Constructor Detail |
---|
public NestedMarkupWriterImpl(IMarkupWriter parent, MarkupFilter filter)
Method Detail |
---|
public java.lang.String getBuffer()
NestedMarkupWriter
IMarkupWriter.printRaw(String)
,
with this content, on its parent markup writer.
Getting the buffer will close the writer.
getBuffer
in interface NestedMarkupWriter
public void close()
CharArrayWriter
, then captures its content and invokes
IMarkupWriter.printRaw(String)
on the parent markup writer
(the writer that created this writer).
close
in interface IMarkupWriter
close
in class MarkupWriterImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |