Package org.apache.commons.rdfrdf4j
Class NativeStoreGraphTest.NativeStoreRDF
java.lang.Object
org.apache.commons.rdfrdf4j.NativeStoreGraphTest.NativeStoreRDF
- All Implemented Interfaces:
org.apache.commons.rdf.api.RDF
- Enclosing class:
NativeStoreGraphTest
public final class NativeStoreGraphTest.NativeStoreRDF
extends Object
implements org.apache.commons.rdf.api.RDF
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateBlankNode
(String name) org.apache.commons.rdf.api.Dataset
createLiteral
(String lexicalForm) org.apache.commons.rdf.api.Literal
createLiteral
(String lexicalForm, String languageTag) org.apache.commons.rdf.api.Literal
createLiteral
(String lexicalForm, org.apache.commons.rdf.api.IRI dataType) org.apache.commons.rdf.api.Quad
createQuad
(org.apache.commons.rdf.api.BlankNodeOrIRI graphName, org.apache.commons.rdf.api.BlankNodeOrIRI subject, org.apache.commons.rdf.api.IRI predicate, org.apache.commons.rdf.api.RDFTerm object) createTriple
(org.apache.commons.rdf.api.BlankNodeOrIRI subject, org.apache.commons.rdf.api.IRI predicate, org.apache.commons.rdf.api.RDFTerm object)
-
Constructor Details
-
NativeStoreRDF
public NativeStoreRDF()
-
-
Method Details
-
createBlankNode
- Specified by:
createBlankNode
in interfaceorg.apache.commons.rdf.api.RDF
-
createBlankNode
- Specified by:
createBlankNode
in interfaceorg.apache.commons.rdf.api.RDF
-
createDataset
public org.apache.commons.rdf.api.Dataset createDataset()- Specified by:
createDataset
in interfaceorg.apache.commons.rdf.api.RDF
-
createGraph
- Specified by:
createGraph
in interfaceorg.apache.commons.rdf.api.RDF
-
createIRI
public RDF4JIRI createIRI(String iri) throws IllegalArgumentException, UnsupportedOperationException - Specified by:
createIRI
in interfaceorg.apache.commons.rdf.api.RDF
- Throws:
IllegalArgumentException
UnsupportedOperationException
-
createLiteral
- Specified by:
createLiteral
in interfaceorg.apache.commons.rdf.api.RDF
-
createLiteral
public org.apache.commons.rdf.api.Literal createLiteral(String lexicalForm, org.apache.commons.rdf.api.IRI dataType) - Specified by:
createLiteral
in interfaceorg.apache.commons.rdf.api.RDF
-
createLiteral
- Specified by:
createLiteral
in interfaceorg.apache.commons.rdf.api.RDF
-
createQuad
public org.apache.commons.rdf.api.Quad createQuad(org.apache.commons.rdf.api.BlankNodeOrIRI graphName, org.apache.commons.rdf.api.BlankNodeOrIRI subject, org.apache.commons.rdf.api.IRI predicate, org.apache.commons.rdf.api.RDFTerm object) throws IllegalArgumentException - Specified by:
createQuad
in interfaceorg.apache.commons.rdf.api.RDF
- Throws:
IllegalArgumentException
-
createTriple
public RDF4JTriple createTriple(org.apache.commons.rdf.api.BlankNodeOrIRI subject, org.apache.commons.rdf.api.IRI predicate, org.apache.commons.rdf.api.RDFTerm object) - Specified by:
createTriple
in interfaceorg.apache.commons.rdf.api.RDF
-