java.lang.Object
org.apache.jena.riot.system.Prefixes
Functions related to
PrefixMap
.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrefixMap
static PrefixMapping
Apply a wrapper to aPrefixMap
to provide thePrefixMapping
API.static PrefixMap
adapt
(PrefixMapping prefixMapping) Apply a wrapper to aPrefixMapping
to provide thePrefixMap
API.static String
Reverse lookup of URI to a prefix.static String
Canonical prefix - remove a trailing ":".static String
Calculate a printable multi-line string.
-
Field Details
-
dftGraphPrefixSet
Special name for default graph prefixes. This is different to the datasetPrefixSet. Only used by (TDB1) GraphTxnTDB_Prefixes and (TDB2) GraphViewSwitchable_Prefixes which have separated dataset/default graph prefixes. For legacy migration reasons, TDB1 uses "" and TDB2 uses defaultGraphNodeGenerated for the dataset prefix set. See TDB1 ) TDB2StoragePrefixesView
- See Also:
-
datasetPrefixSet
Name for dataset-wide prefixes.- See Also:
-
nodeDefaultGraph
Name assigned to the default graph. -
nodeDataset
Name for dataset prefixes.
-
-
Constructor Details
-
Prefixes
public Prefixes()
-
-
Method Details
-
prefix
Canonical prefix - remove a trailing ":". The return is not null. -
findByURI
Reverse lookup of URI to a prefix. General implementation by scanning thePrefixMap
. Returns a prefix if found or null. If several prefixes for the same URI, returns one at random. -
adapt
-
adapt
Apply a wrapper to aPrefixMap
to provide thePrefixMapping
API. -
toString
Calculate a printable multi-line string.
-