com.hp.hpl.jena.graph
Interface GetTriple
- All Known Subinterfaces:
- Reifier
- All Known Implementing Classes:
- BasicFBReifier
public interface GetTriple
this interface describes types that can have a triple extracted using
a getTriple
method. It was constructed so that Node's
can have possibly embedded triples but defer to a GetTriple object if
they have no triple of their own; the particular GetTriple used initially is
in Reifier, but that seemed excessively special.
getTriple
Triple getTriple(Node n)
- Answer the triple associated with the node
n
.
- Parameters:
n
- the node to use as the key
- Returns:
- the associated triple, or
null
if none
Licenced under the Apache License, Version 2.0