コード例 #1
0
 public static void outputPlain(IndentedWriter out, Triple triple, SerializationContext naming) {
   // No tag
   output(out, triple.getSubject(), naming);
   out.print(" ");
   output(out, triple.getPredicate(), naming);
   out.print(" ");
   output(out, triple.getObject(), naming);
 }
コード例 #2
0
 public static void outputPlain(IndentedWriter out, Quad qp, SerializationContext naming) {
   output(out, qp.getGraph(), naming);
   out.print(" ");
   output(out, qp.getSubject(), naming);
   out.print(" ");
   output(out, qp.getPredicate(), naming);
   out.print(" ");
   output(out, qp.getObject(), naming);
 }