org.grinvin.io.graphs
Class AnnotationSaver
java.lang.Object
org.grinvin.io.graphs.AnnotationSaver
public class AnnotationSaver
extends java.lang.Object
static void | save(AnnotationView annotation, OutputStream out) - Save the annotation graph onto the output stream.
|
static Element | toElement(AnnotationView annotation) - Convert the given annotation to a JDOM-element.
|
save
public static void save(AnnotationView annotation,
OutputStream out)
throws IOException
Save the annotation graph onto the output stream.
out
- Output stream to which the result shall be written.
toElement
public static Element toElement(AnnotationView annotation)
Convert the given annotation to a JDOM-element.