Modifier and Type | Class and Description |
---|---|
private static class |
Collector.Accumulator |
private static class |
Collector.FirstFinder |
Modifier | Constructor and Description |
---|---|
private |
Collector() |
Modifier and Type | Method and Description |
---|---|
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.
|
static Element |
findFirst(Evaluator eval,
Element root) |
private Collector()
public static Elements collect(Evaluator eval, Element root)
eval
- Evaluator to test elements againstroot
- root of tree to descendWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses