| 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 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-2020 Eclipse Foundation. All Rights Reserved.