public class NamespaceContextImpl extends Object implements NamespaceContext
| Constructor and Description |
|---|
NamespaceContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String prefix,
String uri)
Add prefix and namespaceuri to be associated with the prefix.
|
Map |
getMap() |
String |
getNamespaceURI(String prefix) |
String |
getPrefix(String namespaceURI) |
Iterator |
getPrefixes(String namespaceURI) |
public void add(String prefix, String uri)
prefix - Namespace Prefixuri - NamespaceURIpublic String getNamespaceURI(String prefix)
getNamespaceURI in interface NamespaceContextprefix - public String getPrefix(String namespaceURI)
getPrefix in interface NamespaceContextnamespaceURI - public Iterator getPrefixes(String namespaceURI)
getPrefixes in interface NamespaceContextnamespaceURI - public Map getMap()
Copyright © 2005–2018 Oracle Corporation. All rights reserved.