public class LoggingModel extends Object implements Model
Constructor and Description |
---|
LoggingModel(Model m) |
Modifier and Type | Method and Description |
---|---|
void |
addAll(Iterator<? extends Statement> other)
Add all statements contained in 'other' to this model = 'union'
|
void |
addModel(Model model)
Adds a complete
Model to this Model. |
BlankNode |
addReificationOf(Statement statement)
A convenience function for addReficationOf( createBlankNode(), statement
);
|
Resource |
addReificationOf(Statement statement,
Resource resource)
Reifies the statement, whether the statement was present in the model or
not.
|
void |
addStatement(Resource subject,
URI predicate,
Node object)
adds a (subject, property ,object)-statement to this model
|
void |
addStatement(Resource subject,
URI predicate,
String literal)
adds a (subject, property, literal)-statement to the model.
|
void |
addStatement(Resource subject,
URI predicate,
String literal,
String languageTag)
adds a (subject, property, liteal, language-tag)-statement to the model.
|
void |
addStatement(Resource subject,
URI predicate,
String literal,
URI datatypeURI)
adds a (subject, property, literal ,datatype)-statement to the model.
|
void |
addStatement(Statement statement)
adds a statement to this model
|
void |
addStatement(String subjectURIString,
URI predicate,
String literal)
adds a (subject, property, literal)-statement to the model.
|
void |
addStatement(String subjectURIString,
URI predicate,
String literal,
String languageTag)
adds a (subject, property, liteal, language-tag)-statement to the model.
|
void |
addStatement(String subjectURIString,
URI predicate,
String literal,
URI datatypeURI)
adds a (subject, property, literal, data-type)-statement to the model.
|
void |
close()
Close connection to defined, underlying implementation.
|
void |
commit()
Deprecated.
|
boolean |
contains(ResourceOrVariable subject,
UriOrVariable predicate,
NodeOrVariable object) |
boolean |
contains(ResourceOrVariable subject,
UriOrVariable predicate,
String plainLiteral)
Convenience function.
|
boolean |
contains(Statement s) |
long |
countStatements(TriplePattern pattern) |
BlankNode |
createBlankNode()
Create (but do not add) a new blank node
|
BlankNode |
createBlankNode(String internalID)
Create a new blank node with the given internal ID.
|
DatatypeLiteral |
createDatatypeLiteral(String literal,
URI datatypeURI) |
LanguageTagLiteral |
createLanguageTagLiteral(String literal,
String langugeTag) |
PlainLiteral |
createPlainLiteral(String literal)
Create a new plain literal
|
Statement |
createStatement(Resource subject,
URI predicate,
Node object)
Create a new statement - but DOES NOT add it to the model
|
TriplePattern |
createTriplePattern(ResourceOrVariable subject,
UriOrVariable predicate,
NodeOrVariable object) |
URI |
createURI(String uriString)
The model must create URIs it would accept itself.
|
void |
deleteReification(Resource reificationResource)
Delete reifications made by this resource.
|
void |
dump()
Dumps the whole content of the model via System.out
|
ClosableIterator<Statement> |
findStatements(ResourceOrVariable subject,
UriOrVariable predicate,
NodeOrVariable object)
get all statements in the model with this subject, predicate and object.
|
ClosableIterator<Statement> |
findStatements(TriplePattern pattern)
Iterator must be auto-close, i.e.
|
Collection<Resource> |
getAllReificationsOf(Statement statement) |
URI |
getContextURI() |
Diff |
getDiff(Iterator<? extends Statement> statements) |
String |
getNamespace(String prefix) |
Map<String,String> |
getNamespaces()
Get all namespaces as a map of prefix to namespace.
|
Object |
getProperty(URI propertyURI) |
Object |
getUnderlyingModelImplementation() |
boolean |
hasReifications(Statement stmt) |
boolean |
isEmpty() |
boolean |
isIsomorphicWith(Model other)
Two models can be equal even if they do not contain the same statements.
|
boolean |
isLocked() |
boolean |
isOpen() |
boolean |
isValidURI(String uriString)
CHecks URI for syntax errors.
|
ClosableIterator<Statement> |
iterator()
Returns an iterator over a set of elements of type T.
|
void |
lock()
Tries to obtain a lock.
|
URI |
newRandomUniqueURI()
Implementations are free to choose if their semantics are unique within
the this model, the ModelSet, or unique in the universe
|
Model |
open()
Open connection to defined, underlying implementation
|
ClosableIterable<Statement> |
queryConstruct(String query,
String querylanguage) |
QueryResultTable |
querySelect(String query,
String querylanguage)
returns results for queries in other query languages as a
QueryResultTable as supported by underlying implementation.
|
void |
readFrom(InputStream in)
Read from InputStream assuming to read an RDF/XML stream.
|
void |
readFrom(InputStream reader,
Syntax syntax)
Reads assuming the given syntax.
|
void |
readFrom(InputStream in,
Syntax syntax,
String baseURI)
Reads RDF data from the given
InputStream in the given Syntax . |
void |
readFrom(Reader in)
Read from Reader assuming in UTF8 encoding.
|
void |
readFrom(Reader in,
Syntax syntax)
Reads assuming the given syntax.
|
void |
readFrom(Reader in,
Syntax syntax,
String baseURI)
|
void |
removeAll()
Removes all statements from this model.
|
void |
removeAll(Iterator<? extends Statement> statements)
Removes all statements contained in 'other' from this model =
'difference'
|
void |
removeNamespace(String prefix)
Throws no exception if the prefix was not present.
|
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 |
removeStatements(ResourceOrVariable subject,
UriOrVariable predicate,
NodeOrVariable object)
remove a (subject, property ,object)-statement from the model
|
void |
removeStatements(TriplePattern triplePattern)
remove all matching triple patterms from the model
|
String |
serialize(Syntax syntax)
Convenience method to export a Model to a String in a given syntax.
|
void |
setAutocommit(boolean autocommit)
Deprecated.
|
void |
setNamespace(String prefix,
String namespaceURI) |
void |
setProperty(URI propertyURI,
Object value)
Add an arbitrary runtime property, this will not be persisted and is only
available at runtime.
|
long |
size()
For plain models without any inference, this is the exact number of
explicit statements.
|
boolean |
sparqlAsk(String query)
SPARQL ask queries
|
ClosableIterable<Statement> |
sparqlConstruct(String query) |
ClosableIterable<Statement> |
sparqlDescribe(String query)
Iterator must be auto-close, i.e.
|
QueryResultTable |
sparqlSelect(String queryString)
returns results for SPARQL Select queries, as supported by underlying
implementation.
|
void |
unlock()
Removes a lock.
|
void |
update(DiffReader diff)
Apply the changes given by this diff
|
void |
writeTo(OutputStream out)
Writing an RDF/XML stream in UTF8 encoding
|
void |
writeTo(OutputStream out,
Syntax syntax)
Write the model to the passed writer, using the passed syntax.
|
void |
writeTo(Writer out)
Writing an RDF/XML stream in UTF8 encoding
|
void |
writeTo(Writer out,
Syntax syntax)
Write the model to the passed writer, using the passed syntax.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public LoggingModel(Model m)
public void addAll(Iterator<? extends Statement> other) throws ModelRuntimeException
ModelWriter
addAll
in interface ModelWriter
other
- another RDF2GO modelModelRuntimeException
- if there is either an error with the
underlying model or an IOException
public void addModel(Model model) throws ModelRuntimeException
Model
Model
to this Model. The context URI of the other
model is ignored, if present.
Note: this might be faster than addAll( model.iterator() );addModel
in interface Model
ModelRuntimeException
- if any internal (I/O related) exception
occurspublic Resource addReificationOf(Statement statement, Resource resource)
ReificationSupport
(resource) rdf:type rdf:Statement .
(resource) rdf:subject (statement.getSubject()) .
(resource) rdf:predicate (statement.getPredicate()) .
(resource) rdf:object (statement.getObject()) .
addReificationOf
in interface ReificationSupport
statement
- which will be reifiedresource
- used to represent the reified statementpublic BlankNode addReificationOf(Statement statement)
ReificationSupport
addReificationOf
in interface ReificationSupport
public void addStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException
ModelWriter
addStatement
in interface ModelWriter
subject
- of the statementpredicate
- of the statementobject
- of the statementModelRuntimeException
- if there is either an error with the
underlying model or an IOException
public void addStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException
ModelWriter
addStatement
in interface ModelWriter
subject
- URI or Object (= blankNode)predicate
- of the statementliteral
- main part of literal value of the statementlanguageTag
- RDF language tagModelRuntimeException
- if there is either an error with the
underlying model or an IOException
public void addStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException
ModelWriter
addStatement
in interface ModelWriter
subject
- of the statementpredicate
- of the statementliteral
- main part of the literal of the statementdatatypeURI
- for the datatype part of the literalModelRuntimeException
- if there is either an error with the
underlying model or an IOException
public void addStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException
ModelWriter
addStatement
in interface ModelWriter
subject
- of the statementpredicate
- of the statementliteral
- of the statement. A PlainLiteral
will be created.ModelRuntimeException
- if there is either an error with the
underlying model or an IOException
public void addStatement(Statement statement) throws ModelRuntimeException
ModelWriter
addStatement
in interface ModelWriter
statement
- the statement to addModelRuntimeException
- if there is either an error with the
underlying model or an IOException
public void addStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException
ModelWriter
addStatement
in interface ModelWriter
subjectURIString
- interpreted as a URIpredicate
- of the statementliteral
- main part of the LanguageTagLiteral
languageTag
- RDF language tag of the LanguageTagLiteral
ModelRuntimeException
- if there is either an error with the
underlying model or an IOException
public void addStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException
ModelWriter
addStatement
in interface ModelWriter
subjectURIString
- interpreted as URI of the statementpredicate
- of the statementliteral
- for the DatatypeLiteral
datatypeURI
- for the DatatypeLiteral
ModelRuntimeException
- if there is either an error with the
underlying model or an IOException
public void addStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException
ModelWriter
addStatement
in interface ModelWriter
subjectURIString
- interpreted as URI of the statementpredicate
- of the statementliteral
- for the PlainLiteral
ModelRuntimeException
- if there is either an error with the
underlying model or an IOException
public void close()
Model
@Deprecated public void commit() throws ModelRuntimeException
Commitable
commit
in interface Commitable
ModelRuntimeException
- if the commit could not be executedpublic boolean contains(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) throws ModelRuntimeException
contains
in interface FindableModel
subject
- defined or a Variable
, e.g. Variable.ANY
predicate
- defined or a Variable
, e.g. Variable.ANY
object
- defined or a Variable
, e.g. Variable.ANY
ModelRuntimeException
- most often caused by underlying
IOException
, if anypublic boolean contains(ResourceOrVariable subject, UriOrVariable predicate, String plainLiteral) throws ModelRuntimeException
FindableModel
contains
in interface FindableModel
subject
- defined or a Variable
, e.g. Variable.ANY
predicate
- defined or a Variable
, e.g. Variable.ANY
plainLiteral
- a string interpreted as adefined PlainLiteral
ModelRuntimeException
- most often caused by underlying
IOException
, if anypublic boolean contains(Statement s) throws ModelRuntimeException
contains
in interface FindableModel
s
- a StatementModelRuntimeException
- most often caused by underlying
IOException
, if anypublic long countStatements(TriplePattern pattern) throws ModelRuntimeException
countStatements
in interface FindableModel
ModelRuntimeException
public BlankNode createBlankNode()
ModelValueFactory
createBlankNode
in interface ModelValueFactory
public BlankNode createBlankNode(String internalID)
ModelValueFactory
createBlankNode
in interface ModelValueFactory
public DatatypeLiteral createDatatypeLiteral(String literal, URI datatypeURI) throws ModelRuntimeException
createDatatypeLiteral
in interface ModelValueFactory
ModelRuntimeException
- e.g. if the datatype URI causes problemspublic LanguageTagLiteral createLanguageTagLiteral(String literal, String langugeTag) throws ModelRuntimeException
createLanguageTagLiteral
in interface ModelValueFactory
ModelRuntimeException
- e.g. if the language tag is malformedpublic PlainLiteral createPlainLiteral(String literal)
ModelValueFactory
createPlainLiteral
in interface ModelValueFactory
public Statement createStatement(Resource subject, URI predicate, Node object)
ModelValueFactory
createStatement
in interface ModelValueFactory
public TriplePattern createTriplePattern(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object)
createTriplePattern
in interface FindableModel
subject
- defined or a Variable
, e.g. Variable.ANY
predicate
- defined or a Variable
, e.g. Variable.ANY
object
- defined or a Variable
, e.g. Variable.ANY
public URI createURI(String uriString) throws IllegalArgumentException
ModelValueFactory
createURI
in interface ModelValueFactory
IllegalArgumentException
public void deleteReification(Resource reificationResource)
ReificationSupport
(reificationResource) rdf:type rdf:Statement .
(reificationResource) rdf:subject * .
(reificationResource) rdf:predicate * .
(reificationResource) rdf:object * .
Note that one resource might have been used in several
reifications. Although semantic nonsense, this can happen. This method
cleans up also these cases.
Note that this method deletes the reification from all contexts.deleteReification
in interface ReificationSupport
public void dump()
Model
public ClosableIterator<Statement> findStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) throws ModelRuntimeException
FindableModel
findStatements
in interface FindableModel
subject
- URI or Object (= blankNode) or Variablepredicate
- URI or Variableobject
- URI or String (=plainLiteral) or BlankNode (=blankNode) or
TypedLiteral or LanguageTagLiteral or VariableModelRuntimeException
- most often caused by underlying
IOException
, if anypublic ClosableIterator<Statement> findStatements(TriplePattern pattern) throws ModelRuntimeException
FindableModel
findStatements
in interface FindableModel
pattern
- to be matchedModelRuntimeException
- most often caused by underlying
IOException
, if anypublic Collection<Resource> getAllReificationsOf(Statement statement)
getAllReificationsOf
in interface ReificationSupport
public URI getContextURI()
getContextURI
in interface Model
public Diff getDiff(Iterator<? extends Statement> statements) throws ModelRuntimeException
getDiff
in interface ModelAddRemove
ModelRuntimeException
public String getNamespace(String prefix)
getNamespace
in interface NamespaceSupport
public Map<String,String> getNamespaces()
NamespaceSupport
getNamespaces
in interface NamespaceSupport
public Object getProperty(URI propertyURI)
getProperty
in interface Model
public Object getUnderlyingModelImplementation()
getUnderlyingModelImplementation
in interface Model
public boolean hasReifications(Statement stmt)
hasReifications
in interface ReificationSupport
?reificationResource rdf:type rdf:Statement .
?reificationResource rdf:subject ?s .
?reificationResource rdf:predicate ?p .
?reificationResource rdf:object ?o .
public boolean isEmpty()
public boolean isIsomorphicWith(Model other)
Model
isIsomorphicWith
in interface Model
public boolean isLocked()
public boolean isOpen()
public boolean isValidURI(String uriString)
ModelValueFactory
isValidURI
in interface ModelValueFactory
public ClosableIterator<Statement> iterator()
ClosableIterable
public void lock() throws LockException
Lockable
lock
in interface Lockable
LockException
- if already lockedpublic URI newRandomUniqueURI()
ModelValueFactory
newRandomUniqueURI
in interface ModelValueFactory
public Model open()
Model
public ClosableIterable<Statement> queryConstruct(String query, String querylanguage) throws QueryLanguageNotSupportedException, MalformedQueryException, ModelRuntimeException
queryConstruct
in interface Sparqlable
QueryLanguageNotSupportedException
- if the adapter can't
understand the given query languageMalformedQueryException
- if the query is not a valid construct
query in the given query languageModelRuntimeException
- if the execution throws an exceptionpublic QueryResultTable querySelect(String query, String querylanguage) throws QueryLanguageNotSupportedException, MalformedQueryException, ModelRuntimeException
Sparqlable
querySelect
in interface Sparqlable
QueryLanguageNotSupportedException
- if the given query langauge is
not supportedMalformedQueryException
- if the query is not a valid query in the
given query languageModelRuntimeException
- if the execution throws an exceptionpublic void readFrom(InputStream in, Syntax syntax, String baseURI) throws IOException, ModelRuntimeException
ModelIO
InputStream
in the given Syntax
.
The baseURI is used to dereference URIs with the syntax ":name".readFrom
in interface ModelIO
IOException
ModelRuntimeException
public void readFrom(InputStream reader, Syntax syntax) throws IOException, ModelRuntimeException
ModelIO
readFrom
in interface ModelIO
syntax
- syntax to useIOException
- on IOErrorsModelRuntimeException
- on RDF serialization errors or model errorspublic void readFrom(InputStream in) throws IOException, ModelRuntimeException
ModelIO
readFrom
in interface ModelIO
in
- the input to readIOException
- on IOErrorsModelRuntimeException
- on RDF serialization errors or model errorspublic void readFrom(Reader in, Syntax syntax, String baseURI) throws IOException, ModelRuntimeException
ModelIO
Reader
in the given Syntax
.
The baseURI is used to dereference URIs with the syntax ":name".readFrom
in interface ModelIO
IOException
ModelRuntimeException
public void readFrom(Reader in, Syntax syntax) throws IOException, ModelRuntimeException
ModelIO
readFrom
in interface ModelIO
in
- the input to readsyntax
- syntax to useIOException
- on IOErrorsModelRuntimeException
- on RDF serialization errors or model errorspublic void readFrom(Reader in) throws IOException, ModelRuntimeException
ModelIO
readFrom
in interface ModelIO
in
- the input to readIOException
- on IOErrorsModelRuntimeException
- on RDF serialization errors or model errorspublic void removeAll() throws ModelRuntimeException
ModelAddRemove
removeAll
in interface ModelAddRemove
ModelRuntimeException
public void removeAll(Iterator<? extends Statement> statements) throws ModelRuntimeException
ModelAddRemove
removeAll
in interface ModelAddRemove
ModelRuntimeException
public void removeNamespace(String prefix)
NamespaceSupport
removeNamespace
in interface NamespaceSupport
public 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
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(Resource subject, URI predicate, String literal) throws ModelRuntimeException
removeStatement
in interface ModelAddRemove
ModelRuntimeException
public void removeStatement(Statement statement) throws ModelRuntimeException
ModelAddRemove
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(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException
removeStatement
in interface ModelAddRemove
ModelRuntimeException
public void removeStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) throws ModelRuntimeException
ModelRemovePatterns
removeStatements
in interface ModelRemovePatterns
subject
- URI or Object (= blankNode)object
- URI or String (=plainLiteral) or BlankNode (=blankNode) or
TypedLiteral or LanguageTagLiteralModelRuntimeException
public void removeStatements(TriplePattern triplePattern) throws ModelRuntimeException
ModelRemovePatterns
removeStatements
in interface ModelRemovePatterns
ModelRuntimeException
public String serialize(Syntax syntax) throws SyntaxNotSupportedException
ModelIO
serialize
in interface ModelIO
SyntaxNotSupportedException
- if the syntax is not supported@Deprecated public void setAutocommit(boolean autocommit)
Commitable
setAutocommit
in interface Commitable
autocommit
- If true, all changes are immediately written to the
underlying persistence layer, if any is used.public void setNamespace(String prefix, String namespaceURI) throws IllegalArgumentException
setNamespace
in interface NamespaceSupport
IllegalArgumentException
- if the given namespaceURI is not a valid URI in this
environment.public void setProperty(URI propertyURI, Object value)
Model
setProperty
in interface Model
public long size() throws ModelRuntimeException
Model
size
in interface Model
ModelRuntimeException
public boolean sparqlAsk(String query) throws ModelRuntimeException, MalformedQueryException
Sparqlable
sparqlAsk
in interface Sparqlable
query
- a SPARQL AKS queryModelRuntimeException
- if the execution throws an exceptionMalformedQueryException
- if the query is not a valid SPARQL ASK
querypublic ClosableIterable<Statement> sparqlConstruct(String query) throws ModelRuntimeException, MalformedQueryException
sparqlConstruct
in interface Sparqlable
ModelRuntimeException
- if the execution throws an exceptionMalformedQueryException
- if the query is not a valid SPARQL
CONSTRUCT querypublic ClosableIterable<Statement> sparqlDescribe(String query) throws ModelRuntimeException
Sparqlable
sparqlDescribe
in interface Sparqlable
ModelRuntimeException
- if the execution throws an exceptionMalformedQueryException
- if the query is not a valid SPARQL
DESCRIBE querypublic QueryResultTable sparqlSelect(String queryString) throws MalformedQueryException, ModelRuntimeException
Sparqlable
sparqlSelect
in interface Sparqlable
queryString
- The SPARQL select query stringMalformedQueryException
- if the query is not a valid SPARQL SELECT
queryModelRuntimeException
- if an error happens when executing the
querypublic void unlock()
Lockable
public void update(DiffReader diff) throws ModelRuntimeException
ModelAddRemove
update
in interface ModelAddRemove
ModelRuntimeException
public void writeTo(OutputStream out, Syntax syntax) throws IOException, ModelRuntimeException
ModelIO
writeTo
in interface ModelIO
out
- the output to write tosyntax
- syntax to useIOException
- on IOErrorsModelRuntimeException
- on RDF serialization errors or model errorspublic void writeTo(OutputStream out) throws IOException, ModelRuntimeException
ModelIO
writeTo
in interface ModelIO
out
- the output to write toIOException
- on IOErrorsModelRuntimeException
- on RDF serialization errors or model errorspublic void writeTo(Writer out, Syntax syntax) throws IOException, ModelRuntimeException
ModelIO
writeTo
in interface ModelIO
out
- the output to write tosyntax
- syntax to useIOException
- on IOErrorsModelRuntimeException
- on RDF serialization errors or model errorspublic void writeTo(Writer out) throws IOException, ModelRuntimeException
ModelIO
writeTo
in interface ModelIO
out
- the output to write toIOException
- on IOErrorsModelRuntimeException
- on RDF serialization errors or model errorsCopyright © 2005–2017 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.