org.apache.axiom.om.impl.dom
Class NamespaceImpl

java.lang.Object
  extended by org.apache.axiom.om.impl.dom.NamespaceImpl
All Implemented Interfaces:
OMNamespace

public class NamespaceImpl
extends Object
implements OMNamespace


Constructor Summary
NamespaceImpl(String uri)
           
NamespaceImpl(String uri, String prefix)
           
 
Method Summary
 boolean equals(Object obj)
           
 boolean equals(String uri, String prefix)
          Method equals.
 String getName()
          Method getName.
 String getNamespaceURI()
          Provides the namespace URI of this namespace.
 String getPrefix()
          Method getPrefix.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespaceImpl

public NamespaceImpl(String uri)

NamespaceImpl

public NamespaceImpl(String uri,
                     String prefix)
Method Detail

equals

public boolean equals(String uri,
                      String prefix)
Description copied from interface: OMNamespace
Method equals.

Specified by:
equals in interface OMNamespace
Returns:
Returns boolean.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getPrefix

public String getPrefix()
Description copied from interface: OMNamespace
Method getPrefix.

Specified by:
getPrefix in interface OMNamespace
Returns:
Returns String.

getName

public String getName()
Description copied from interface: OMNamespace
Method getName.

Specified by:
getName in interface OMNamespace
Returns:
Returns String.

getNamespaceURI

public String getNamespaceURI()
Description copied from interface: OMNamespace
Provides the namespace URI of this namespace.

Specified by:
getNamespaceURI in interface OMNamespace
Returns:
- the namespace URI of the namespace.

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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