org.apache.axiom.om
Interface OMNamespace

All Known Implementing Classes:
NamespaceImpl, OMNamespaceImpl, OMNamespaceImpl

public interface OMNamespace

Interface OMNamespace.

Implementations of this interface must be immutable or behave as if they were immutable, i.e. getPrefix() and getNamespaceURI() must always return the same values when invoked on the same instance.


Method Summary
 boolean equals(String uri, String prefix)
          Method equals.
 String getName()
          Deprecated. This method is deprecated. Please use getNamespaceURI() method instead.
 String getNamespaceURI()
          Provides the namespace URI of this namespace.
 String getPrefix()
          Method getPrefix.
 

Method Detail

equals

boolean equals(String uri,
               String prefix)
Method equals.

Parameters:
uri -
prefix -
Returns:
Returns boolean.

getPrefix

String getPrefix()
Method getPrefix.

Returns:
Returns String.

getName

String getName()
Deprecated. This method is deprecated. Please use getNamespaceURI() method instead.

Method getName.

Returns:
Returns String.

getNamespaceURI

String getNamespaceURI()
Provides the namespace URI of this namespace.

Returns:
- the namespace URI of the namespace.


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.