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, values
equals, hashCode, toString
public String[] getDeclaredPrefixes()
NamespacePrefixList
getDeclaredPrefixes
in interface NamespacePrefixList
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface NamespaceContext
public String getPrefix(String namespaceURI)
getPrefix
in interface NamespaceContext
public Iterator<String> getPrefixes(String namespaceURI)
getPrefixes
in interface NamespaceContext
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.