Class OMNamespaceImpl

java.lang.Object
org.apache.axiom.om.impl.OMNamespaceImpl
All Implemented Interfaces:
OMNamespace

public class OMNamespaceImpl extends Object implements OMNamespace
Class OMNamespaceImpl
  • Constructor Details

    • OMNamespaceImpl

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

    • 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