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

    Modifier and Type
    Method
    Description
    Answer the triple associated with the node n.
  • Method Details

    • 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