Class Tag

    • Constructor Detail

      • Tag

        public Tag​(String name,
                   int type)
        Creates a new instance of Tag.
        Parameters:
        name - the name of the tag
        type - the type of the tag
    • Method Detail

      • getName

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

        public void setName​(String name)
        Sets the name of the tag
        Parameters:
        name - the name to set
      • getType

        public int getType()
        Gets the type of the tag
        Returns:
        the type of the tag
      • setType

        public void setType​(int type)
        Sets the type of the tag
        Parameters:
        type - the type to set