Package org.apache.jena.rdf.model
Class StatementBoundaryBase
- java.lang.Object
-
- org.apache.jena.rdf.model.StatementBoundaryBase
-
- All Implemented Interfaces:
StatementBoundary
public abstract class StatementBoundaryBase extends java.lang.Object implements StatementBoundary
StatementBoundaryBase - a base class for StatementBoundarys, with built-in conversation to triples and a continueWith as well as a stopAt.
-
-
Constructor Summary
Constructors Constructor Description StatementBoundaryBase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TripleBoundary
asTripleBoundary(Model m)
Expresses this StatementBoundary as a TripleBoundary.boolean
continueWith(Statement s)
Method to over-ride to define what continues the boundary search; default definition is !stopAt(s).static TripleBoundary
convert(Model s, StatementBoundary b)
Answer a TripleBoundary that is implemented in terms of a StatementBoundary.boolean
stopAt(Statement s)
Method to over-ride to define what stops the boundary search; default definition is !continueWith(s).
-
-
-
Method Detail
-
stopAt
public boolean stopAt(Statement s)
Method to over-ride to define what stops the boundary search; default definition is !continueWith(s). exactly one of these two methods must be defined.- Specified by:
stopAt
in interfaceStatementBoundary
-
continueWith
public boolean continueWith(Statement s)
Method to over-ride to define what continues the boundary search; default definition is !stopAt(s). exactly one of these two methods must be defined.
-
asTripleBoundary
public final TripleBoundary asTripleBoundary(Model m)
Expresses this StatementBoundary as a TripleBoundary.- Specified by:
asTripleBoundary
in interfaceStatementBoundary
-
convert
public static TripleBoundary convert(Model s, StatementBoundary b)
Answer a TripleBoundary that is implemented in terms of a StatementBoundary.
-
-