@Test public void testWriteSimpleStatements() throws RDFHandlerException, RDFParseException, IOException { ItemDocument document = createTestItemDocument(); this.rdfConverter.setTasks(RdfSerializer.TASK_SIMPLE_STATEMENTS); this.rdfConverter.writeStatements(document); this.rdfWriter.finish(); Model model = RdfTestHelpers.parseRdf(this.out.toString()); assertEquals( RdfTestHelpers .parseRdf("\n<http: + "<http: model); }
public void setTasks(int tasks) { this.tasks = tasks; }
RdfConverter extends AbstractRdfConverter { public void setTasks(int tasks) { this.tasks = tasks; } }
RdfConverter extends AbstractRdfConverter { public void setTasks(int tasks) { this.tasks = tasks; } RdfConverter(RdfWriter rdfWriter, Sites sites, PropertyRegister propertyRegister); }
RdfConverter extends AbstractRdfConverter { public void setTasks(int tasks) { this.tasks = tasks; } RdfConverter(RdfWriter rdfWriter, Sites sites, PropertyRegister propertyRegister); void setTasks(int tasks); int getTasks(); @Override void writeTermTriples(Resource subject, TermKind kind, Collection<MonolingualTextValue> terms); @Override void writeSiteLinks(Resource subject, Map<String, SiteLink> siteLinks); @Override void writePropertyDatatype(PropertyDocument document); @Override void writeInterPropertyLinks(PropertyDocument document); @Override void writeSimpleStatement(Statement statement); @Override void writeFullStatement(Statement statement, boolean best); @Override void writeItemDocument(ItemDocument document); @Override void writePropertyDocument(PropertyDocument document); @Override void writeOWLDeclarations(); }
RdfConverter extends AbstractRdfConverter { public void setTasks(int tasks) { this.tasks = tasks; } RdfConverter(RdfWriter rdfWriter, Sites sites, PropertyRegister propertyRegister); void setTasks(int tasks); int getTasks(); @Override void writeTermTriples(Resource subject, TermKind kind, Collection<MonolingualTextValue> terms); @Override void writeSiteLinks(Resource subject, Map<String, SiteLink> siteLinks); @Override void writePropertyDatatype(PropertyDocument document); @Override void writeInterPropertyLinks(PropertyDocument document); @Override void writeSimpleStatement(Statement statement); @Override void writeFullStatement(Statement statement, boolean best); @Override void writeItemDocument(ItemDocument document); @Override void writePropertyDocument(PropertyDocument document); @Override void writeOWLDeclarations();  }