public class HashNamespaceResolver extends Object implements NamespaceContext
Constructor and Description |
---|
HashNamespaceResolver(Map<String,String> nsTable) |
HashNamespaceResolver(Map<String,String> namespaces,
Map<String,String> prefixes) |
Modifier and Type | Method and Description |
---|---|
String |
getNamespaceURI(String prefix) |
String |
getPrefix(String namespaceURI) |
Iterator |
getPrefixes(String namespaceURI) |
public Iterator getPrefixes(String namespaceURI)
getPrefixes
in interface NamespaceContext
public String getPrefix(String namespaceURI)
getPrefix
in interface NamespaceContext
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface NamespaceContext