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


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

n - the node to use as the key
the associated triple, or null if none

Licenced under the Apache License, Version 2.0