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.


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


Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP