org.grinvin.io
Class EmbeddingSaver
java.lang.Objectorg.grinvin.io.EmbeddingSaver
public class EmbeddingSaver
extends java.lang.Object
Saves a
EmbeddingView as a
embedding.xml-section
onto an output stream.
void | save(OutputStream out)- Save the embedding graph onto the output stream.
|
Element | toElement()- Convert the given embedding to a JDOM-element.
|
EmbeddingSaver
public EmbeddingSaver(EmbeddingView embedding)
Creates a new instance of this saver for the given embedding
embedding - embedding to be saved
save
public void save(OutputStream out)
throws IOException Save the embedding graph onto the output stream.
out - Output stream to which the result shall be written.
toElement
public Element toElement()
Convert the given embedding to a JDOM-element.