Package org.apache.commons.rdfrdf4j
Class MemoryGraphTest.MemoryStoreRDF
java.lang.Object
org.apache.commons.rdfrdf4j.MemoryGraphTest.MemoryStoreRDF
- All Implemented Interfaces:
org.apache.commons.rdf.api.RDF
- Enclosing class:
MemoryGraphTest
public static final class MemoryGraphTest.MemoryStoreRDF
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
-
MemoryStoreRDF
public MemoryStoreRDF()
-
-
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) - Specified by:
createQuad
in interfaceorg.apache.commons.rdf.api.RDF
-
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
-