public class IlvGanttStreamWriter extends Object
Document
to an
output stream.
To use this writer you should first create an instance of
this writer and then call the
writeDocument
method to write the
Gantt model to the given output stream.Constructor and Description |
---|
IlvGanttStreamWriter()
Creates an
IlvGanttStreamWriter . |
Modifier and Type | Method and Description |
---|---|
String |
getPublicDTD()
Gets the public DTD.
|
String |
getSystemDTD()
Gets the system DTD.
|
void |
setPublicDTD(String dtd)
Changes the public DTD.
|
void |
setSystemDTD(String dtd)
Changes the system DTD.
|
void |
writeDocument(OutputStream outstream,
Document document)
Writes the document to the output stream.
|
public IlvGanttStreamWriter()
IlvGanttStreamWriter
.
The system DTD and the public DTD are set respectively to
public void writeDocument(OutputStream outstream, Document document) throws Exception
getSystemDTD()
and getPublicDTD()
.outstream
- The out stream to write to.document
- The document to be written.Exception
setSystemDTD(java.lang.String)
,
setPublicDTD(java.lang.String)
public void setPublicDTD(String dtd)
writeDocument()
method.dtd
- The new public DTD.writeDocument(java.io.OutputStream, org.w3c.dom.Document)
public String getPublicDTD()
writeDocument()
method.writeDocument(java.io.OutputStream, org.w3c.dom.Document)
public void setSystemDTD(String dtd)
writeDocument()
method.dtd
- The new system DTD.writeDocument(java.io.OutputStream, org.w3c.dom.Document)
public String getSystemDTD()
writeDocument()
method.writeDocument(java.io.OutputStream, org.w3c.dom.Document)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.