Class SPARQLExtFormatterBase
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.serializer.SPARQLExtFormatterBase
-
- Direct Known Subclasses:
SPARQLExtFormatterElement
,SPARQLExtFormatterTemplate
public class SPARQLExtFormatterBase extends Object
Base class for formatters.- Author:
- Maxime Lefrançois
-
-
Field Summary
Fields Modifier and Type Field Description protected SerializationContext
context
protected org.apache.jena.atlas.io.IndentedWriter
out
-
Constructor Summary
Constructors Modifier Constructor Description protected
SPARQLExtFormatterBase(org.apache.jena.atlas.io.IndentedWriter _out, SerializationContext _context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finishVisit()
protected void
formatTriple(Triple tp)
protected void
formatTriples(BasicPattern pattern)
protected String
slotToString(Node n)
-
-
-
Field Detail
-
out
protected final org.apache.jena.atlas.io.IndentedWriter out
-
context
protected final SerializationContext context
-
-
Constructor Detail
-
SPARQLExtFormatterBase
protected SPARQLExtFormatterBase(org.apache.jena.atlas.io.IndentedWriter _out, SerializationContext _context)
-
-
Method Detail
-
finishVisit
public void finishVisit()
-
formatTriples
protected void formatTriples(BasicPattern pattern)
-
formatTriple
protected void formatTriple(Triple tp)
-
-