org.apache.axiom.om.impl
Class OMNamespaceImpl

java.lang.Object
  extended by org.apache.axiom.om.impl.OMNamespaceImpl
All Implemented Interfaces:
OMNamespace
Direct Known Subclasses:
OMNamespaceImpl

public class OMNamespaceImpl
extends Object
implements OMNamespace

Class OMNamespaceImpl


Constructor Summary
OMNamespaceImpl(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

OMNamespaceImpl

public OMNamespaceImpl(String uri,
                       String prefix)
Parameters:
uri -
prefix -
Method Detail

equals

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

Specified by:
equals in interface OMNamespace
Parameters:
uri -
prefix -
Returns:
Returns boolean.

equals

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

getPrefix

public String getPrefix()
Method getPrefix.

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

getName

public String getName()
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-2013 The Apache Software Foundation. All Rights Reserved.