javax.xml.namespace
Interface NamespaceContext
public interface NamespaceContext
Interface by which namespace properties are made available.
- 1.3
String | getNamespaceURI(String prefix) - Returns the namespace URI currently bound to the given prefix.
|
String | getPrefix(String namespaceURI) - Returns the prefix currently bound to the given namespace URI.
|
Iterator | getPrefixes(String namespaceURI) - Returns all the prefixes currently bound to the given namespace URI.
|
getNamespaceURI
public String getNamespaceURI(String prefix)
Returns the namespace URI currently bound to the given prefix.
getPrefix
public String getPrefix(String namespaceURI)
Returns the prefix currently bound to the given namespace URI.
getPrefixes
public Iterator getPrefixes(String namespaceURI)
Returns all the prefixes currently bound to the given namespace URI.