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
 String getBuffer()
          Returns any makrup so far accumulated by the nested markup writer.
 
Methods inherited from interface org.apache.tapestry.IMarkupWriter
appendAttribute, appendAttribute, appendAttribute, appendAttributeRaw, attribute, attribute, attribute, attributeRaw, begin, beginEmpty, checkError, clearAttributes, close, closeTag, comment, end, end, flush, getAttribute, getContentType, getNestedWriter, hasAttribute, print, print, print, print, print, print, println, printRaw, printRaw, removeAttribute
 

Method Detail

getBuffer

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.



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.