| java.lang.Object org.ontoware.rdf2go.model.impl.AbstractModelWriter org.ontoware.rdf2go.model.impl.AbstractModelAddRemove org.ontoware.rdf2go.model.impl.AbstractModelRemovePatterns org.ontoware.rdf2go.model.impl.AbstractModel org.ontoware.rdf2go.model.impl.DelegatingModel
All known Subclasses: org.ontoware.rdf2go.model.impl.NotifyingModelLayer, org.ontoware.rdf2go.impl.autopersist.ModelImplAutoPersist, org.ontoware.semversion.impl.BlankNodeEnrichmentModel, org.ontoware.semversion.impl.ReadOnlyModelLayer,
DelegatingModel | public class DelegatingModel extends AbstractModel implements Model(Code) | | Delegates all calls to underlying model. This class is meant to be subclassed
and have some methods overriden. This was inspired by Sesame's SAIL API.
author: voelkel |
Method Summary | |
public void | addAll(Iterator<? extends Statement> other) | public void | addStatement(Resource subject, URI predicate, Node object) | public void | addStatement(Resource subject, URI predicate, String literal) | public void | addStatement(Resource subject, URI predicate, String literal, String languageTag) | public void | addStatement(Resource subject, URI predicate, String literal, URI datatypeURI) | public void | addStatement(Statement statement) | public void | addStatement(String subjectURIString, URI predicate, String literal) | public void | addStatement(String subjectURIString, URI predicate, String literal, String languageTag) | public void | addStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) | public void | close() | public void | commit() | public boolean | contains(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) | public BlankNode | createBlankNode() | public BlankNode | createBlankNode(String internalID) | public URI | createURI(String uriString) | public void | dump() | public ClosableIterator<Statement> | findStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) | public ClosableIterator<Statement> | findStatements(TriplePattern pattern) | public URI | getContextURI() | public Model | getDelegatedModel() | public Diff | getDiff(Iterator<? extends Statement> other) | public Object | getProperty(URI propertyURI) | public Object | getUnderlyingModelImplementation() | public boolean | isEmpty() | public boolean | isIsomorphicWith(Model other) | public boolean | isLocked() | public boolean | isOpen() | public boolean | isValidURI(String uriString) | public ClosableIterator<Statement> | iterator() | public void | lock() | public URI | newRandomUniqueURI() | public void | open() | public ClosableIterable<Statement> | queryConstruct(String query, String querylanguage) | public QueryResultTable | querySelect(String query, String querylanguage) | public void | readFrom(InputStream in) | public void | readFrom(InputStream reader, Syntax syntax) | public void | readFrom(Reader r) | public void | readFrom(Reader reader, Syntax syntax) | public void | readFrom(Reader in, Syntax syntax, URL baseURI) | public void | readFrom(InputStream reader, Syntax syntax, URL baseURI) | public void | removeAll() | public void | removeAll(Iterator<? extends Statement> other) | public void | removeStatement(Resource subject, URI predicate, Node object) | public void | removeStatement(Resource subject, URI predicate, String literal) | public void | removeStatement(Resource subject, URI predicate, String literal, String languageTag) | public void | removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) | public void | removeStatement(Statement statement) | public void | removeStatement(String subjectURIString, URI predicate, String literal) | public void | removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) | public void | removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) | public void | removeStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) | public void | setAutocommit(boolean autocommit) | protected void | setDelegatedModel(Model model) | public void | setProperty(URI propertyURI, Object value) | public long | size() | public boolean | sparqlAsk(String query) | public ClosableIterable<Statement> | sparqlConstruct(String query) | public ClosableIterable<Statement> | sparqlDescribe(String query) | public QueryResultTable | sparqlSelect(String queryString) | public void | unlock() | public void | update(DiffReader diff) | public void | writeTo(OutputStream out) | public void | writeTo(OutputStream out, Syntax syntax) | public void | writeTo(Writer w) | public void | writeTo(Writer writer, Syntax syntax) |
DelegatingModel | protected DelegatingModel()(Code) | | Please set model!
|
DelegatingModel | public DelegatingModel(Model model)(Code) | | |
close | public void close()(Code) | | |
commit | public void commit()(Code) | | |
getContextURI | public URI getContextURI()(Code) | | |
getDelegatedModel | public Model getDelegatedModel()(Code) | | |
getUnderlyingModelImplementation | public Object getUnderlyingModelImplementation()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
isIsomorphicWith | public boolean isIsomorphicWith(Model other)(Code) | | |
isLocked | public boolean isLocked()(Code) | | |
isOpen | public boolean isOpen()(Code) | | |
newRandomUniqueURI | public URI newRandomUniqueURI()(Code) | | |
setAutocommit | public void setAutocommit(boolean autocommit)(Code) | | |
setDelegatedModel | protected void setDelegatedModel(Model model)(Code) | | |
unlock | public void unlock()(Code) | | |
Methods inherited from org.ontoware.rdf2go.model.impl.AbstractModel | public void addAll(Iterator<? extends Statement> other) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Statement statement) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) protected void assertModel()(Code)(Java Doc) public void close()(Code)(Java Doc) public void commit()(Code)(Java Doc) public boolean contains(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) throws ModelRuntimeException(Code)(Java Doc) public boolean contains(ResourceOrVariable subject, UriOrVariable predicate, String plainLiteral) throws ModelRuntimeException(Code)(Java Doc) public boolean contains(Statement s) throws ModelRuntimeException(Code)(Java Doc) public long countStatements(TriplePattern pattern) throws ModelRuntimeException(Code)(Java Doc) public DatatypeLiteral createDatatypeLiteral(String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public LanguageTagLiteral createLanguageTagLiteral(String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public PlainLiteral createPlainLiteral(String literal) throws ModelRuntimeException(Code)(Java Doc) public BlankNode createReficationOf(Statement statement)(Code)(Java Doc) public Resource createReficationOf(Statement statement, Resource resource)(Code)(Java Doc) public Statement createStatement(Resource subject, URI predicate, Node object)(Code)(Java Doc) public TriplePattern createTriplePattern(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object)(Code)(Java Doc) public URI createURI(String uriString) throws ModelRuntimeException(Code)(Java Doc) public void deleteReification(Resource reificationResource)(Code)(Java Doc) public ClosableIterator<Statement> findStatements(TriplePattern triplepattern) throws ModelRuntimeException(Code)(Java Doc) public Collection<Resource> getAllReificationsOf(Statement statement)(Code)(Java Doc) public Diff getDiff(Iterator<? extends Statement> other) throws ModelRuntimeException(Code)(Java Doc) public Object getProperty(URI propertyURI)(Code)(Java Doc) public Object getUnderlyingModelImplementation()(Code)(Java Doc) public boolean hasReifications(Statement statement)(Code)(Java Doc) public boolean isEmpty()(Code)(Java Doc) public boolean isOpen()(Code)(Java Doc) public URI newRandomUniqueURI()(Code)(Java Doc) public void open()(Code)(Java Doc) public ClosableIterable<Statement> queryConstruct(String query, String querylanguage) throws QueryLanguageNotSupportedException, ModelRuntimeException(Code)(Java Doc) public QueryResultTable querySelect(String query, String querylanguage) throws QueryLanguageNotSupportedException, ModelRuntimeException(Code)(Java Doc) public void readFrom(InputStream in, Syntax syntax) throws IOException, ModelRuntimeException(Code)(Java Doc) public void readFrom(InputStream in, Syntax syntax, URL baseURI) throws IOException, ModelRuntimeException(Code)(Java Doc) public void readFrom(Reader reader, Syntax syntax, URL baseURI) throws ModelRuntimeException, IOException(Code)(Java Doc) public void removeAll() throws ModelRuntimeException(Code)(Java Doc) public void removeAll(Iterator<? extends Statement> statements)(Code)(Java Doc) public void removeStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Statement statement) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public void removeStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) throws ModelRuntimeException(Code)(Java Doc) public void removeStatements(TriplePattern triplePattern) throws ModelRuntimeException(Code)(Java Doc) public String serialize(Syntax syntax) throws SyntaxNotSupportedException(Code)(Java Doc) public void setAutocommit(boolean autocommit)(Code)(Java Doc) public void setProperty(URI propertyURI, Object value)(Code)(Java Doc) public long size() throws ModelRuntimeException(Code)(Java Doc) public boolean sparqlAsk(String query) throws ModelRuntimeException, MalformedQueryException(Code)(Java Doc) public synchronized void update(DiffReader diff) throws ModelRuntimeException(Code)(Java Doc) public void writeTo(OutputStream out, Syntax syntax) throws IOException, ModelRuntimeException(Code)(Java Doc)
|
Methods inherited from org.ontoware.rdf2go.model.impl.AbstractModelAddRemove | abstract public void addStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException(Code)(Java Doc) public void removeAll(Iterator<? extends Statement> other) throws ModelRuntimeException(Code)(Java Doc) public void removeAll() throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public void removeStatement(Statement statement) throws ModelRuntimeException(Code)(Java Doc) abstract public void removeStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException(Code)(Java Doc) public void update(DiffReader diff) throws ModelRuntimeException(Code)(Java Doc) public void update(Diff diff) throws ModelRuntimeException(Code)(Java Doc)
|
Methods inherited from org.ontoware.rdf2go.model.impl.AbstractModelWriter | public void addAll(Iterator<? extends Statement> other) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc) public void addStatement(Statement statement) throws ModelRuntimeException(Code)(Java Doc) abstract public void addStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException(Code)(Java Doc)
|
|
|