public class WriterService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
XHTML_NAMESPACE |
Constructor and Description |
---|
WriterService(BufferedWriter bufferedWriter,
org.pentaho.reporting.libraries.base.util.MemoryStringWriter bufferWriter) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static WriterService |
createBufferedService(OutputStream out,
String encoding) |
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter |
createHeaderXmlWriter() |
static WriterService |
createPassThroughService(OutputStream out,
String encoding) |
org.pentaho.reporting.libraries.base.util.MemoryStringWriter |
getBufferWriter() |
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter |
getXmlWriter() |
boolean |
isBuffered() |
public static final String XHTML_NAMESPACE
public WriterService(BufferedWriter bufferedWriter, org.pentaho.reporting.libraries.base.util.MemoryStringWriter bufferWriter)
public org.pentaho.reporting.libraries.xmlns.writer.XmlWriter getXmlWriter()
public org.pentaho.reporting.libraries.base.util.MemoryStringWriter getBufferWriter()
public org.pentaho.reporting.libraries.xmlns.writer.XmlWriter createHeaderXmlWriter()
public boolean isBuffered()
public static WriterService createPassThroughService(OutputStream out, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public static WriterService createBufferedService(OutputStream out, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public void close() throws IOException
IOException