Class HtmlPageAttributes.LinkTag

    • Constructor Detail

      • LinkTag

        public LinkTag​(String relation,
                       String url)
        Constructor requiring the URL and relation to be set
        Parameters:
        relation - Relation type the external link such as prev, next, stylesheet, shortcut icon
        url - URL of the external link
    • Method Detail

      • getType

        public String getType()
        Gets the content type of the style sheet
        Returns:
        content type
      • setType

        public void setType​(String type)
        Sets the content type of the style sheet
        Parameters:
        type - content type
      • getUrl

        public String getUrl()
        Returns:
        String representation of the URL
      • getTitle

        public String getTitle()
        Gets the title of the style sheet
        Returns:
        title
      • setTitle

        public void setTitle​(String title)
        Sets the title of the stylesheet
        Parameters:
        title - of the stylesheet
      • getMedia

        public String getMedia()
        Gets the media for which the stylesheet should be applied.
        Returns:
        name of the media
      • setMedia

        public void setMedia​(String media)
        Sets the media for which the stylesheet should be applied.
        Parameters:
        media - name of the media
      • getRelation

        public String getRelation()
        Gets the relation type of the tag.
        Returns:
        name of the relation
      • setRelation

        public void setRelation​(String relation)
        Sets the relation type of the tag.
        Parameters:
        relation - name of the relation