Class Namespace


  • public class Namespace
    extends Object
    Author:
    Ronny Bräunlich
    • Constructor Detail

      • Namespace

        public Namespace​(String namespaceUri)
      • Namespace

        public Namespace​(String namespaceUri,
                         String alternativeUri)
        Creates a namespace with an alternative uri.
        Parameters:
        namespaceUri -
        alternativeUri -
    • Method Detail

      • hasAlternativeUri

        public boolean hasAlternativeUri()
        If a namespace has changed over time it could feel responsible for handling the older one.
        Returns:
      • getNamespaceUri

        public String getNamespaceUri()
      • getAlternativeUri

        public String getAlternativeUri()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object