Package org.apache.jena.rdf.model
Interface ModelGraphInterface
-
- All Known Implementing Classes:
InfModelImpl
,ModelCom
,MonitorModel
,OntModelImpl
public interface ModelGraphInterface
ModelGraphInterface - this interface mediates between the API Model level and the SPI Graph level. It may change if the SPI changes, is more fluid than Model and ModelCon, so don't use if it you don't *need* to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RDFNode
asRDFNode(Node n)
Answer an RDF node wrappingn
suitably; URI nodes become Resources with the same URI, blank nodes become Resources with URI null but the same AnonId, and literal nodes become Literals withn
as their value carrier.Statement
asStatement(Triple t)
Answer a Statement in this Model who's SPO is that of the triplet
.Graph
getGraph()
Answer the Graph which this Model is presenting.Resource
wrapAsResource(Node n)
-
-
-
Method Detail
-
asStatement
Statement asStatement(Triple t)
Answer a Statement in this Model who's SPO is that of the triplet
.
-
getGraph
Graph getGraph()
Answer the Graph which this Model is presenting.
-
asRDFNode
RDFNode asRDFNode(Node n)
Answer an RDF node wrappingn
suitably; URI nodes become Resources with the same URI, blank nodes become Resources with URI null but the same AnonId, and literal nodes become Literals withn
as their value carrier.
-
-