public class NamespaceContextMap extends HashMap<String,String> implements NamespaceContext
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NamespaceContextMap() |
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespaceURI(String prefix)
Get Namespace URI bound to a prefix in the current scope.
|
String |
getPrefix(String namespaceURI)
Return the prefix bound to the namespace uri, null if no prefix could be found.
|
Iterator<String> |
getPrefixes(String namespaceURI)
Return the list of prefixes bound to the namespace uri, null if no prefix
could be found.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic String getNamespaceURI(String prefix)
getNamespaceURI in interface NamespaceContextprefix - the namespace prefix.NamespaceContext.getNamespaceURI(java.lang.String)public String getPrefix(String namespaceURI)
getPrefix in interface NamespaceContextnamespaceURI - the namespace URI.NamespaceContext.getPrefix(java.lang.String)public Iterator<String> getPrefixes(String namespaceURI)
getPrefixes in interface NamespaceContextnamespaceURI - the namespace URI.NamespaceContext.getPrefix(java.lang.String)Copyright © 2002-2013 Edwin Dankert. All Rights Reserved.