public class

Collector

extends Object
java.lang.Object
   ↳ org.jsoup.select.Collector

Class Overview

Collects a list of elements that match the supplied criteria.

Summary

Public Methods
static Elements collect(Evaluator eval, Element root)
Build a list of elements, by visiting root and every descendant of root, and testing it against the evaluator.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static Elements collect (Evaluator eval, Element root)

Build a list of elements, by visiting root and every descendant of root, and testing it against the evaluator.

Parameters
eval Evaluator to test elements against
root root of tree to descend
Returns
  • list of matches; empty if none