Interface Link

    • Method Detail

      • getHtmlTag

        String getHtmlTag()
        Returns html tag for the link object.
        Returns:
        html tag for the link object.
      • getLinkAttributes

        String getLinkAttributes()
        Returns attributes for the <a> tag.
        Returns:
        link attributes.
      • getUrl

        String getUrl()
        Returns an URL. Whether the returned URL is relative or absolute, and in case its absolute whether the frontend hostname tag is used depends on the context it is used.
        Returns:
        URL.
      • getAbsoluteUrl

        String getAbsoluteUrl()
        Returns an absolute URL.
        Returns:
        Absolute URL.
      • getSsiTag

        String getSsiTag()
        Returns SSI tag.
        Returns:
        SSI tag.
      • getLinkText

        String getLinkText()
        Returns link text.
        Returns:
        link text.
      • getLinkText

        String getLinkText​(Language language)
        Returns link text in a particular language.
        Parameters:
        language - the language to return the linktext in
        Returns:
        link text in the specified language.
        Since:
        10.36.0
      • getInnerHTML

        String getInnerHTML()
        Returns the inner HTML for the rendered a tag.
        Returns:
        the inner HTML for the rendered a tag
      • getMouseOverText

        @Deprecated
        String getMouseOverText()
        Deprecated.
        Returns mouse over text. Deprecated, use getLinkTitle instead.
        Returns:
        mouse over text.
      • getPopupProperties

        String getPopupProperties()
        Returns onClick javascript.
        Returns:
        onClick javascript.
      • getClassName

        String getClassName()
        Returns css class.
        Returns:
        css class.
      • getTarget

        String getTarget()
        Returns target.
        Returns:
        target.
      • getSuffix

        String getSuffix()
        Returns suffix.
        Returns:
        suffix.
      • getLinkTitle

        String getLinkTitle()
        Gets the text for the title attribute.
        Returns:
        title of the link