|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
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. |
Resource |
wrapAsResource(Node n)
|
Method Detail |
---|
Statement asStatement(Triple t)
t
.
Graph getGraph()
QueryHandler queryHandler()
RDFNode asRDFNode(Node n)
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.
Resource wrapAsResource(Node n)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |