Uses of Interface
org.apache.jena.rdf.model.Statement
Packages that use Statement
Package
Description
Provides a set of abstractions and convenience classes for accessing and manipluating ontologies
represented in RDF.
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.
Miscellaneous collection of utility classes.
-
Uses of Statement in org.apache.jena.assembler
Methods in org.apache.jena.assembler with parameters of type StatementModifier and TypeMethodDescriptionstatic ResourceAssemblerHelp.getResource(Statement s) Answer the resource that is the object of the statements.static StringAnswer the plain string object of the statements.static StringAnswer the String value of the literalL, which is the object of the Statements.Constructors in org.apache.jena.assembler with parameters of type Statement -
Uses of Statement in org.apache.jena.ontology
Methods in org.apache.jena.ontology that return StatementMethods in org.apache.jena.ontology with parameters of type StatementModifier and TypeMethodDescriptionAnswer a new Path whose elements are this Path withsadded at the endbooleanOntModel.isInBaseModel(Statement stmt) Deprecated, for removal: This API element is subject to removal in a future version.Answer true if the given statement is defined in the base model of this ontology model.booleanMethod parameters in org.apache.jena.ontology with type arguments of type StatementModifier and TypeMethodDescriptionstatic OntTools.PathAnswer the shortest path from thestartresource to theendRDF node, such that every step on the path is accepted by the given filter. -
Uses of Statement in org.apache.jena.ontology.impl
Methods in org.apache.jena.ontology.impl with parameters of type StatementModifier and TypeMethodDescriptionOntModelImpl.getDerivation(Statement statement) Return the derivation of the given statement (which should be the result of some previous list operation).booleanOntModelImpl.isInBaseModel(Statement stmt) Answer true if the given statement is defined in the base model of this ontology model. -
Uses of Statement in org.apache.jena.rdf.listeners
Methods in org.apache.jena.rdf.listeners with parameters of type StatementModifier and TypeMethodDescriptionvoidChangedListener.addedStatement(Statement s) voidNullListener.addedStatement(Statement s) voidObjectListener.addedStatement(Statement s) voidStatementListener.addedStatement(Statement s) Override this to listen to all incoming added statementsvoidChangedListener.addedStatements(Statement[] statements) voidNullListener.addedStatements(Statement[] statements) voidObjectListener.addedStatements(Statement[] statements) voidStatementListener.addedStatements(Statement[] statements) voidChangedListener.removedStatement(Statement s) voidNullListener.removedStatement(Statement s) voidObjectListener.removedStatement(Statement s) voidStatementListener.removedStatement(Statement s) Override this to listen to all incoming removed statementsvoidChangedListener.removedStatements(Statement[] statements) voidNullListener.removedStatements(Statement[] statements) voidObjectListener.removedStatements(Statement[] statements) voidStatementListener.removedStatements(Statement[] statements) Method parameters in org.apache.jena.rdf.listeners with type arguments of type StatementModifier and TypeMethodDescriptionvoidChangedListener.addedStatements(List<Statement> statements) voidNullListener.addedStatements(List<Statement> statements) voidObjectListener.addedStatements(List<Statement> statements) voidStatementListener.addedStatements(List<Statement> statements) voidChangedListener.removedStatements(List<Statement> statements) voidNullListener.removedStatements(List<Statement> statements) voidObjectListener.removedStatements(List<Statement> statements) voidStatementListener.removedStatements(List<Statement> statements) -
Uses of Statement in org.apache.jena.rdf.model
Methods in org.apache.jena.rdf.model that return StatementModifier and TypeMethodDescriptionModelGraphInterface.asStatement(Triple t) Answer a Statement in this Model who's SPO is that of the triplet.Statement.changeLiteralObject(boolean o) Remove this statement (s, p, x) from the model that contains it.Statement.changeLiteralObject(char o) Remove this statement (s, p, x) from the model that contains it.Statement.changeLiteralObject(double o) Remove this statement (s, p, x) from the model that contains it.Statement.changeLiteralObject(float o) Remove this statement (s, p, x) from the model that contains it.Statement.changeLiteralObject(int o) Remove this statement (s, p, x) from the model that contains it.Statement.changeLiteralObject(long o) Remove this statement (s, p, x) from the model that contains it.Statement.changeObject(String o) change the object of the statement (S, P, X) to (S, P, o).Statement.changeObject(String o, String l) change the object of the statement (S, P, X) to (S, P, o).Statement.changeObject(RDFNode o) change the object of the statement (S, P, X) to (S, P, o).ModelCon.createLiteralStatement(Resource s, Property p, boolean o) Answer a new Statement object (s, p, o') where o' is the typed literal corresponding to o using createTypedLiteral.ModelCon.createLiteralStatement(Resource s, Property p, char o) Answer a new Statement object (s, p, o') where o' is the typed literal corresponding to o using createTypedLiteral.ModelCon.createLiteralStatement(Resource s, Property p, double o) Answer a new Statement object (s, p, o') where o' is the typed literal corresponding to o using createTypedLiteral.ModelCon.createLiteralStatement(Resource s, Property p, float o) Answer a new Statement object (s, p, o') where o' is the typed literal corresponding to o using createTypedLiteral.ModelCon.createLiteralStatement(Resource s, Property p, int o) Answer a new Statement object (s, p, o') where o' is the typed literal corresponding to o using createTypedLiteral.ModelCon.createLiteralStatement(Resource s, Property p, long o) Answer a new Statement object (s, p, o') where o' is the typed literal corresponding to o using createTypedLiteral.ModelCon.createLiteralStatement(Resource s, Property p, Object o) Answer a new Statement object (s, p, o') where o' is the typed literal corresponding to o using createTypedLiteral.Model.createStatement(Resource s, Property p, RDFNode o) Create a Statement instance.ModelCon.createStatement(Resource s, Property p, String o) Create a Statement instance.ModelCon.createStatement(Resource s, Property p, String o, String l) Create a Statement instance.static StatementResourceFactory.createStatement(Resource subject, Property predicate, RDFNode object) Create a new statement.ResourceFactory.Interface.createStatement(Resource subject, Property predicate, RDFNode object) Create a new statement.Model.getProperty(Resource s, Property p) Answer a statement (s, p, ?Model.getProperty(Resource s, Property p, String lang) Answer a statement (s, p, ?Resource.getProperty(Property p) Answer some statement (this, p, O) in the associated model.Resource.getProperty(Property p, String lang) Answer some statement (this, p, O), in languagelang, in the associated model.Statement.getProperty(Property p) Get a property of the object of the statement.Model.getRequiredProperty(Resource s, Property p) Return a statement with given subject and property.Model.getRequiredProperty(Resource s, Property p, String lang) Return a statement with given subject and property.Resource.getRequiredProperty(Property p) Get a property value of this resource.Resource.getRequiredProperty(Property p, String lang) Get a property value of this resource in a specified language.StatementTerm.getStatement()Return theStatementthat thisStatementTermrepresents.Statement.getStatementProperty(Property p) Return a property of this statement.StmtIterator.nextStatement()Return the next Statement of the iteration.Statement.remove()Remove this statement from its associated model.Methods in org.apache.jena.rdf.model with parameters of type StatementModifier and TypeMethodDescriptionAdd a statement to this model.Add all the statements to the Model, using through the bulk update interface.voidModelChangedListener.addedStatement(Statement s) Method to call when a single statement has been added to the attached model.voidModelChangedListener.addedStatements(Statement[] statements) Method to call when an array of statements has been added to the attached model.booleanDetermine if a statement is present in this model.default ResourceModel.createReifier(Resource reifier, Statement statement) Create a reification statement in the model.default ResourceModel.createReifier(Statement statement) Create an anonymous resource that reifies a statement (RDF 1.2)default RDFNodeModel.createResource(Statement statement) Deprecated, for removal: This API element is subject to removal in a future version.Model.createStatementTerm(Statement statement) Create an RDFNode for a statement.static StatementTermResourceFactory.createStatementTerm(Statement statement) Create a new statement term.ResourceFactory.Interface.createStatementTerm(Statement statement) Create a new statement term representing an RDF 1.2 triple term.InfModel.getDerivation(Statement statement) Return the derivation of the given statement (which should be the result of some previous list operation).Remove a value from the container.Remove a value from the container.Remove a value from the container.Removes a statement.Remove all the statements from the Model, using the bulk update interface.voidModelChangedListener.removedStatement(Statement s) Method to call when a single statement has been removed from the attached model.voidModelChangedListener.removedStatements(Statement[] statements) Method to call when an array of statements has been removed from the attached model.default ObjectRDFVisitor.visitStmt(StatementTerm statementTerm, Statement statement) Method to call when visiting a statement term.Method parameters in org.apache.jena.rdf.model with type arguments of type StatementModifier and TypeMethodDescriptionadd all the statements in the List to this Model, going through the bulk update interface (which means turning them into triples in one form or another).voidModelChangedListener.addedStatements(List<Statement> statements) Method to call when a list of statements has been added to the attached model.Remove all the statements in the list from this model, using the bulk update interface.voidModelChangedListener.removedStatements(List<Statement> statements) Method to call when a list of statements has been deleted from the attached model. -
Uses of Statement in org.apache.jena.rdf.model.impl
Classes in org.apache.jena.rdf.model.impl that implement StatementMethods in org.apache.jena.rdf.model.impl that return StatementModifier and TypeMethodDescriptionModelCom.asStatement(Triple t) Answer a Statement in this Model which encodes the given Triple.ModelCom.asStatements(Triple[] triples) StatementBase.changeLiteralObject(boolean o) StatementBase.changeLiteralObject(char o) StatementBase.changeLiteralObject(double o) StatementBase.changeLiteralObject(float o) StatementBase.changeLiteralObject(int o) StatementBase.changeLiteralObject(long o) StatementBase.changeObject(String o) StatementBase.changeObject(String o, String l) StatementBase.changeObject(RDFNode o) ModelCom.createLiteralStatement(Resource r, Property p, boolean o) ModelCom.createLiteralStatement(Resource r, Property p, char o) ModelCom.createLiteralStatement(Resource r, Property p, double o) ModelCom.createLiteralStatement(Resource r, Property p, float o) ModelCom.createLiteralStatement(Resource r, Property p, int o) ModelCom.createLiteralStatement(Resource r, Property p, long o) ModelCom.createLiteralStatement(Resource r, Property p, Object o) ModelCom.createStatement(Resource r, Property p, String o) ModelCom.createStatement(Resource r, Property p, String o, String l) ModelCom.createStatement(Resource r, Property p, RDFNode o) create a Statement from the given r, p, and o.ModelCom.getProperty(Resource s, Property p) ModelCom.getProperty(Resource s, Property p, String lang) ResourceImpl.getProperty(Property p) ResourceImpl.getProperty(Property p, String lang) StatementImpl.getProperty(Property p) ModelCom.getRequiredProperty(Resource s, Property p) ModelCom.getRequiredProperty(Resource s, Property p, String lang) ResourceImpl.getRequiredProperty(Property p) ResourceImpl.getRequiredProperty(Property p, String lang) StatementTermImpl.getStatement()StatementImpl.getStatementProperty(Property p) StmtIteratorImpl.next()return *and remember* the next element.StmtIteratorImpl.nextStatement()StatementImpl.remove()static StatementStatementImpl.toStatement(Triple t, ModelCom eg) create a Statement from the triple _t_ in the enhanced graph _eg_.Methods in org.apache.jena.rdf.model.impl that return types with arguments of type StatementModifier and TypeMethodDescriptionModelCom.asStatements(List<Triple> triples) RDFListImpl.collectStatements()Answer a set of all of the RDF statements whose subject is one of the cells of this list.Methods in org.apache.jena.rdf.model.impl with parameters of type StatementModifier and TypeMethodDescriptionadd a Statement to this Model by adding its SPO components.Add all the statements to the model by converting them to an array of corresponding triples and removing those from the underlying graph.static Triple[]returns an array of triples corresponding to the array of statements; ie the i'th element of the result is the i'th element of the input as a triple.booleanModelCom.createStatementTerm(Statement statement) InfModelImpl.getDerivation(Statement statement) Return the derivation of the given statement (which should be the result of some previous list operation).remove all the Statements from the model by converting them to triples and removing those triples from the underlying graph.Method parameters in org.apache.jena.rdf.model.impl with type arguments of type StatementModifier and TypeMethodDescriptionAdd all the statements to the model by converting the list to an array of Statement and removing that.Remove all the Statements from the model by converting the List to a List(Statement) and removing that.Constructors in org.apache.jena.rdf.model.impl with parameters of type StatementModifierConstructorDescriptionStatementTermImpl(Statement stmt) StatementTermImpl(Statement statement, ModelCom m) Constructor parameters in org.apache.jena.rdf.model.impl with type arguments of type StatementModifierConstructorDescriptionContNodeIteratorImpl(Iterator<Statement> iterator, Container cont) Creates new ContNodeIteratorImplSeqNodeIteratorImpl(Iterator<Statement> iterator, Seq seq) Creates new SeqNodeIteratorImplStmtIteratorImpl(Iterator<Statement> iterator) -
Uses of Statement in org.apache.jena.util
Methods in org.apache.jena.util with parameters of type StatementMethod parameters in org.apache.jena.util with type arguments of type Statement
Model.createStatementTerm(org.apache.jena.rdf.model.Statement)