org.apache.tapestry.wml
Class NestedWMLWriter

java.lang.Object
  extended by org.apache.tapestry.AbstractMarkupWriter
      extended by org.apache.tapestry.wml.WMLWriter
          extended by org.apache.tapestry.wml.NestedWMLWriter
All Implemented Interfaces:
IMarkupWriter

public class NestedWMLWriter
extends WMLWriter

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

Since:
0.2.9
Version:
$Id: NestedWMLWriter.java 243791 2004-02-19 17:38:13Z hlship $
Author:
David Solis

Constructor Summary
NestedWMLWriter(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.wml.WMLWriter
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

NestedWMLWriter

public NestedWMLWriter(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