Uses of Class
org.jsoup.select.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 ElementElement. closest(Evaluator evaluator)Find the closest element up the tree of parents that matches the specified evaluator.booleanElement. is(Evaluator evaluator)Check if this element matches the given evaluator.ElementsElement. select(Evaluator evaluator)Find elements that match the supplied Evaluator.ElementElement. selectFirst(Evaluator evaluator)Finds the first Element that matches the supplied Evaluator, with this element as the starting context, ornullif none match. -
Uses of Evaluator in org.jsoup.select
Subclasses of Evaluator in org.jsoup.select Modifier and Type Class Description static classEvaluator.AllElementsEvaluator for any / all element matchingstatic classEvaluator.AttributeEvaluator for attribute name matchingstatic classEvaluator.AttributeKeyPairAbstract evaluator for attribute name/value matchingstatic classEvaluator.AttributeStartingEvaluator for attribute name prefix matchingstatic classEvaluator.AttributeWithValueEvaluator for attribute name/value matchingstatic classEvaluator.AttributeWithValueContainingEvaluator for attribute name/value matching (value containing)static classEvaluator.AttributeWithValueEndingEvaluator for attribute name/value matching (value ending)static classEvaluator.AttributeWithValueMatchingEvaluator for attribute name/value matching (value regex matching)static classEvaluator.AttributeWithValueNotEvaluator for attribute name != value matchingstatic classEvaluator.AttributeWithValueStartingEvaluator for attribute name/value matching (value prefix)static classEvaluator.ClassEvaluator for element classstatic classEvaluator.ContainsDataEvaluator for matching Element (and its descendants) datastatic classEvaluator.ContainsOwnTextEvaluator for matching Element's own textstatic classEvaluator.ContainsTextEvaluator for matching Element (and its descendants) textstatic classEvaluator.CssNthEvaluatorstatic classEvaluator.IdEvaluator for element idstatic classEvaluator.IndexEqualsEvaluator for matching by sibling index number (e = idx)static classEvaluator.IndexEvaluatorAbstract evaluator for sibling index matchingstatic classEvaluator.IndexGreaterThanEvaluator for matching by sibling index number (e > idx)static classEvaluator.IndexLessThanEvaluator for matching by sibling index number (e < idx)static classEvaluator.IsEmptystatic classEvaluator.IsFirstChildEvaluator for matching the first sibling (css :first-child)static classEvaluator.IsFirstOfTypestatic classEvaluator.IsLastChildEvaluator for matching the last sibling (css :last-child)static classEvaluator.IsLastOfTypestatic classEvaluator.IsNthChildcss-compatible Evaluator for :eq (css :nth-child)static classEvaluator.IsNthLastChildcss pseudo class :nth-last-child)static classEvaluator.IsNthLastOfTypestatic classEvaluator.IsNthOfTypecss pseudo class nth-of-typestatic classEvaluator.IsOnlyChildstatic classEvaluator.IsOnlyOfTypestatic classEvaluator.IsRootcss3 pseudo-class :rootstatic classEvaluator.MatchesEvaluator for matching Element (and its descendants) text with regexstatic classEvaluator.MatchesOwnEvaluator for matching Element's own text with regexstatic classEvaluator.MatchTextstatic classEvaluator.TagEvaluator for tag namestatic classEvaluator.TagEndsWithEvaluator for tag name that ends withMethods in org.jsoup.select that return Evaluator Modifier and Type Method Description static EvaluatorQueryParser. 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 static ElementsCollector. 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 ElementCollector. 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 ElementsSelector. select(Evaluator evaluator, Element root)Find elements matching selector.