Search in sources :

Example 6 with NodeFormatterTTL

use of org.apache.jena.riot.out.NodeFormatterTTL in project jena by apache.

the class PrintingStreamRDF method base.

@Override
public void base(String base) {
    out.print("BASE");
    out.print("    ");
    getFmt().formatURI(out, base);
    out.println();
    // Reset the formatter because of the new base URI.
    pretty = new NodeFormatterTTL(base, prefixMap);
}
Also used : NodeFormatterTTL(org.apache.jena.riot.out.NodeFormatterTTL)

Aggregations

NodeFormatterTTL (org.apache.jena.riot.out.NodeFormatterTTL)6 NodeFormatter (org.apache.jena.riot.out.NodeFormatter)4 PrefixMap (org.apache.jena.riot.system.PrefixMap)2 ArrayList (java.util.ArrayList)1 AWriter (org.apache.jena.atlas.io.AWriter)1 IndentedWriter (org.apache.jena.atlas.io.IndentedWriter)1 Node (org.apache.jena.graph.Node)1 PrefixMapping (org.apache.jena.shared.PrefixMapping)1 Var (org.apache.jena.sparql.core.Var)1 Binding (org.apache.jena.sparql.engine.binding.Binding)1