Package org.apache.commons.rdf.simple
A simple in-memory implementation of the Commons RDF API.
This package contains a simple (if not naive) implementation of
org.apache.commons.rdf.api using in-memory POJO objects.
Note that although this module fully implements the commons-rdf API, it should not be considered a reference implementation. It is not thread-safe nor scalable, but may be useful for testing and simple usage (e.g. prototyping).
To use this implementation, create an instance of
SimpleRDF and use methods like
SimpleRDF.createGraph() and
SimpleRDF.createIRI(String).
The Types class provide constant
IRIs of the common RDF XML datatypes.
-
Interface Summary Interface Description SimpleRDF.SimpleRDFTerm Marker interface to say that this RDFTerm is part of the Simple implementation. -
Class Summary Class Description BlankNodeImpl A simple implementation of BlankNode.DatasetGraphView DatasetImpl A simple, memory-based implementation of Dataset.GraphImpl A simple, memory-based implementation of Graph.IRIImpl A simple implementation of IRI.LiteralImpl A simple implementation of Literal.QuadImpl A simple implementation of Quad.SimpleRDF Simple RDF implementation.SimpleRDFTermFactory Deprecated. TripleImpl A simple implementation of Triple.Types Types from the RDF and XML Schema vocabularies.