|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.io.IlvOutputStream
ilog.views.svg.SVGOutputStream
public class SVGOutputStream
This class is an IlvOutputStream that allows you to save the
contents of an IlvManager to an XML file using SVG grammar
specifications. This is done in two steps: building a DOM tree with SVG
elements corresponding to ILOG JViews graphic objects and then dumping
the tree to the OutputStream.
SVGStreamFactory,
SVGDocumentBuilder| Constructor Summary | |
|---|---|
SVGOutputStream(OutputStream stream,
SVGStreamFactory factory)
Builds an SVGOutputStream from an OutputStream
using information found in the given SVGStreamFactory. |
|
| Method Summary | |
|---|---|
void |
write(IlvManager manager)
Writes the contents of the manager to a stream using SVG grammar. |
| Methods inherited from class ilog.views.io.IlvOutputStream |
|---|
filterObjects, flush, getBinary, getManager, setBinary, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeExtensions, writeGradient, writePattern, writeStroke, writeTexture |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVGOutputStream(OutputStream stream,
SVGStreamFactory factory)
SVGOutputStream from an OutputStream
using information found in the given SVGStreamFactory.
If the IlvOutputStream.getBinary() method returns
true, a GZIPOutputStream will be used to compress
the OutputStream.
stream - The output stream.factory - The SVG stream factory.| Method Detail |
|---|
public void write(IlvManager manager)
throws IOException
SVGElements translated from the IlvGraphic of
the IlvManager, and then writing the document
to the stream as an XML file.
write in class IlvOutputStreammanager - The manager to save.
IOException - usual IO errors.SVGDocumentBuilder,
SVGStreamFactory.createSVGDocumentBuilder()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||