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.



Licenced under the Apache License, Version 2.0