Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
asMap(Set<Namespace> namespaces)
Converts a set of
Namespace s 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)
Namespace
s 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 Namespace
s 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.Namespace
s.Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.