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