Class SimpleNamespace

    • Constructor Detail

      • SimpleNamespace

        public SimpleNamespace​(String prefix,
                               String name)
        Creates a new Namespace object.
        Parameters:
        prefix - The namespace's prefix.
        name - The namespace's name.
    • Method Detail

      • getPrefix

        public String getPrefix()
        Gets the prefix of the namespace.
        Returns:
        prefix of the namespace
      • setPrefix

        public void setPrefix​(String prefix)
        Sets the prefix of the namespace.
        Parameters:
        prefix - The (new) prefix for this namespace.
      • getName

        public String getName()
        Gets the name of the namespace.
        Returns:
        name of the namespace
      • setName

        public void setName​(String name)
        Sets the name of the namespace.
        Parameters:
        name - The (new) name for this namespace.