Search in sources :

Example 21 with IndentedWriter

use of org.apache.jena.atlas.io.IndentedWriter in project jena by apache.

the class SSE method write.

public static void write(OutputStream out, Node node) {
    IndentedWriter iOut = new IndentedWriter(out);
    write(iOut, node);
    iOut.flush();
}
Also used : IndentedWriter(org.apache.jena.atlas.io.IndentedWriter)

Example 22 with IndentedWriter

use of org.apache.jena.atlas.io.IndentedWriter in project jena by apache.

the class SSE method write.

public static void write(OutputStream out, Graph graph) {
    IndentedWriter iOut = new IndentedWriter(out);
    write(iOut, graph);
    iOut.flush();
}
Also used : IndentedWriter(org.apache.jena.atlas.io.IndentedWriter)

Example 23 with IndentedWriter

use of org.apache.jena.atlas.io.IndentedWriter in project jena by apache.

the class SSE method write.

public static void write(OutputStream out, DatasetGraph dataset) {
    IndentedWriter iOut = new IndentedWriter(out);
    write(iOut, dataset);
    iOut.flush();
}
Also used : IndentedWriter(org.apache.jena.atlas.io.IndentedWriter)

Example 24 with IndentedWriter

use of org.apache.jena.atlas.io.IndentedWriter in project jena by apache.

the class SSE method write.

public static void write(OutputStream out, Quad quad) {
    IndentedWriter iOut = new IndentedWriter(out);
    write(iOut, quad);
    iOut.flush();
}
Also used : IndentedWriter(org.apache.jena.atlas.io.IndentedWriter)

Example 25 with IndentedWriter

use of org.apache.jena.atlas.io.IndentedWriter in project jena by apache.

the class SSE method write.

public static void write(OutputStream out, Model model) {
    IndentedWriter iOut = new IndentedWriter(out);
    write(iOut, model);
    iOut.flush();
}
Also used : IndentedWriter(org.apache.jena.atlas.io.IndentedWriter)

Aggregations

IndentedWriter (org.apache.jena.atlas.io.IndentedWriter)57 SerializationContext (org.apache.jena.sparql.serializer.SerializationContext)5 TerminationException (org.apache.jena.cmd.TerminationException)4 Node (org.apache.jena.graph.Node)4 PrefixMapping (org.apache.jena.shared.PrefixMapping)4 CmdException (org.apache.jena.cmd.CmdException)3 Triple (org.apache.jena.graph.Triple)3 Syntax (org.apache.jena.query.Syntax)3 IOException (java.io.IOException)2 ServletOutputStream (javax.servlet.ServletOutputStream)2 Pair (org.apache.jena.atlas.lib.Pair)2 RiotException (org.apache.jena.riot.RiotException)2 RiotNotFoundException (org.apache.jena.riot.RiotNotFoundException)2 NodeFormatter (org.apache.jena.riot.out.NodeFormatter)2 NodeFormatterTTL (org.apache.jena.riot.out.NodeFormatterTTL)2 JenaException (org.apache.jena.shared.JenaException)2 ARQException (org.apache.jena.sparql.ARQException)2 Var (org.apache.jena.sparql.core.Var)2 Plan (org.apache.jena.sparql.engine.Plan)2 Expr (org.apache.jena.sparql.expr.Expr)2