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, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, 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–2017 The Apache Software Foundation. All rights reserved.