Class SimpleNamespace

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name
      The namespace's name.
      private java.lang.String prefix
      The namespace's prefix.
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleNamespace​(java.lang.String prefix, java.lang.String name)
      Creates a new Namespace object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the name of the namespace.
      java.lang.String getPrefix()
      Gets the prefix of the namespace.
      void setName​(java.lang.String name)
      Sets the name of the namespace.
      void setPrefix​(java.lang.String prefix)
      Sets the prefix of the namespace.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • prefix

        private java.lang.String prefix
        The namespace's prefix.
      • name

        private java.lang.String name
        The namespace's name.
    • Constructor Detail

      • SimpleNamespace

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

      • getPrefix

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

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

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

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