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

Quick Search    Search Deep

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


public interface TripleBoundary

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


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

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


stopAtAnonObject

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

Method Detail

stopAt

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