Class StatementBoundaryBase

java.lang.Object
org.apache.jena.rdf.model.StatementBoundaryBase
All Implemented Interfaces:
StatementBoundary

public abstract class StatementBoundaryBase extends Object implements StatementBoundary
StatementBoundaryBase - a base class for StatementBoundarys, with built-in conversation to triples and a continueWith as well as a stopAt.
  • Constructor Details

    • StatementBoundaryBase

      public StatementBoundaryBase()
  • Method Details

    • 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 interface StatementBoundary
    • 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 interface StatementBoundary
    • convert

      public static TripleBoundary convert(Model s, StatementBoundary b)
      Answer a TripleBoundary that is implemented in terms of a StatementBoundary.