public static void append(Appendable appender, ElkObject elkObject, boolean expandAbbreviatedIris) throws IOException { OwlFunctionalStylePrinterVisitor printer = new OwlFunctionalStylePrinterVisitor( appender, expandAbbreviatedIris); try { elkObject.accept(printer); } catch (PrintingException e) { throw new IOException(e.getMessage(), e.getCause()); } }
public static void append(Appendable appender, ElkObject elkObject, boolean expandAbbreviatedIris) throws IOException { OwlFunctionalStylePrinterVisitor printer = new OwlFunctionalStylePrinterVisitor( appender, expandAbbreviatedIris); try { elkObject.accept(printer); } catch (PrintingException e) { throw new IOException(e.getMessage(), e.getCause()); } }
@Override public Void visit(ElkAnnotationProperty elkAnnotationProperty) { write(elkAnnotationProperty); return null; }
@Override public Void visit(ElkClass elkClass) { write(elkClass); return null; }
@Override public Void visit(ElkNamedIndividual elkNamedIndividual) { write(elkNamedIndividual); return null; }