| Modifier and Type | Field and Description |
|---|---|
static Set<Namespace> |
DEFAULT_RDF4J
RDFa initial namespaces + additional set of prefixes for RDF4J
|
static Set<Namespace> |
DEFAULT_RDFA11
Set of RDFa 1.1 "initial context" namespaces
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
asMap(Set<Namespace> namespaces)
Converts a set of
Namespaces into a map containing the Namespace.getPrefix() strings as keys,
with the Namespace.getName() strings as values in the map for each namespace in the given set. |
static Map<String,String> |
wrap(Set<Namespace> namespaces)
|
public static final Set<Namespace> DEFAULT_RDFA11
http://www.w3.org/2011/rdfa-context/rdfa-1.1,
http://www.w3.org/2013/json-ld-context/rdfa11public static Map<String,String> asMap(Set<Namespace> namespaces)
Namespaces into a map containing the Namespace.getPrefix() strings as keys,
with the Namespace.getName() strings as values in the map for each namespace in the given set.public static Map<String,String> wrap(Set<Namespace> namespaces)
Set of Namespaces as a Map of prefix to URI mappings, so that it can be
used where a Map is required by the API. namespaces - The Set to wrap.Namespaces.Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.