Class LinkElement

java.lang.Object
ai.dat.core.configuration.description.LinkElement
All Implemented Interfaces:
InlineElement

public class LinkElement extends Object implements InlineElement
Element that represents a link in the Description.
  • Method Details

    • link

      public static LinkElement link(String link, String text)
      Creates a link with a given url and description.
      Parameters:
      link - address that this link should point to
      text - a description for that link, that should be used in text
      Returns:
      link representation
    • link

      public static LinkElement link(String link)
      Creates a link with a given url. This url will be used as a description for that link.
      Parameters:
      link - address that this link should point to
      Returns:
      link representation
    • format

      public void format(Formatter formatter)