Modifier and Type | Method and Description |
---|---|
PrefixMap |
BindingOutputStream.getPrefixMap() |
Modifier and Type | Method and Description |
---|---|
void |
BindingOutputStream.setPrefixMap(PrefixMap pmap) |
Constructor and Description |
---|
BindingOutputStream(OutputStream out,
List<Var> vars,
PrefixMap prefixMapping) |
BindingOutputStream(OutputStream out,
PrefixMap prefixMapping) |
Modifier and Type | Method and Description |
---|---|
static Node |
NodeFactoryExtra.parseNode(String nodeString,
PrefixMap pmap)
Parse a string into a node.
|
Modifier and Type | Method and Description |
---|---|
void |
WriterDatasetRIOT.write(OutputStream out,
DatasetGraph datasetGraph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
WriterGraphRIOT.write(OutputStream out,
Graph graph,
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 format
|
void |
WriterGraphRIOT.write(Writer out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context)
Use of Writer is discouraged - let the serializer manage character sets in accordance with the format
|
Modifier and Type | Method and Description |
---|---|
void |
AdapterRDFWriter.write(OutputStream out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
AdapterRDFWriter.write(Writer out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
Modifier and Type | Method and Description |
---|---|
PrefixMap |
PipedRDFIterator.getPrefixes()
Gets the prefix map which contains the prefixes seen so far in the stream
|
Modifier and Type | Method and Description |
---|---|
PrefixMap |
OutputProfile.prefixMap() |
Modifier and Type | Method and Description |
---|---|
static void |
NodeFmtLib.serialize(IndentedWriter w,
Node n,
String base,
PrefixMap prefixMap) |
Constructor and Description |
---|
NodeFormatterTTL(String baseIRI,
PrefixMap prefixMap) |
NodeFormatterTTL(String baseIRI,
PrefixMap prefixMap,
NodeToLabel nodeToLabel) |
OutputPolicy(NodeToLabel nodeToLabel,
String baseIRI,
PrefixMap prefixMap) |
Modifier and Type | Class and Description |
---|---|
class |
FastAbbreviatingPrefixMap
A prefix map implementation suited to output heavy workloads
|
class |
PrefixMapBase
Abstract base implementation of a
PrefixMap which provides
some useful helper methods |
class |
PrefixMapExtended
Implementation of a
PrefixMap which extends another prefix map
without ever altering the parent. |
class |
PrefixMapNull
Always empty prefix map
|
class |
PrefixMapStd
Default implementation of a
PrefixMap , this implementation
is best suited to use for input. |
class |
PrefixMapUnmodifiable
A PrefixMap that traps update operations on a wrapped prefix map
|
class |
PrefixMapWrapper
Creates an always-empty prefix map, which can not be changed.
|
Modifier and Type | Field and Description |
---|---|
static PrefixMap |
PrefixMapNull.empty |
Modifier and Type | Method and Description |
---|---|
static PrefixMap |
PrefixMapFactory.create()
Creates a new prefix map.
|
static PrefixMap |
PrefixMapFactory.create(Map<String,String> pmap)
Creates a new prefix map,initialized from a Map of prefix to IRI string.
|
static PrefixMap |
PrefixMapFactory.create(PrefixMap pmap)
Creates a new prefix map which starts with a copy of an existing prefix
map.
|
static PrefixMap |
PrefixMapFactory.create(PrefixMapping pmap)
Creates a new prefix map which starts
with a copy of an existing map.
|
static PrefixMap |
PrefixMapFactory.createForInput()
Creates a new prefix map which is intended for use in input.
|
static PrefixMap |
PrefixMapFactory.createForInput(Map<String,String> pmap)
Creates a new prefix map, initialized from a Map of prefix to IRI string.
|
static PrefixMap |
PrefixMapFactory.createForInput(PrefixMap pmap)
Creates a new prefix map which is intended for use in input which starts
with a copy of an existing map
|
static PrefixMap |
PrefixMapFactory.createForInput(PrefixMapping pmap)
Creates a new prefix map which is intended for use in iput which starts
with a copy of an existing map
|
static PrefixMap |
PrefixMapFactory.createForOutput()
Creates a new prefix map which is intended for use in output
|
static 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 map
|
static PrefixMap |
PrefixMapFactory.createForOutput(PrefixMapping pmap)
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 map
|
static PrefixMap |
PrefixMapFactory.extend(PrefixMap pmap)
Creates a new prefix map which is an extension of an existing prefix map
|
PrefixMap |
Prologue.getPrefixMap()
Return the prefix map from the parsed query
|
static PrefixMap |
RiotLib.prefixMap(DatasetGraph dsg) |
static PrefixMap |
RiotLib.prefixMap(Graph graph) |
static PrefixMap |
PrefixMapFactory.unmodifiablePrefixMap(PrefixMap pmap)
Return an immutable view of the prefix map.
|
Modifier and Type | Method and Description |
---|---|
static int |
RiotLib.calcWidth(PrefixMap prefixMap,
String baseURI,
Collection<Node> nodes,
int minWidth,
int maxWidth) |
static int |
RiotLib.calcWidthTriples(PrefixMap prefixMap,
String baseURI,
Collection<Triple> triples,
int minWidth,
int maxWidth) |
static PrefixMap |
PrefixMapFactory.create(PrefixMap pmap)
Creates a new prefix map which starts with a copy of an existing prefix
map.
|
static PrefixMap |
PrefixMapFactory.createForInput(PrefixMap pmap)
Creates a new prefix map which is intended for use in input which starts
with a copy of an existing 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 map
|
static PrefixMap |
PrefixMapFactory.extend(PrefixMap pmap)
Creates a new prefix map which is an extension of an existing prefix map
|
void |
PrefixMapNull.putAll(PrefixMap pmap) |
void |
PrefixMap.putAll(PrefixMap pmap)
Add a prefix, overwrites any existing association
|
void |
PrefixMapBase.putAll(PrefixMap pmap) |
void |
PrefixMapWrapper.putAll(PrefixMap pmap) |
void |
PrefixMapUnmodifiable.putAll(PrefixMap pmap) |
void |
Prologue.setPrefixMapping(PrefixMap pmap)
Set the mapping
|
Prologue |
Prologue.sub(PrefixMap newMappings) |
Prologue |
Prologue.sub(PrefixMap newMappings,
String base) |
static PrefixMap |
PrefixMapFactory.unmodifiablePrefixMap(PrefixMap pmap)
Return an immutable view of the prefix map.
|
static void |
RiotLib.writePrefixes(IndentedWriter out,
PrefixMap prefixMap) |
Constructor and Description |
---|
FastAbbreviatingPrefixMap(PrefixMap pmap)
Create a new fast abbreviating prefix map which copies mappings from an existing map
|
PrefixMapExtended(PrefixMap ext)
Creates an extended prefix map
|
PrefixMapStd(PrefixMap prefixMap)
Creates a new prefix mapping copied from an existing map
|
PrefixMapUnmodifiable(PrefixMap other) |
PrefixMapWrapper(PrefixMap other) |
Prologue(PrefixMap pmap,
IRIResolver resolver) |
Modifier and Type | Method and Description |
---|---|
Node |
Token.asNode(PrefixMap pmap)
Token to Node, with a prefix map
Turtle and N-triples need to process the token and not call this:
1/ Use bNode label as given
2/ No prefix or URI resolution.
|
static Token |
Token.tokenForNode(Node node,
String base,
PrefixMap mapping) |
Modifier and Type | Method and Description |
---|---|
abstract void |
WriterDatasetRIOTBase.write(OutputStream out,
DatasetGraph dataset,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
TriGWriterBase.write(OutputStream out,
DatasetGraph dsg,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
NullWriter.write(OutputStream out,
DatasetGraph datasetGraph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
NQuadsWriter.write(OutputStream out,
DatasetGraph dataset,
PrefixMap prefixMap,
String baseURI,
Context context) |
abstract void |
WriterGraphRIOTBase.write(OutputStream out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
RDFJSONWriter.write(OutputStream out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
TurtleWriterBase.write(OutputStream out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
NTriplesWriter.write(OutputStream out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
abstract void |
WriterDatasetRIOTBase.write(Writer out,
DatasetGraph dataset,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
TriGWriterBase.write(Writer out,
DatasetGraph dsg,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
NullWriter.write(Writer out,
DatasetGraph datasetGraph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
NQuadsWriter.write(Writer out,
DatasetGraph dataset,
PrefixMap prefixMap,
String baseURI,
Context context) |
abstract void |
WriterGraphRIOTBase.write(Writer out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
RDFJSONWriter.write(Writer out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
TurtleWriterBase.write(Writer out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
NTriplesWriter.write(Writer out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
Licenced under the Apache License, Version 2.0