public interface JenaGraph extends Graph
Graph.
The underlying Jena Graph can be accessed with
asJenaGraph().
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.graph.Graph |
asJenaGraph()
Return the underlying Jena
Graph. |
org.apache.jena.rdf.model.Model |
asJenaModel()
Return the graph as a Jena
Model. |
org.apache.jena.graph.Graph asJenaGraph()
Graph.
Changes to the Jena graph are reflected in the Commons RDF graph and vice versa.
Graphorg.apache.jena.rdf.model.Model asJenaModel()
Model.
Changes to the Jena model are reflected in the Commons RDF graph and vice versa.
Note that in some cases there is no underlying Jena Model, in
which case this method will create one. Subsequent calls should return
the same model.
ModelCopyright © 2015–2018 The Apache Software Foundation. All rights reserved.