com.hp.hpl.jena.graph
Interface GetTriple


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.


Method Summary
 Triple getTriple(Node n)
          Answer the triple associated with the node n.
 

Method Detail

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