public class NestedMarkupWriterImpl extends MarkupWriterImpl implements NestedMarkupWriter
IMarkupWriter. Accumulates content in a
CharArrayWriter, and prints the buffered content (raw) on close().IMarkupWriter.getNestedWriter()| Constructor and Description |
|---|
NestedMarkupWriterImpl(IMarkupWriter parent,
MarkupFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
attribute, attribute, attribute, attribute, attributeRaw, begin, beginEmpty, checkError, closeTag, comment, end, end, flush, getContentType, getNestedWriter, print, print, print, print, print, print, println, printRaw, printRawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattribute, attribute, attribute, attributeRaw, begin, beginEmpty, checkError, closeTag, comment, end, end, flush, getContentType, getNestedWriter, print, print, print, print, print, print, println, printRaw, printRawpublic NestedMarkupWriterImpl(IMarkupWriter parent, MarkupFilter filter)
public java.lang.String getBuffer()
NestedMarkupWriterIMarkupWriter.printRaw(String),
with this content, on its parent markup writer.
Getting the buffer will close the writer.
getBuffer in interface NestedMarkupWriterpublic 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 IMarkupWriterclose in class MarkupWriterImpl