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,v 1.1 2003/03/05 22:59:30 hlship Exp $
- 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)
.
- Overrides:
close
in class AbstractMarkupWriter