public abstract class NamespaceContextMap extends HashMap<String,String> implements NamespaceContext
The dumb XPath API needs a map to lookup namespace URIs using prefix keys. Unfortunately, the authors did not know java.util.Map.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NamespaceContextMap() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getDefaultNamespaceURI() |
String |
getNamespaceURI(String prefix) |
String |
getPrefix(String namespaceURI) |
Iterator |
getPrefixes(String s) |
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 getNamespaceURI(String prefix)
getNamespaceURI in interface NamespaceContextpublic String getPrefix(String namespaceURI)
getPrefix in interface NamespaceContextpublic Iterator getPrefixes(String s)
getPrefixes in interface NamespaceContextprotected abstract String getDefaultNamespaceURI()
Copyright © 2023 jUPnP.org. All rights reserved.