org.apache.tapestry
Interface NestedMarkupWriter
- All Superinterfaces:
- IMarkupWriter
- All Known Implementing Classes:
- NestedMarkupWriterImpl, NullWriter
public interface NestedMarkupWriter
- extends IMarkupWriter
A writer that is created by, and nested within, another markup writer. This is used by many
components that need to render their bodies to fully determine how to write the markup before
their bodies; the markup is stored inside the nested markup writer until needed.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
- See Also:
IMarkupWriter.getNestedWriter()
Method Summary |
java.lang.String |
getBuffer()
Returns any makrup so far accumulated by the nested markup writer. |
Methods inherited from interface org.apache.tapestry.IMarkupWriter |
attribute, attribute, attribute, attributeRaw, begin, beginEmpty, checkError, close, closeTag, comment, end, end, flush, getContentType, getNestedWriter, print, print, print, print, print, print, println, printRaw, printRaw |
getBuffer
java.lang.String getBuffer()
- Returns any makrup so far accumulated by the nested markup writer. When the nested markup
writer is closed, it invokes
IMarkupWriter.printRaw(String)
,
with this content, on its parent markup writer.
Getting the buffer will close the writer.