Package org.jsoup.select

Class Evaluator.IsEmpty

java.lang.Object
org.jsoup.select.Evaluator
org.jsoup.select.Evaluator.IsEmpty
Enclosing class:
Evaluator

public static final class Evaluator.IsEmpty extends Evaluator
  • Constructor Details

    • IsEmpty

      public IsEmpty()
  • Method Details

    • matches

      public boolean matches(Element root, Element el)
      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
      el - tested element
      Returns:
      Returns true if the requirements are met or false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object