Interface Hyperlink


@OpenApiAll public interface Hyperlink
Hyperlink describes a reference to any data (e.g. element, file, or any other resource).
  • Field Details

  • Method Details

    • getUrl

      String getUrl()
      URL of the hyperlink.
      Returns:
      hyperlink URL.
    • getText

      String getText()
      Hyperlink text.
      Returns:
      hyperlink text.
    • isValid

      boolean isValid()
      Check if hyperlink is valid.
      Returns:
      true if hyperlink is valid, otherwise - false.
    • getProtocol

      String getProtocol()
      Hyperlink protocol.
      Returns:
      hyperlink protocol.
    • getTypeText

      String getTypeText()
      Hyperlink type text.
      Returns:
      type text.
    • getAttributes

      default Map<Object,Object> getAttributes()
      Hyperlink additional attributes
      Returns:
      additional attributes
    • getTextAttributes

      default Map<com.nomagic.magicdraw.hyperlinks.HyperlinkTextAttributes,Object> getTextAttributes()