Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.hp.hpl.jena.rdf.model
Class ModelExtract

    java.lang.Object
      com.hp.hpl.jena.rdf.model.ModelExtract

    public class ModelExtract

extends java.lang.Object

ModelExtract - a wrapper for GraphExtract, allowing rooted sub-models to be extracted from other models with some boundary condition.

Author:
  hedgehog

Constructor Summary
`ModelExtract(StatementBoundary b)` Initialise this ModelExtract with a boundary condition.

Method Summary
`Model` | `extract(Resource r, Model s)` Answer the rooted sub-model.
`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`.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ModelExtract

    public ModelExtract(StatementBoundary b)

  Initialise this ModelExtract with a boundary condition.

Method Detail

### 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`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP