org.apache.tapestry.wml
Class NestedWMLWriter
java.lang.Object
org.apache.tapestry.AbstractMarkupWriter
org.apache.tapestry.wml.WMLWriter
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
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 |
NestedWMLWriter
public NestedWMLWriter(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