Package org.jsoup.select

Class CombiningEvaluator.And

java.lang.Object
org.jsoup.select.Evaluator
org.jsoup.select.CombiningEvaluator
org.jsoup.select.CombiningEvaluator.And
Enclosing class:
CombiningEvaluator

public static final class CombiningEvaluator.And extends CombiningEvaluator
  • Constructor Details

    • And

      public And(Collection<Evaluator> evaluators)
  • Method Details

    • matches

      public boolean matches(Element root, Element element)
      Description copied from class: Evaluator
      Test if the element meets the evaluator's requirements.
      Specified by:
      matches in class Evaluator
      Parameters:
      root - Root of the matching subtree
      element - tested element
      Returns:
      Returns true if the requirements are met or false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object