Package org.jsoup.select
Class Collector
java.lang.Object
org.jsoup.select.Collector
Collects a list of elements that match the supplied criteria.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Collector
private Collector()
-
-
Method Details
-
collect
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 againstroot
- root of tree to descend- Returns:
- list of matches; empty if none
-
findFirst
-