Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hp.hpl.jena.graph
Interface TripleMatch  view TripleMatch download TripleMatch.java

All Known Implementing Classes:
Triple

public interface TripleMatch

Interface for triple matching; may become obsolete. do not assume this is stable. Triple matches are defined by subject, predicate, and object, and may be converted to triples [which in fact subsume the work of TripleMatch].


Method Summary
 Triple asTriple()
          Answer a Triple capturing this match.
 Node getMatchObject()
          If it is known that all triples selected by this match will have a common object, return that node, otherwise return null
 Node getMatchPredicate()
          If it is known that all triples selected by this match will have a common predicate, return that node, otherwise return null
 Node getMatchSubject()
          If it is known that all triples selected by this filter will have a common subject, return that node, otherwise return null
 

Method Detail

getMatchSubject

public Node getMatchSubject()
If it is known that all triples selected by this filter will have a common subject, return that node, otherwise return null


getMatchPredicate

public Node getMatchPredicate()
If it is known that all triples selected by this match will have a common predicate, return that node, otherwise return null


getMatchObject

public Node getMatchObject()
If it is known that all triples selected by this match will have a common object, return that node, otherwise return null


asTriple

public Triple asTriple()
Answer a Triple capturing this match.