| org.ontoware.rdf2go.model.ModelWriter
All known Subclasses: org.ontoware.rdf2go.model.impl.StatementWriter, org.ontoware.rdf2go.model.impl.AbstractModelWriter,
ModelWriter | public interface ModelWriter (Code) | | author: voelkel |
Method Summary | |
public void | addAll(Iterator<? extends Statement> other) | public void | addStatement(Statement statement) | public void | addStatement(Resource subject, URI predicate, Node object) | public void | addStatement(Resource subject, URI predicate, String literal, String languageTag) adds a (subject, property, liteal, language-tag)-statement to the model. | public void | addStatement(Resource subject, URI predicate, String literal, URI datatypeURI) adds a (subject, property, literal ,datatype)-statement to the model. | public void | addStatement(Resource subject, URI predicate, String literal) adds a (subject, property, literal)-statement to the model. | public void | addStatement(String subjectURIString, URI predicate, String literal, String languageTag) adds a (subject, property, liteal, language-tag)-statement to the model. | public void | addStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) adds a (subject, property, literal ,datatype)-statement to the model. | public void | addStatement(String subjectURIString, URI predicate, String literal) adds a (subject, property, literal)-statement to the model. |
addStatement | public void addStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code) | | adds a (subject, property, liteal, language-tag)-statement to the model.
This method is intended to give the user convenience and allows the
underlying implementation to convert directly to native objects without
converting to RDF2Go objects first.
Parameters: subject - URI or Object (= blankNode) Parameters: predicate - Parameters: literal - Parameters: languageTag - RDF language tag throws: ModelRuntimeException - |
addStatement | public void addStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code) | | adds a (subject, property, literal ,datatype)-statement to the model.
This method is intended to give the user convenience and allows the
underlying implementation to convert directly to native objects without
converting to RDF2Go objects first.
datatype normaly is an uri for a xml schema datatype (xsd)
Parameters: subject - Parameters: predicate - Parameters: literal - Parameters: datatypeURI - throws: ModelRuntimeException - |
addStatement | public void addStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException(Code) | | adds a (subject, property, literal)-statement to the model. This method
is intended to give the user convenience and allows the underlying
implementation to convert directly to native objects without converting
to RDF2Go objects first.
Parameters: subject - Parameters: predicate - Parameters: literal - throws: ModelRuntimeException - |
addStatement | public void addStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code) | | adds a (subject, property, liteal, language-tag)-statement to the model.
This method is intended to give the user convenience and allows the
underlying implementation to convert directly to native objects without
converting to RDF2Go objects first.
Parameters: subject - -interpretded as a URI Parameters: predicate - Parameters: literal - Parameters: languageTag - RDF language tag throws: ModelRuntimeException - |
addStatement | public void addStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code) | | adds a (subject, property, literal ,datatype)-statement to the model.
This method is intended to give the user convenience and allows the
underlying implementation to convert directly to native objects without
converting to RDF2Go objects first.
datatype normaly is an uri for a xml schema datatype (xsd)
Parameters: subject - Parameters: predicate - Parameters: literal - Parameters: datatypeURI - throws: ModelRuntimeException - |
addStatement | public void addStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException(Code) | | adds a (subject, property, literal)-statement to the model. This method
is intended to give the user convenience and allows the underlying
implementation to convert directly to native objects without converting
to RDF2Go objects first.
Parameters: subject - Parameters: predicate - Parameters: literal - throws: ModelRuntimeException - |
|
|