Package org.apache.jena.rdf.model
Class ModelExtract
- java.lang.Object
-
- org.apache.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.
-
-
Constructor Summary
Constructors Constructor Description ModelExtract(StatementBoundary b)
Initialise this ModelExtract with a boundary condition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Model
extract(Resource r, Model s)
Answer the rooted sub-model.Model
extractInto(Model model, Resource r, Model s)
Answermodel
after updating it with the sub-graph ofs
rooted atr
, bounded by this instancesboundary
.
-
-
-
Constructor Detail
-
ModelExtract
public ModelExtract(StatementBoundary b)
Initialise this ModelExtract with a boundary condition.
-
-