use of nu.xom.Serializer in project tetrad by cmu-phil.
the class TestSemXml method printDocument.
private static void printDocument(Document document) {
Serializer serializer = new Serializer(System.out);
serializer.setLineSeparator("\n");
serializer.setIndent(2);
try {
serializer.write(document);
} catch (IOException e) {
throw new RuntimeException(e);
}
}
Aggregations