public interface StoragePrefixes
| Modifier and Type | Field and Description |
|---|---|
static Node |
nodeDataset |
static Node |
nodeDefaultGraph |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Node graphNode,
String prefix,
String iriStr)
Add a prefix, overwrites any existing association
|
void |
delete(Node graphNode,
String prefix)
Delete a prefix mapping
|
void |
deleteAll(Node graphNode)
Delete prefix mappings for a specific graph name.
|
Iterator<PrefixEntry> |
get(Node graphNode) |
String |
get(Node graphNode,
String prefix) |
boolean |
isEmpty()
Return whether there are any prefix mappings or not (any graph).
|
Iterator<Node> |
listGraphNodes() |
default Iterator<org.apache.jena.atlas.lib.Pair<Node,PrefixEntry>> |
listMappings()
All the mappings.
|
int |
size()
Return the number of mappings.
|
static final Node nodeDefaultGraph
static final Node nodeDataset
Iterator<PrefixEntry> get(Node graphNode)
void add(Node graphNode, String prefix, String iriStr)
void deleteAll(Node graphNode)
default Iterator<org.apache.jena.atlas.lib.Pair<Node,PrefixEntry>> listMappings()
nodeDataset.boolean isEmpty()
int size()
Licensed under the Apache License, Version 2.0