Class HtmlLinkFactory

java.lang.Object
com.polarion.alm.shared.api.utils.links.HtmlLinkFactory

public class HtmlLinkFactory extends Object
Since:
3.9.0
  • Method Details

    • fromEncodedUrl

      @Nullable public static HtmlLink fromEncodedUrl(@Nullable String url)
      Use this factory method for user configured urls, for example enumeration icons
    • fromEncodedRelativeUrl

      @Nullable public static HtmlLink fromEncodedRelativeUrl(@Nullable String url)
      Use this factory method for hard-coded strings like JSEnumOption.DEFAULT_TYPE_ICON
    • fromEncodedAbsoluteUrl

      @Nullable public static HtmlLink fromEncodedAbsoluteUrl(@Nullable String url)
      Use this method for urls not related to current Polarion server.