Interface HtmlProcessorService


public interface HtmlProcessorService
Looks up HtmlProcessor instances and checks whether HTML is visible.
  • Method Details

    • getHtmlProcessor

      HtmlProcessor getHtmlProcessor(String id)
      Returns instance of HtmlProcessor or null if the configuration cannot be found
      Parameters:
      id - The HTML processor id
      Returns:
      Instance of HTML processor
    • isVisible

      boolean isVisible(String html)
      Checks whether the provided HTML is visible. For example, "

      " is not visible, while "

      text

      " is.
      Parameters:
      html - the HTML to check
      Returns:
      true if the HTML is visible, false otherwise