public class NamespaceMap extends HashMap<String,Object> implements NamespacePrefixList
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NamespaceMap() |
NamespaceMap(Map<String,Object> map) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String prefix,
String namespaceURI) |
String[] |
getDeclaredPrefixes()
Returns the list of currently defined namespace prefixes.
|
String |
getNamespaceURI(String prefix) |
String |
getPrefix(String namespaceURI) |
Iterator<String> |
getPrefixes(String namespaceURI) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic String[] getDeclaredPrefixes()
NamespacePrefixListgetDeclaredPrefixes in interface NamespacePrefixListpublic String getNamespaceURI(String prefix)
getNamespaceURI in interface NamespaceContextpublic String getPrefix(String namespaceURI)
getPrefix in interface NamespaceContextpublic Iterator<String> getPrefixes(String namespaceURI)
getPrefixes in interface NamespaceContextCopyright © 2004–2023 The Apache Software Foundation. All rights reserved.