Class ModelExtract


public class ModelExtract extends Object
ModelExtract - a wrapper for GraphExtract, allowing rooted sub-models to be extracted from other models with some boundary condition.
  • Constructor Details

    • ModelExtract

      public ModelExtract(StatementBoundary b)
      Initialise this ModelExtract with a boundary condition.
  • Method Details

    • extract

      public Model extract(Resource r, Model s)
      Answer the rooted sub-model.
    • extractInto

      public Model extractInto(Model model, Resource r, Model s)
      Answer model after updating it with the sub-graph of s rooted at r, bounded by this instances boundary.