Interface HtmlProcessorService
-
public interface HtmlProcessorService
Looks upHtmlProcessor
instances and checks whether HTML is visible.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HtmlProcessor
getHtmlProcessor(String id)
Returns instance ofHtmlProcessor
or null if the configuration cannot be foundboolean
isVisible(String html)
Checks whether the provided HTML is visible.
-
-
-
Method Detail
-
getHtmlProcessor
HtmlProcessor getHtmlProcessor(String id)
Returns instance ofHtmlProcessor
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
-
-