LocalOntology implements Ontology { protected static void renderAnonymous(PrintStream out, Resource anon, String name) { String anonID = mAnonIDs.get(anon.getId()); if (anonID == null) { anonID = "a-" + mAnonCount++; mAnonIDs.put(anon.getId(), anonID); } out.print("Anonymous "); out.print(name); out.print(" with ID "); out.print(anonID); } LocalOntology(); Ontology getInstance(); @Override void load(); @Override void load(String[] urls); OntologyParser getParser(); static OntModel getModel(); List<String> getLoadedOntologyResources(); @Override void merge(Ontology o); @Override Iterator<String> subclasses(String entitySearchTerm); @Override Iterator synonyms(String queryKeyPhrase); void addSearchTerm(String label, OntResource resource); Map<OntResource, String> retrieve(String label); static void renderClassDescription(PrintStream out, OntClass c, int depth); static final Logger LOG; static final String DELIMITER_SEARCHTERM; }
@Ignore @Test public final void testRenderAnonymous() { fail("Not yet implemented"); }