com.hp.hpl.jena.graph
Interface TripleBoundary


public interface TripleBoundary

An interface for expressing a stopping condition on triples, such as in sub-graph extraction.

Author:
hedgehog

Field Summary
static TripleBoundary stopAtAnonObject
          A TripleBoundary that stops at triples with anonymous objects.
static TripleBoundary stopNowhere
          A TripleBoundary without limits - stopAt always returns false.
 
Method Summary
 boolean stopAt(Triple t)
          Answer true if this triple is a stopping triple, and whatever search is using this interface should proceed no further.
 

Field Detail

stopNowhere

static final TripleBoundary stopNowhere
A TripleBoundary without limits - stopAt always returns false.


stopAtAnonObject

static final TripleBoundary stopAtAnonObject
A TripleBoundary that stops at triples with anonymous objects.

Method Detail

stopAt

boolean stopAt(Triple t)
Answer true if this triple is a stopping triple, and whatever search is using this interface should proceed no further.



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