Class NotRegexCondition

  • All Implemented Interfaces:
    Condition

    @Immutable
    public class NotRegexCondition
    extends Object
    implements Condition
    A condition which returns true iff the expression does NOT occur in the DOM.
    Author:
    dannyroest@gmail.com (Danny Roest)
    • Constructor Detail

      • NotRegexCondition

        public NotRegexCondition​(String expression)
        Parameters:
        expression - the regular expression.
    • Method Detail

      • check

        public boolean check​(EmbeddedBrowser browser)
        Specified by:
        check in interface Condition
        Parameters:
        browser - The browser.
        Returns:
        whether the evaluated condition is satisfied
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object