public void writeTo(OutputStream out, Syntax syntax) throws IOException,
ModelRuntimeException, SyntaxNotSupportedException {
if (syntax == Syntax.Trix) {
writeTo(out);
} else {
throw new SyntaxNotSupportedException(
"Syntax '"
+ syntax
+ "' not supported. Or the adapter implementor was too lazy to override thid method");
}
}