Package org.jsoup.select

Class CombiningEvaluator

java.lang.Object
org.jsoup.select.Evaluator
org.jsoup.select.CombiningEvaluator
Direct Known Subclasses:
CombiningEvaluator.And, CombiningEvaluator.Or

public abstract class CombiningEvaluator extends Evaluator
Base combining (and, or) evaluator.
  • Method Details

    • reset

      protected void reset()
      Description copied from class: Evaluator
      Reset any internal state in this Evaluator before executing a new Collector evaluation.
      Overrides:
      reset in class Evaluator
    • cost

      protected int cost()
      Description copied from class: Evaluator
      A relative evaluator cost function. During evaluation, Evaluators are sorted by ascending cost as an optimization.
      Overrides:
      cost in class Evaluator
      Returns:
      the relative cost of this Evaluator