org.apache.ws.util.xml
Interface NamespaceContext

All Known Implementing Classes:
DomNamespaceContext, XmlBeansNamespaceContext

public interface NamespaceContext

Interface for read only XML Namespace context processing.

Author:
Ian Springer (ian DOT springer AT hp DOT com)

Method Summary
 java.lang.String getNamespaceURI(java.lang.String prefix)
          Get Namespace URI bound to a prefix in the current scope.
 java.lang.String getPrefix(java.lang.String namespaceURI)
          Get prefix bound to Namespace URI in the current scope.
 java.util.Iterator getPrefixes(java.lang.String namespaceURI)
          Get all prefixes bound to a Namespace URI in the current scope.
 

Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI(java.lang.String prefix)
Get Namespace URI bound to a prefix in the current scope.

Parameters:
prefix - the prefix to resolve
Returns:

getPrefix

public java.lang.String getPrefix(java.lang.String namespaceURI)
Get prefix bound to Namespace URI in the current scope.

Parameters:
namespaceURI -
Returns:

getPrefixes

public java.util.Iterator getPrefixes(java.lang.String namespaceURI)
Get all prefixes bound to a Namespace URI in the current scope.

Parameters:
namespaceURI -
Returns:


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.