public final class SerializationUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.hp.hpl.jena.sparql.util.Symbol |
subjectKey |
| Modifier and Type | Method and Description |
|---|---|
static com.hp.hpl.jena.graph.Node |
getDatasetSubject(com.hp.hpl.jena.query.Dataset rdf)
Get the subject of the dataset, given by the context's "uri"
|
static void |
setDatasetSubject(com.hp.hpl.jena.query.Dataset rdf,
String uri)
Set the subject of the dataset by injecting a context "uri"
|
static com.hp.hpl.jena.rdf.model.Model |
unifyDatasetModel(com.hp.hpl.jena.query.Dataset dataset)
Merge a dataset's named graphs into a single model, in order to provide a
cohesive serialization.
|
public static void setDatasetSubject(com.hp.hpl.jena.query.Dataset rdf,
String uri)
rdf - public static com.hp.hpl.jena.graph.Node getDatasetSubject(com.hp.hpl.jena.query.Dataset rdf)
rdf - public static com.hp.hpl.jena.rdf.model.Model unifyDatasetModel(com.hp.hpl.jena.query.Dataset dataset)
dataset - Copyright © 2013–2014 DuraSpace, Inc.. All rights reserved.