| com.hp.hpl.jena.rdf.model.ModelGraphInterface
ModelGraphInterface | public interface ModelGraphInterface (Code) | | 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.
author: kers |
Method Summary | |
RDFNode | asRDFNode(Node n) Answer an RDF node wrapping n 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
with n as their value carrier. | Statement | asStatement(Triple t) Answer a Statement in this Model who's SPO is that of the triple t . | Graph | getGraph() Answer the Graph which this Model is presenting. | QueryHandler | queryHandler() Answer the QueryHandler of the Graph this Model is presenting. |
asRDFNode | RDFNode asRDFNode(Node n)(Code) | | Answer an RDF node wrapping n 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
with n as their value carrier.
|
asStatement | Statement asStatement(Triple t)(Code) | | Answer a Statement in this Model who's SPO is that of the triple t .
|
getGraph | Graph getGraph()(Code) | | Answer the Graph which this Model is presenting.
|
queryHandler | QueryHandler queryHandler()(Code) | | Answer the QueryHandler of the Graph this Model is presenting.
|
|
|