Class ExternalLink

All Implemented Interfaces:
WikiTextElement

public class ExternalLink extends WikiTextParentNode
A link that goes outside of the wiki.
WikiText: [link display]
XML: link
  • Constructor Details

    • ExternalLink

      public ExternalLink(String href, boolean hasArrow, List<WikiTextNode> display)
      Constructs an external link.
      Parameters:
      href - The url the link points to.
      hasArrow - Whether the link displays with an error.
      display - The display text.
  • Method Details