@Test public void testOddResourceURIs() throws IOException { Model model = ModelFactory.createDefaultModel(); String NS = "/foo/bar"; Property p = model.createProperty(NS + "#p"); model.createResource(NS + "#r").addProperty(p, "value"); Context context = new Context(); roundTripTester(model, Encoder.get(context), context, model, null); }
public static Encoder get( ReadContext context ) { return get(defaultPlugin, context, false ); }
Encoder { public static Encoder get( ReadContext context ) { return get(defaultPlugin, context, false ); } }
Encoder { public static Encoder get( ReadContext context ) { return get(defaultPlugin, context, false ); } private  Encoder(EncoderPlugin rules, ReadContext context); private  Encoder(EncoderPlugin rules, ReadContext context, boolean oneResult, boolean jsonUsesISOdate ); }
Encoder { public static Encoder get( ReadContext context ) { return get(defaultPlugin, context, false ); } private  Encoder(EncoderPlugin rules, ReadContext context); private  Encoder(EncoderPlugin rules, ReadContext context, boolean oneResult, boolean jsonUsesISOdate ); static Encoder getForOneResult( ReadContext c, boolean jsonUsesISOdate ); static Encoder getForOneResult( ReadContext c ); static Encoder getForOneResult(); static Encoder get( ReadContext context ); static Encoder get( ReadContext context, boolean jsonUsesISOdate ); static Encoder get(EncoderPlugin rules); static Encoder get(EncoderPlugin rules, ReadContext fromOntology, boolean jsonUsesISOdate); void encode(Model model, Writer writer); JsonObject encode(Model model); void encode(Model model, Writer writer, boolean pretty); void encode(Model model, List<Resource> roots, Writer writer); JsonObject encode(Model model, List<Resource> roots); void encode(Model model, List<Resource> roots, Writer writer, boolean pretty); void encodeRecursive(Model model, List<Resource> roots, Writer writer, boolean pretty); void encodeRecursive(Model model, List<Resource> roots, Writer writer); JsonObject encodeRecursive(Model model, List<Resource> roots); void encode(Dataset dataset, Writer writer); JsonObject encode(Dataset dataset); void encode(Dataset dataset, Writer writer, boolean pretty); }
Encoder { public static Encoder get( ReadContext context ) { return get(defaultPlugin, context, false ); } private  Encoder(EncoderPlugin rules, ReadContext context); private  Encoder(EncoderPlugin rules, ReadContext context, boolean oneResult, boolean jsonUsesISOdate ); static Encoder getForOneResult( ReadContext c, boolean jsonUsesISOdate ); static Encoder getForOneResult( ReadContext c ); static Encoder getForOneResult(); static Encoder get( ReadContext context ); static Encoder get( ReadContext context, boolean jsonUsesISOdate ); static Encoder get(EncoderPlugin rules); static Encoder get(EncoderPlugin rules, ReadContext fromOntology, boolean jsonUsesISOdate); void encode(Model model, Writer writer); JsonObject encode(Model model); void encode(Model model, Writer writer, boolean pretty); void encode(Model model, List<Resource> roots, Writer writer); JsonObject encode(Model model, List<Resource> roots); void encode(Model model, List<Resource> roots, Writer writer, boolean pretty); void encodeRecursive(Model model, List<Resource> roots, Writer writer, boolean pretty); void encodeRecursive(Model model, List<Resource> roots, Writer writer); JsonObject encodeRecursive(Model model, List<Resource> roots); void encode(Dataset dataset, Writer writer); JsonObject encode(Dataset dataset); void encode(Dataset dataset, Writer writer, boolean pretty);  }