org.apache.tapestry.html
Class NestedHTMLWriter

java.lang.Object
  extended by org.apache.tapestry.AbstractMarkupWriter
      extended by org.apache.tapestry.html.HTMLWriter
          extended by 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

Constructor Summary
NestedHTMLWriter(IMarkupWriter parent)
           
 
Method Summary
 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).
 
Methods inherited from class org.apache.tapestry.html.HTMLWriter
getNestedWriter
 
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
 

Constructor Detail

NestedHTMLWriter

public NestedHTMLWriter(IMarkupWriter parent)
Method Detail

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