# Uses of Class
org.jsoup.select.Evaluator

Packages that use Evaluator
Package
Description
org.jsoup.nodes
HTML document structure nodes.
org.jsoup.select
Packages to support the CSS-style element selector.

## Uses of Evaluator in org.jsoup.nodes

Methods in org.jsoup.nodes with parameters of type Evaluator
Modifier and Type
Method
Description
`Element`
Element.`closest(Evaluator evaluator)`
Find the closest element up the tree of parents that matches the specified evaluator.
`boolean`
Element.`is(Evaluator evaluator)`
Check if this element matches the given evaluator.
`Elements`
Element.`select(Evaluator evaluator)`
Find elements that match the supplied Evaluator.
`Element`
Element.`selectFirst(Evaluator evaluator)`
Finds the first Element that matches the supplied Evaluator, with this element as the starting context, or `null` if none match.

## Uses of Evaluator in org.jsoup.select

Subclasses of Evaluator in org.jsoup.select
Modifier and Type
Class
Description
`class`
`CombiningEvaluator`
Base combining (and, or) evaluator.
`static final class`
`CombiningEvaluator.And`
`static final class`
`CombiningEvaluator.Or`
`static final class`
`Evaluator.AllElements`
Evaluator for any / all element matching
`static final class`
`Evaluator.Attribute`
Evaluator for attribute name matching
`static class`
`Evaluator.AttributeKeyPair`
Abstract evaluator for attribute name/value matching
`static final class`
`Evaluator.AttributeStarting`
Evaluator for attribute name prefix matching
`static final class`
`Evaluator.AttributeWithValue`
Evaluator for attribute name/value matching
`static final class`
`Evaluator.AttributeWithValueContaining`
Evaluator for attribute name/value matching (value containing)
`static final class`
`Evaluator.AttributeWithValueEnding`
Evaluator for attribute name/value matching (value ending)
`static final class`
`Evaluator.AttributeWithValueMatching`
Evaluator for attribute name/value matching (value regex matching)
`static final class`
`Evaluator.AttributeWithValueNot`
Evaluator for attribute name != value matching
`static final class`
`Evaluator.AttributeWithValueStarting`
Evaluator for attribute name/value matching (value prefix)
`static final class`
`Evaluator.Class`
Evaluator for element class
`static final class`
`Evaluator.ContainsData`
Evaluator for matching Element (and its descendants) data
`static final class`
`Evaluator.ContainsOwnText`
Evaluator for matching Element's own text
`static final class`
`Evaluator.ContainsText`
Evaluator for matching Element (and its descendants) text
`static final class`
`Evaluator.ContainsWholeOwnText`
Evaluator for matching Element (but not its descendants) wholeText.
`static final class`
`Evaluator.ContainsWholeText`
Evaluator for matching Element (and its descendants) wholeText.
`static class`
`Evaluator.CssNthEvaluator`
`static final class`
`Evaluator.Id`
Evaluator for element id
`static final class`
`Evaluator.IndexEquals`
Evaluator for matching by sibling index number (e = idx)
`static class`
`Evaluator.IndexEvaluator`
Abstract evaluator for sibling index matching
`static final class`
`Evaluator.IndexGreaterThan`
Evaluator for matching by sibling index number (e > idx)
`static final class`
`Evaluator.IndexLessThan`
Evaluator for matching by sibling index number (e < idx)
`static final class`
`Evaluator.IsEmpty`
`static final class`
`Evaluator.IsFirstChild`
Evaluator for matching the first sibling (css :first-child)
`static final class`
`Evaluator.IsFirstOfType`
`static final class`
`Evaluator.IsLastChild`
Evaluator for matching the last sibling (css :last-child)
`static final class`
`Evaluator.IsLastOfType`
`static final class`
`Evaluator.IsNthChild`
css-compatible Evaluator for :eq (css :nth-child)
`static final class`
`Evaluator.IsNthLastChild`
css pseudo class :nth-last-child)
`static class`
`Evaluator.IsNthLastOfType`
`static class`
`Evaluator.IsNthOfType`
css pseudo class nth-of-type
`static final class`
`Evaluator.IsOnlyChild`
`static final class`
`Evaluator.IsOnlyOfType`
`static final class`
`Evaluator.IsRoot`
css3 pseudo-class :root
`static final class`
`Evaluator.Matches`
Evaluator for matching Element (and its descendants) text with regex
`static final class`
`Evaluator.MatchesOwn`
Evaluator for matching Element's own text with regex
`static final class`
`Evaluator.MatchesWholeOwnText`
Evaluator for matching Element's own whole text with regex.
`static final class`
`Evaluator.MatchesWholeText`
Evaluator for matching Element (and its descendants) whole text with regex.
`static final class`
`Evaluator.MatchText`
`static final class`
`Evaluator.Tag`
Evaluator for tag name
`static final class`
`Evaluator.TagEndsWith`
Evaluator for tag name that ends with
Methods in org.jsoup.select that return Evaluator
Modifier and Type
Method
Description
`static Evaluator`
QueryParser.`parse(String query)`
Parse a CSS query into an Evaluator.
Methods in org.jsoup.select with parameters of type Evaluator
Modifier and Type
Method
Description
`void`
CombiningEvaluator.Or.`add(Evaluator e)`
`static Elements`
Collector.`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`
Collector.`findFirst(Evaluator eval, Element root)`
Finds the first Element that matches the Evaluator that descends from the root, and stops the query once that first match is found.
`static Elements`
Selector.`select(Evaluator evaluator, Element root)`
Find elements matching selector.