src/main/java/webcrawley/crawler/elementcheckers/InnerHtmlElementChecker.java
public static boolean isValid(final Element element, final String[] keywords) {
        return Arrays.stream(keywords)
                .parallel()
                .anyMatch(element.html().toLowerCase()::contains);
    }
/**
     * Method that looks for keywords in an element's inner HTML.
     *
     * @param element  Element to qualify.
     * @param keywords Keywords to look for.
     * @return True if the element is qualified, otherwise returns false.
     */
Method that looks for keywords in an element's inner HTML.
@param element  Element to qualify.
@param keywords Keywords to look for.
@return True if the element is qualified, otherwise returns false.
Method that looks for keywords in an element ' s inner HTML . @param element Element to qualify . @param keywords Keywords to look for . @return True if the element is qualified otherwise returns false .
public static boolean isValid(final Element element, final String[] keywords) {
        return Arrays.stream(keywords)
                .parallel()
                .anyMatch(element.html().toLowerCase()::contains);
    }
public static boolean isValid ( final Element element , final String [ ] keywords ) { return Arrays . stream ( keywords ) . parallel ( ) . anyMatch ( element . html ( ) . toLowerCase ( ) :: contains ) ; }
Method that looks for keywords in an element's inner HTML.
Method that looks for keywords in an element ' s inner HTML .