javax.xml.namespace

Interface NamespaceContext

public interface NamespaceContext

Interface by which namespace properties are made available.

Since:
1.3

Method Summary

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.

Method Details

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.