com.hp.hpl.jena.graph
Interface TripleMatch

All Known Implementing Classes:
Triple

public interface TripleMatch

Author:
Jeremy Carroll; updated by kers

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.



Copyright © 2001-2003 Hewlett-Packard. All Rights Reserved.