public class TripleEncoder extends Object
NodeFactory
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
private static TripleEncoder |
tripleEncoder |
Modifier | Constructor and Description |
---|---|
private |
TripleEncoder() |
Modifier and Type | Method and Description |
---|---|
org.apache.jena.graph.Triple |
encodeTriple(org.apache.jena.graph.Triple t)
Method that encode triple based on Jena escaping rules.
|
private org.apache.jena.graph.Node |
encodeUri(org.apache.jena.graph.Node n) |
static TripleEncoder |
getInstance() |
private static final org.slf4j.Logger LOGGER
private static TripleEncoder tripleEncoder
public static final TripleEncoder getInstance()
public org.apache.jena.graph.Triple encodeTriple(org.apache.jena.graph.Triple t)
Triple
- the triple that will be encodedprivate org.apache.jena.graph.Node encodeUri(org.apache.jena.graph.Node n) throws URISyntaxException, UnsupportedEncodingException
Copyright © 2017–2020. All rights reserved.