public abstract class AbstractModelAddRemove extends AbstractModelWriter implements ModelAddRemove
Constructor and Description |
---|
AbstractModelAddRemove() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addStatement(Resource subject,
URI predicate,
Node object)
adds a (subject, property ,object)-statement to this model
|
void |
removeAll()
Removes all statements from this model.
|
void |
removeAll(Iterator<? extends Statement> other)
Removes all statements contained in 'other' from this model =
'difference'
|
abstract void |
removeStatement(Resource subject,
URI predicate,
Node object)
remove a (subject, property ,object)-statement from the model
|
void |
removeStatement(Resource subject,
URI predicate,
String literal) |
void |
removeStatement(Resource subject,
URI predicate,
String literal,
String languageTag)
remove a (subject, property ,literal, language tag)-statement from the
model
|
void |
removeStatement(Resource subject,
URI predicate,
String literal,
URI datatypeURI)
remove a (subject, property ,literal, datatype)-statement from the model
datatype often is an uri for a xml schema datatype (xsd)
|
void |
removeStatement(Statement statement)
remove a rdf2go-statement from the model
|
void |
removeStatement(String subjectURIString,
URI predicate,
String literal) |
void |
removeStatement(String subjectURIString,
URI predicate,
String literal,
String languageTag)
remove a (subject, property ,literal, language tag)-statement from the
model
|
void |
removeStatement(String subjectURIString,
URI predicate,
String literal,
URI datatypeURI)
remove a (subject, property ,literal, datatype)-statement from the model
datatype often is an uri for a xml schema datatype (xsd)
|
void |
update(DiffReader diff)
Apply the changes given by this diff
|
addAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDiff
iterator
forEach, spliterator
addAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement
public void removeStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException
removeStatement
in interface ModelAddRemove
ModelRuntimeException
public void removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException
ModelAddRemove
removeStatement
in interface ModelAddRemove
ModelRuntimeException
public void removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException
ModelAddRemove
removeStatement
in interface ModelAddRemove
ModelRuntimeException
public void removeStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException
removeStatement
in interface ModelAddRemove
ModelRuntimeException
public void removeStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException
ModelAddRemove
removeStatement
in interface ModelAddRemove
ModelRuntimeException
public void removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException
ModelAddRemove
removeStatement
in interface ModelAddRemove
ModelRuntimeException
public void removeStatement(Statement statement) throws ModelRuntimeException
ModelAddRemove
removeStatement
in interface ModelAddRemove
ModelRuntimeException
public void removeAll(Iterator<? extends Statement> other) throws ModelRuntimeException
ModelAddRemove
removeAll
in interface ModelAddRemove
ModelRuntimeException
public void removeAll() throws ModelRuntimeException
ModelAddRemove
removeAll
in interface ModelAddRemove
ModelRuntimeException
public void update(DiffReader diff) throws ModelRuntimeException
ModelAddRemove
update
in interface ModelAddRemove
ModelRuntimeException
public abstract void addStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException
ModelWriter
addStatement
in interface ModelWriter
addStatement
in class AbstractModelWriter
subject
- of the statementpredicate
- of the statementobject
- of the statementModelRuntimeException
- if there is either an error with the
underlying model or an IOException
public abstract void removeStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException
ModelAddRemove
removeStatement
in interface ModelAddRemove
subject
- URI or Object (= blankNode)object
- URI or String (=plainLiteral) or BlankNode (=blankNode) or
TypedLiteral or LanguageTagLiteralModelRuntimeException
Copyright © 2005–2016 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.