public class Renderer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Renderer.Algorithm |
static class |
Renderer.Builder |
| Modifier and Type | Field and Description |
|---|---|
static Renderer |
DEFAULT |
static Map<Object,String> |
DEFAULT_COLOR_MAP |
static Set<String> |
DEFAULT_NODE_NAMESPACES |
static Set<org.eclipse.rdf4j.model.IRI> |
DEFAULT_NODE_TYPES |
static List<String> |
DEFAULT_RANKED_NAMESPACES |
static Map<Object,String> |
DEFAULT_STYLE_MAP |
static com.github.mustachejava.Mustache |
DEFAULT_TEMPLATE |
| Modifier and Type | Method and Description |
|---|---|
static Renderer.Builder |
builder() |
void |
renderAll(Appendable out,
KAFDocument document,
org.eclipse.rdf4j.model.Model model,
Object template,
Map<String,?> templateParameters) |
void |
renderGraph(Appendable out,
eu.fbk.rdfpro.util.QuadModel model,
Renderer.Algorithm algorithm) |
void |
renderMentionsTable(Appendable out,
org.eclipse.rdf4j.model.Model model) |
void |
renderObject(Appendable out,
Object object,
org.eclipse.rdf4j.model.Model model) |
void |
renderParsing(Appendable out,
KAFDocument document,
org.eclipse.rdf4j.model.Model model,
int sentence) |
void |
renderProperties(Appendable out,
org.eclipse.rdf4j.model.Model model,
org.eclipse.rdf4j.model.Resource node,
boolean emitID,
org.eclipse.rdf4j.model.IRI... excludedProperties) |
void |
renderText(Appendable out,
KAFDocument document,
Iterable<Term> terms,
org.eclipse.rdf4j.model.Model model) |
void |
renderTriplesTable(Appendable out,
org.eclipse.rdf4j.model.Model model) |
public static final Set<org.eclipse.rdf4j.model.IRI> DEFAULT_NODE_TYPES
public static final com.github.mustachejava.Mustache DEFAULT_TEMPLATE
public static final Renderer DEFAULT
public void renderAll(Appendable out, KAFDocument document, org.eclipse.rdf4j.model.Model model, @Nullable Object template, @Nullable Map<String,?> templateParameters) throws IOException
IOExceptionpublic void renderGraph(Appendable out, eu.fbk.rdfpro.util.QuadModel model, Renderer.Algorithm algorithm) throws IOException
IOExceptionpublic void renderText(Appendable out, KAFDocument document, Iterable<Term> terms, org.eclipse.rdf4j.model.Model model) throws IOException
IOExceptionpublic void renderParsing(Appendable out, KAFDocument document, @Nullable org.eclipse.rdf4j.model.Model model, int sentence) throws IOException
IOExceptionpublic void renderProperties(Appendable out, org.eclipse.rdf4j.model.Model model, org.eclipse.rdf4j.model.Resource node, boolean emitID, org.eclipse.rdf4j.model.IRI... excludedProperties) throws IOException
IOExceptionpublic void renderTriplesTable(Appendable out, org.eclipse.rdf4j.model.Model model) throws IOException
IOExceptionpublic void renderMentionsTable(Appendable out, org.eclipse.rdf4j.model.Model model) throws IOException
IOExceptionpublic void renderObject(Appendable out, Object object, @Nullable org.eclipse.rdf4j.model.Model model) throws IOException
IOExceptionpublic static Renderer.Builder builder()
Copyright © 2016–2020 FBK. All rights reserved.