com.primix.tapestry
Class NestedHTMLResponseWriter

java.lang.Object
  |
  +--com.primix.tapestry.AbstractResponseWriter
        |
        +--com.primix.tapestry.HTMLResponseWriter
              |
              +--com.primix.tapestry.NestedHTMLResponseWriter
All Implemented Interfaces:
IResponseWriter

public class NestedHTMLResponseWriter
extends HTMLResponseWriter

Subclass of HTMLResponseWriter that is nested. A nested writer buffers its output, then inserts it into its parent writer when it is closed.

Version:
$Id: NestedHTMLResponseWriter.java,v 1.6 2001/05/02 14:15:15 hship Exp $
Author:
Howard Ship

Fields inherited from class com.primix.tapestry.AbstractResponseWriter
openTag, writer
 
Constructor Summary
NestedHTMLResponseWriter(IResponseWriter 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 IResponseWriter.printRaw(char[], int, int).
 
Methods inherited from class com.primix.tapestry.HTMLResponseWriter
getContentType, getEntities, getNestedWriter, getSafe
 
Methods inherited from class com.primix.tapestry.AbstractResponseWriter
attribute, attribute, attribute, begin, beginEmpty, checkError, closeTag, comment, end, end, flush, pop, print, print, print, print, println, printRaw, printRaw, push
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedHTMLResponseWriter

public NestedHTMLResponseWriter(IResponseWriter 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 IResponseWriter.printRaw(char[], int, int).
Overrides:
close in class AbstractResponseWriter