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 PrefixMapstatic PrefixMappingApply a wrapper to aPrefixMapto provide thePrefixMappingAPI.static PrefixMapadapt(PrefixMapping prefixMapping) Apply a wrapper to aPrefixMappingto provide thePrefixMapAPI.static StringReverse lookup of URI to a prefix.static StringCanonical prefix - remove a trailing ":".static StringCalculate 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 aPrefixMapto provide thePrefixMappingAPI. -
toString
Calculate a printable multi-line string.
-