public class IORelationGraphHelper extends Object
relies on Jena memory graphs to perform serialization and deserialization of memory graphs.
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
namespaces |
protected List<Statement> |
statements |
Constructor and Description |
---|
IORelationGraphHelper(Map<String,String> namespaces,
List<Statement> statements) |
Modifier and Type | Method and Description |
---|---|
protected Graph |
createMemoryGraph() |
Graph |
getGraph() |
List<Statement> |
getStatements() |
void |
read(InputStream in) |
void |
write(OutputStream out) |
protected final Map<String,String> namespaces
protected List<Statement> statements
public List<Statement> getStatements()
protected Graph createMemoryGraph()
public void write(OutputStream out)
public void read(InputStream in)
Copyright © 2015 Nuxeo SA. All rights reserved.