org.apache.tapestry.html
Class NestedHTMLWriter
java.lang.Object
org.apache.tapestry.AbstractMarkupWriter
org.apache.tapestry.html.HTMLWriter
org.apache.tapestry.html.NestedHTMLWriter
- All Implemented Interfaces:
- IMarkupWriter
public class NestedHTMLWriter
- extends HTMLWriter
Subclass of HTMLWriter
that is nested. A nested writer
buffers its output, then inserts it into its parent writer when it is
closed.
- Version:
- $Id: NestedHTMLWriter.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- Howard Ship
Methods inherited from class org.apache.tapestry.AbstractMarkupWriter |
attribute, attribute, attribute, attributeRaw, begin, beginEmpty, checkError, closeTag, comment, end, end, flush, getContentType, pop, print, print, print, print, println, printRaw, printRaw, push, setOutputStream, setWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestedHTMLWriter
public NestedHTMLWriter(IMarkupWriter parent)
close
public void close()
- Invokes the
super-class
implementation
, then gets the data accumulated in the
internal buffer and provides it to the containing writer using
IMarkupWriter.printRaw(char[], int, int)
.
- Specified by:
close
in interface IMarkupWriter
- Overrides:
close
in class AbstractMarkupWriter