Uses of Interface
org.apache.jena.rdf.model.StmtIterator
Package
Description
Provides default implementations for the abstractions defined in the
org.apache.jena.ontology
package.A package defining some useful implementations of
ModelChangedListener
, for listening to
(a) all triples added or removed, exploding composite objects,
(b) all objects added or removed, as themselves,
(c) notification of additions/removals, but no details,
and (d) accepting but ignoring all changes, as a base-class to
be extended.A package for creating and manipulating RDF graphs.
This package contains implementations of the interfaces defined
in the .model package, eg ModelCom for Model, ResourceImpl
for Resource, and so on.
-
Uses of StmtIterator in org.apache.jena.ontology.impl
Modifier and TypeMethodDescriptionOntModelImpl.listStatements
(Resource subject, Property predicate, RDFNode object, Model posit) Find all the statements matching a pattern. -
Uses of StmtIterator in org.apache.jena.rdf.listeners
Modifier and TypeMethodDescriptionvoid
ChangedListener.addedStatements
(StmtIterator statements) void
NullListener.addedStatements
(StmtIterator statements) void
ObjectListener.addedStatements
(StmtIterator statements) void
StatementListener.addedStatements
(StmtIterator statements) void
ChangedListener.removedStatements
(StmtIterator statements) void
NullListener.removedStatements
(StmtIterator statements) void
ObjectListener.removedStatements
(StmtIterator statements) void
StatementListener.removedStatements
(StmtIterator statements) -
Uses of StmtIterator in org.apache.jena.rdf.model
Modifier and TypeMethodDescriptionModelCon.listLiteralStatements
(Resource subject, Property predicate, boolean object) Answer a statement iterator that will iterate over all the statements (S, P, O) in this model where S matchessubject
, P matchespredicate
, and O matches the typed literal corresponding toobject
.ModelCon.listLiteralStatements
(Resource subject, Property predicate, char object) Answer a statement iterator that will iterate over all the statements (S, P, O) in this model where S matchessubject
, P matchespredicate
, and O matches the typed literal corresponding toobject
.ModelCon.listLiteralStatements
(Resource subject, Property predicate, double object) Answer a statement iterator that will iterate over all the statements (S, P, O) in this model where S matchessubject
, P matchespredicate
, and O matches the typed literal corresponding toobject
.ModelCon.listLiteralStatements
(Resource subject, Property predicate, float object) Answer a statement iterator that will iterate over all the statements (S, P, O) in this model where S matchessubject
, P matchespredicate
, and O matches the typed literal corresponding toobject
.ModelCon.listLiteralStatements
(Resource subject, Property predicate, int object) Answer a statement iterator that will iterate over all the statements (S, P, O) in this model where S matchessubject
, P matchespredicate
, and O matches the typed literal corresponding toobject
.ModelCon.listLiteralStatements
(Resource subject, Property predicate, long object) Answer a statement iterator that will iterate over all the statements (S, P, O) in this model where S matchessubject
, P matchespredicate
, and O matches the typed literal corresponding toobject
.Resource.listProperties()
Return an iterator over all the properties of this resource.Resource.listProperties
(Property p) List all the values of the property p.Resource.listProperties
(Property p, String lang) Return an iterator over all the properties of this resource with a specific language.InfModel.listStatements
(Resource subject, Property predicate, RDFNode object, Model posit) Find all the statements matching a pattern.Model.listStatements()
List all statements.Model.listStatements
(Resource s, Property p, RDFNode o) Find all the statements matching a pattern.ModelCon.listStatements
(Resource subject, Property predicate, String object) Find all the statements matching a pattern.ModelCon.listStatements
(Resource subject, Property predicate, String object, String lang) Find all the statements matching a pattern.Modifier and TypeMethodDescriptionModel.add
(StmtIterator iter) Add all the statements returned by an iterator to this model.void
ModelChangedListener.addedStatements
(StmtIterator statements) Method to call when a statement iterator has supplied elements to be added to the attached model.boolean
Model.containsAll
(StmtIterator iter) Determine if all of the statements returned by an iterator are contained in this model.boolean
Model.containsAny
(StmtIterator iter) Determine if any of the statements returned by an iterator are contained in this model.ModelCon.remove
(StmtIterator iter) Remove all the Statements returned by an iterator.void
ModelChangedListener.removedStatements
(StmtIterator statements) Method to call when a statement iterator has been used to remove statements from the attached model. -
Uses of StmtIterator in org.apache.jena.rdf.model.impl
Modifier and TypeMethodDescriptionModelCom.asStatements
(Iterator<Triple> it) static StmtIterator
IteratorFactory.asStmtIterator
(Iterator<Triple> i, ModelCom m) ModelCom.listBySubject
(Container cont) ModelCom.listLiteralStatements
(Resource S, Property P, boolean O) ModelCom.listLiteralStatements
(Resource S, Property P, char O) ModelCom.listLiteralStatements
(Resource S, Property P, double O) ModelCom.listLiteralStatements
(Resource S, Property P, float O) ModelCom.listLiteralStatements
(Resource S, Property P, int O) ModelCom.listLiteralStatements
(Resource S, Property P, long O) ResourceImpl.listProperties()
ResourceImpl.listProperties
(Property p) ResourceImpl.listProperties
(Property p, String lang) InfModelImpl.listStatements
(Resource subject, Property predicate, RDFNode object, Model posit) Find all the statements matching a pattern.ModelCom.listStatements()
ModelCom.listStatements
(Resource S, Property P, String O) ModelCom.listStatements
(Resource S, Property P, String O, String L) ModelCom.listStatements
(Resource S, Property P, RDFNode O) Modifier and TypeMethodDescriptionModelCom.add
(StmtIterator iter) boolean
ModelCom.containsAll
(StmtIterator iter) boolean
ModelCom.containsAny
(StmtIterator iter) ModelCom.remove
(StmtIterator iter)