public class SitemeshPrintWriter extends java.io.PrintWriter implements SitemeshWriter
Modifier and Type | Field and Description |
---|---|
private SitemeshWriter |
sitemeshWriter |
Constructor and Description |
---|
SitemeshPrintWriter(SitemeshBufferWriter sitemeshWriter) |
Modifier and Type | Method and Description |
---|---|
SitemeshBuffer |
getSitemeshBuffer()
Get the underlying buffer for the writer
|
boolean |
writeSitemeshBufferFragment(SitemeshBufferFragment bufferFragment)
Write a sitemesh buffer fragment to the writer.
|
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
private final SitemeshWriter sitemeshWriter
public SitemeshPrintWriter(SitemeshBufferWriter sitemeshWriter)
public boolean writeSitemeshBufferFragment(SitemeshBufferFragment bufferFragment) throws java.io.IOException
SitemeshWriter
writeSitemeshBufferFragment
in interface SitemeshWriter
bufferFragment
- The buffer fragment to writejava.io.IOException
- If an IOException occurredpublic SitemeshBuffer getSitemeshBuffer()
SitemeshWriter
getSitemeshBuffer
in interface SitemeshWriter