@Override
public String toString() {
StringWriter buffer = new StringWriter();
PrintWriter output = new PrintWriter(buffer);
try {
ModelEmitter.emit(this, new PrintEmitContext(output));
} catch (RuntimeException e) {
e.printStackTrace(output);
}
output.flush();
return buffer.toString();