java.lang.Object
org.apache.jackrabbit.webdav.xml.Namespace

public class Namespace extends Object
Namespace
  • Field Details

    • EMPTY_NAMESPACE

      public static final Namespace EMPTY_NAMESPACE
    • XML_NAMESPACE

      public static final Namespace XML_NAMESPACE
    • XMLNS_NAMESPACE

      public static final Namespace XMLNS_NAMESPACE
  • Method Details

    • getNamespace

      public static Namespace getNamespace(String prefix, String uri)
    • getNamespace

      public static Namespace getNamespace(String uri)
    • getPrefix

      public String getPrefix()
    • getURI

      public String getURI()
    • isSame

      public boolean isSame(String namespaceURI)
      Returns true if the a Namespace built from the specified namespaceURI is equal to this namespace object.
      Parameters:
      namespaceURI - A namespace URI to be compared to this namespace instance.
      Returns:
      true if the a Namespace built from the specified namespaceURI is equal to this namespace object; false otherwise.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

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