Uses of Interface
org.apache.jena.riot.system.PrefixMap
Package
Description
In-memory, transactional dataset
-
Uses of PrefixMap in org.apache.jena.riot
Modifier and TypeMethodDescriptionSet an initial prefix map for parsing.void
WriterDatasetRIOT.write
(OutputStream out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
WriterDatasetRIOT.write
(Writer out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) Use of Writer is discouraged - let the serializer manage character sets in accordance with the formatvoid
WriterGraphRIOT.write
(OutputStream out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
WriterGraphRIOT.write
(Writer out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) Use of Writer is discouraged - let the serializer manage character sets in accordance with the format -
Uses of PrefixMap in org.apache.jena.riot.adapters
Modifier and TypeMethodDescriptionvoid
AdapterRDFWriter.write
(OutputStream out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
AdapterRDFWriter.write
(Writer out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) -
Uses of PrefixMap in org.apache.jena.riot.lang
Modifier and TypeMethodDescriptionCollectorStreamBase.getPrefixes()
CollectorStreamRDF.getPrefixes()
-
Uses of PrefixMap in org.apache.jena.riot.out
Modifier and TypeMethodDescriptionstatic String
Format in Turtle style, using the base URI and prefix map.static String
Format in Turtle style, using the prefix map.ModifierConstructorDescriptionNodeFormatterTTL
(String baseIRI, PrefixMap prefixMap) NodeFormatterTTL
(String baseIRI, PrefixMap prefixMap, NodeToLabel nodeToLabel) NodeFormatterTTL_MultiLine
(String baseIRI, PrefixMap prefixMap) NodeFormatterTTL_MultiLine
(String baseIRI, PrefixMap prefixMap, NodeToLabel nodeToLabel) -
Uses of PrefixMap in org.apache.jena.riot.protobuf
Modifier and TypeMethodDescriptionstatic Quad
ProtobufConvert.convert
(org.apache.jena.atlas.lib.Cache<String, org.apache.jena.graph.Node> uriCache, PB_RDF.RDF_Quad rq, PrefixMap pmap) static org.apache.jena.graph.Node
ProtobufConvert.convert
(org.apache.jena.atlas.lib.Cache<String, org.apache.jena.graph.Node> uriCache, PB_RDF.RDF_Term term, PrefixMap pmap) Build aNode
from anPB_RDF.RDF_Term
using a prefix map which must agree with the map used to create theRDF_Term
in the first place.static org.apache.jena.graph.Triple
ProtobufConvert.convert
(org.apache.jena.atlas.lib.Cache<String, org.apache.jena.graph.Node> uriCache, PB_RDF.RDF_Triple rt, PrefixMap pmap) static PB_RDF.RDF_Term
static PB_RDF.RDF_Triple
static Quad
ProtobufConvert.convert
(PB_RDF.RDF_Quad rq, PrefixMap pmap) static org.apache.jena.graph.Node
ProtobufConvert.convert
(PB_RDF.RDF_Term term, PrefixMap pmap) Build aNode
from anPB_RDF.RDF_Term
using a prefix map which must agree with the map used to create theRDF_Term
in the first place.static org.apache.jena.graph.Triple
ProtobufConvert.convert
(PB_RDF.RDF_Triple rt, PrefixMap pmap) static PB_RDF.RDF_Quad
static PB_RDF.RDF_Term
ProtobufConvert.toProtobuf
(org.apache.jena.graph.Node node, PrefixMap pmap, PB_RDF.RDF_Term.Builder termBuilder, boolean allowValues) Encode aNode
into anPB_RDF.RDF_Term
void
WriterDatasetProtobuf.write
(OutputStream out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) void
WriterDatasetProtobuf.write
(Writer out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) void
WriterGraphProtobuf.write
(OutputStream out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
WriterGraphProtobuf.write
(Writer out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) -
Uses of PrefixMap in org.apache.jena.riot.system
Modifier and TypeClassDescriptionfinal class
ProvidedPrefixMap
for aPrefixMapping
.class
Abstract base implementation of aPrefixMap
which provides some implementations of API methods.class
Base of always empty prefix mapsPrefixMapSink
andPrefixMapZero
.class
Delay touching theDatasetGraph.prefixes()
until an operation (method call) happens.class
Empty prefix map that throws away updates.class
In-memory implementation of aPrefixMap
.class
A PrefixMap that traps update operations on a wrapped prefix mapclass
class
Always empty, immutable prefix mapModifier and TypeFieldDescriptionstatic PrefixMap
PrefixMapZero.empty
static PrefixMap
PrefixMapSink.sink
Modifier and TypeMethodDescriptionstatic PrefixMap
Prefixes.adapt
(org.apache.jena.graph.Graph graph) Provide, via an adapter if necessary, thePrefixMap
for aGraph
.static PrefixMap
Prefixes.adapt
(org.apache.jena.shared.PrefixMapping prefixMapping) Apply a wrapper to aPrefixMapping
to provide thePrefixMap
API.static PrefixMap
PrefixMapFactory.create()
Creates a new prefix map.static PrefixMap
Creates a new prefix map,initialized from a Map of prefix to IRI string.static PrefixMap
Creates a new prefix map which starts with a copy of an existing prefix map.static PrefixMap
PrefixMapFactory.create
(org.apache.jena.shared.PrefixMapping pmap) Creates a new prefix map which starts with a copy of an existing map.static PrefixMap
PrefixMapFactory.createForOutput()
Creates a new prefix map which is intended for use in outputstatic PrefixMap
PrefixMapFactory.createForOutput
(Map<String, String> pmap) Creates a new prefix map, initialized from a Map of prefix to IRI string.static PrefixMap
PrefixMapFactory.createForOutput
(PrefixMap pmap) Creates a new prefix map which is intended for use in output which starts with a copy of an existing mapstatic PrefixMap
PrefixMapFactory.createForOutput
(org.apache.jena.shared.PrefixMapping prefixMapping) Creates a new prefix map which is intended for use in output which starts with a copy of an existing map.static PrefixMap
PrefixMapFactory.emptyPrefixMap()
Return an always-empty and immutable prefix mapParserProfile.getPrefixMap()
ParserProfileStd.getPrefixMap()
ParserProfileWrapper.getPrefixMap()
static PrefixMap
PrefixMapFactory.unmodifiablePrefixMap
(PrefixMap pmap) Return an immutable view of the prefix map.Modifier and TypeMethodDescriptionAbbreviate a uriStr, return the prefix and local parts.static String
PrefixLib.abbreviate
(PrefixMap prefixes, String uriStr) Abbreviate a uriStr, giving a string as a short form.static org.apache.jena.shared.PrefixMapping
Apply a wrapper to aPrefixMap
to provide thePrefixMapping
API.static PrefixMap
Creates a new prefix map which starts with a copy of an existing prefix map.static PrefixMap
PrefixMapFactory.createForOutput
(PrefixMap pmap) Creates a new prefix map which is intended for use in output which starts with a copy of an existing mapstatic String
Expand a prefixedName which must include a ':'static String
Expand a prefix, local name pair.static String
Reverse lookup of URI to a prefix.void
Add a prefix, overwrites any existing associationvoid
void
void
void
void
static void
StreamRDFOps.sendDatasetToStream
(DatasetGraph datasetGraph, StreamRDF stream, String baseURI, PrefixMap prefixMap) Send a dataset to a StreamRDF as triples and quads, using the explicitly given prefix mapstatic void
StreamRDFOps.sendGraphToStream
(org.apache.jena.graph.Graph graph, StreamRDF stream, String baseURI, PrefixMap prefixMap) Send the triples of graph, and an explicitly given prefix mapping, to a StreamRDFstatic void
StreamRDFOps.sendPrefixesToStream
(PrefixMap prefixMap, StreamRDF stream) Send a PrefixMap to a streamstatic String
Calculate a printable multi-line string.static PrefixMap
PrefixMapFactory.unmodifiablePrefixMap
(PrefixMap pmap) Return an immutable view of the prefix map.static void
RiotLib.writePrefixes
(org.apache.jena.atlas.io.IndentedWriter out, PrefixMap prefixMap) static void
RiotLib.writePrefixes
(org.apache.jena.atlas.io.IndentedWriter out, PrefixMap prefixMap, DirectiveStyle writeStyle) Write prefixesModifierConstructorDescriptionCDTAwareParserProfile
(FactoryRDF factory, ErrorHandler errorHandler, org.apache.jena.irix.IRIxResolver resolver, PrefixMap prefixMap, Context context, boolean checking, boolean strictMode) ParserProfileStd
(FactoryRDF factory, ErrorHandler errorHandler, org.apache.jena.irix.IRIxResolver resolver, PrefixMap prefixMap, Context context, boolean checking, boolean strictMode) PrefixMapStd
(PrefixMap prefixMap) Creates a new prefix mapping copied from an existing mapPrefixMapUnmodifiable
(PrefixMap other) PrefixMapWrapper
(PrefixMap other) StreamRDFCollectOne
(PrefixMap pmap) -
Uses of PrefixMap in org.apache.jena.riot.thrift
Modifier and TypeMethodDescriptionstatic Quad
ThriftConvert.convert
(org.apache.jena.atlas.lib.Cache<String, org.apache.jena.graph.Node> uriCache, RDF_Quad rq, PrefixMap pmap) static org.apache.jena.graph.Node
ThriftConvert.convert
(org.apache.jena.atlas.lib.Cache<String, org.apache.jena.graph.Node> uriCache, RDF_Term term, PrefixMap pmap) Build aNode
from anRDF_Term
using a prefix map which must agree with the map used to create theRDF_Term
in the first place.static org.apache.jena.graph.Triple
ThriftConvert.convert
(org.apache.jena.atlas.lib.Cache<String, org.apache.jena.graph.Node> uriCache, RDF_Triple rt, PrefixMap pmap) static RDF_Term
static RDF_Triple
static Quad
static org.apache.jena.graph.Node
Build aNode
from anRDF_Term
.static org.apache.jena.graph.Triple
ThriftConvert.convert
(RDF_Triple rt, PrefixMap pmap) static RDF_Quad
static void
ThriftConvert.toThrift
(org.apache.jena.graph.Node node, PrefixMap pmap, RDF_Term term, boolean allowValues) Encode aNode
into anRDF_Term
void
WriterDatasetThrift.write
(OutputStream out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) void
WriterDatasetThrift.write
(Writer out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) void
WriterGraphThrift.write
(OutputStream out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
WriterGraphThrift.write
(Writer out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) -
Uses of PrefixMap in org.apache.jena.riot.tokens
-
Uses of PrefixMap in org.apache.jena.riot.writer
Modifier and TypeMethodDescriptionstatic NodeFormatter
TurtleShell.createNodeFormatter
(PrefixMap pmap, String baseURI, Context context) void
JsonLD11Writer.write
(OutputStream outputStream, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
JsonLD11Writer.write
(Writer out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
NQuadsWriter.write
(OutputStream out, DatasetGraph dataset, PrefixMap prefixMap, String baseURI, Context context) void
NQuadsWriter.write
(Writer out, DatasetGraph dataset, PrefixMap prefixMap, String baseURI, Context context) void
NTriplesWriter.write
(OutputStream out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
NTriplesWriter.write
(Writer out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
NullWriter.write
(OutputStream out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
NullWriter.write
(Writer out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
RDFJSONWriter.write
(OutputStream out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
RDFJSONWriter.write
(Writer out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
TriGWriterBase.write
(OutputStream out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) void
TriGWriterBase.write
(Writer out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) void
TurtleWriterBase.write
(OutputStream out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
TurtleWriterBase.write
(Writer out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) abstract void
WriterDatasetRIOTBase.write
(OutputStream out, DatasetGraph dataset, PrefixMap prefixMap, String baseURI, Context context) abstract void
WriterDatasetRIOTBase.write
(Writer out, DatasetGraph dataset, PrefixMap prefixMap, String baseURI, Context context) abstract void
WriterGraphRIOTBase.write
(OutputStream out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) abstract void
WriterGraphRIOTBase.write
(Writer out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
WriterTriX.write
(OutputStream out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
WriterTriX.write
(OutputStream out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
WriterTriX.write
(Writer out, org.apache.jena.graph.Graph graph, PrefixMap prefixMap, String baseURI, Context context) void
WriterTriX.write
(Writer out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) -
Uses of PrefixMap in org.apache.jena.sparql.core
-
Uses of PrefixMap in org.apache.jena.sparql.core.mem
-
Uses of PrefixMap in org.apache.jena.sparql.engine.binding
ModifierConstructorDescriptionBindingOutputStream
(OutputStream out, List<Var> vars, PrefixMap prefixMapping) BindingOutputStream
(OutputStream out, PrefixMap prefixMapping) -
Uses of PrefixMap in org.apache.jena.sparql.exec
Modifier and TypeMethodDescriptionstatic void
RowSetOps.out
(OutputStream out, RowSet resultSet, PrefixMap pmap) Output a result set in a text format. -
Uses of PrefixMap in org.apache.jena.sparql.graph
-
Uses of PrefixMap in org.apache.jena.sparql.util
-
Uses of PrefixMap in org.apache.jena.system.buffering
Modifier and TypeClassDescriptionclass
APrefixMap
that buffers changes untilBufferingPrefixMap.flush()
is called.