org.ontoware.rdf2go.model.impl
Class AbstractModelAddRemove
java.lang.Object
org.ontoware.rdf2go.model.impl.AbstractModelWriter
org.ontoware.rdf2go.model.impl.AbstractModelAddRemove
- All Implemented Interfaces:
- java.lang.Iterable<Statement>, ClosableIterable<Statement>, Lockable, ModelAddRemove, ModelWriter
- Direct Known Subclasses:
- AbstractModelRemovePatterns, DiffImpl, ModelAddRemoveMemoryImpl
public abstract class AbstractModelAddRemove
- extends AbstractModelWriter
- implements ModelAddRemove
For high-performance, adapters should override all of these methods, to avoid
internal object creations, such as "new URIImpl(subjectURIString)" in
"removeStatement(String subjectURIString, URI predicate, String literal)"
- Author:
- mvo
|
Method Summary |
abstract void |
addStatement(Resource subject,
URI predicate,
Node object)
|
void |
removeAll()
|
void |
removeAll(java.util.Iterator<? extends Statement> other)
|
abstract void |
removeStatement(Resource subject,
URI predicate,
Node object)
|
void |
removeStatement(Resource subject,
URI predicate,
java.lang.String literal)
|
void |
removeStatement(Resource subject,
URI predicate,
java.lang.String literal,
java.lang.String languageTag)
|
void |
removeStatement(Resource subject,
URI predicate,
java.lang.String literal,
URI datatypeURI)
|
void |
removeStatement(Statement statement)
|
void |
removeStatement(java.lang.String subjectURIString,
URI predicate,
java.lang.String literal)
|
void |
removeStatement(java.lang.String subjectURIString,
URI predicate,
java.lang.String literal,
java.lang.String languageTag)
|
void |
removeStatement(java.lang.String subjectURIString,
URI predicate,
java.lang.String literal,
URI datatypeURI)
|
void |
update(Diff diff)
Deprecated. |
void |
update(DiffReader diff)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractModelAddRemove
public AbstractModelAddRemove()
removeStatement
public void removeStatement(java.lang.String subjectURIString,
URI predicate,
java.lang.String literal)
throws ModelRuntimeException
- Specified by:
removeStatement in interface ModelAddRemove
- Throws:
ModelRuntimeException
removeStatement
public void removeStatement(java.lang.String subjectURIString,
URI predicate,
java.lang.String literal,
java.lang.String languageTag)
throws ModelRuntimeException
- Specified by:
removeStatement in interface ModelAddRemove
- Throws:
ModelRuntimeException
removeStatement
public void removeStatement(java.lang.String subjectURIString,
URI predicate,
java.lang.String literal,
URI datatypeURI)
throws ModelRuntimeException
- Specified by:
removeStatement in interface ModelAddRemove
- Throws:
ModelRuntimeException
removeStatement
public void removeStatement(Resource subject,
URI predicate,
java.lang.String literal)
throws ModelRuntimeException
- Specified by:
removeStatement in interface ModelAddRemove
- Throws:
ModelRuntimeException
removeStatement
public void removeStatement(Resource subject,
URI predicate,
java.lang.String literal,
java.lang.String languageTag)
throws ModelRuntimeException
- Specified by:
removeStatement in interface ModelAddRemove
- Throws:
ModelRuntimeException
removeStatement
public void removeStatement(Resource subject,
URI predicate,
java.lang.String literal,
URI datatypeURI)
throws ModelRuntimeException
- Specified by:
removeStatement in interface ModelAddRemove
- Throws:
ModelRuntimeException
removeStatement
public void removeStatement(Statement statement)
throws ModelRuntimeException
- Specified by:
removeStatement in interface ModelAddRemove
- Throws:
ModelRuntimeException
removeAll
public void removeAll(java.util.Iterator<? extends Statement> other)
throws ModelRuntimeException
- Specified by:
removeAll in interface ModelAddRemove
- Throws:
ModelRuntimeException
removeAll
public void removeAll()
throws ModelRuntimeException
- Specified by:
removeAll in interface ModelAddRemove
- Throws:
ModelRuntimeException
update
public void update(DiffReader diff)
throws ModelRuntimeException
- Specified by:
update in interface ModelAddRemove
- Throws:
ModelRuntimeException
update
@Deprecated
public void update(Diff diff)
throws ModelRuntimeException
- Deprecated.
- Specified by:
update in interface ModelAddRemove
- Throws:
ModelRuntimeException
addStatement
public abstract void addStatement(Resource subject,
URI predicate,
Node object)
throws ModelRuntimeException
- Specified by:
addStatement in interface ModelWriter- Specified by:
addStatement in class AbstractModelWriter
- Throws:
ModelRuntimeException
removeStatement
public abstract void removeStatement(Resource subject,
URI predicate,
Node object)
throws ModelRuntimeException
- Specified by:
removeStatement in interface ModelAddRemove
- Throws:
ModelRuntimeException
Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.