Uses of Class
org.jsoup.select.Evaluator
Packages that use Evaluator
Package
Description
HTML document structure nodes.
Contains the HTML parser, tag specifications, and HTML tokeniser.
Packages to support the CSS-style element selector.
-
Uses of Evaluator in org.jsoup.nodes
Methods in org.jsoup.nodes with parameters of type EvaluatorModifier and TypeMethodDescription@Nullable ElementFind the closest element up the tree of parents that matches the specified evaluator.booleanCheck if this element matches the given evaluator.Find elements that match the supplied Evaluator.@Nullable ElementElement.selectFirst(Evaluator evaluator) Finds the first Element that matches the supplied Evaluator, with this element as the starting context, ornullif none match.<T extends Node>
@Nullable TElement.selectFirstNode(Evaluator evaluator, Class<T> type) Finds the first Node that matches the supplied Evaluator, with this element as the starting context, ornullif none match.Element.selectNodes(Evaluator evaluator) Find nodes that match the suppliedEvaluator, with this element as the starting context.Element.selectNodes(Evaluator evaluator, Class<T> type) Find nodes that match the supplied Evaluator, with this element as the starting context.Stream<Element> Element.selectStream(Evaluator evaluator) Find a Stream of elements that match the supplied Evaluator. -
Uses of Evaluator in org.jsoup.parser
Methods in org.jsoup.parser with parameters of type EvaluatorModifier and TypeMethodDescription@Nullable ElementStreamParser.selectFirst(Evaluator eval) Finds the first Element that matches the provided query.@Nullable ElementStreamParser.selectNext(Evaluator eval) Finds the next Element that matches the provided query. -
Uses of Evaluator in org.jsoup.select
Subclasses of Evaluator in org.jsoup.selectModifier and TypeClassDescriptionclassBase combining (and, or) evaluator.static final classstatic final classstatic final classEvaluator for any / all element matchingstatic final classEvaluator for attribute name matchingstatic classAbstract evaluator for attribute name/value matchingstatic final classEvaluator for attribute name prefix matchingstatic final classEvaluator for attribute name/value matchingstatic final classEvaluator for attribute name/value matching (value containing)static final classEvaluator for attribute name/value matching (value ending)static final classEvaluator for attribute name/value matching (value regex matching)static final classEvaluator for attribute name !static final classEvaluator for attribute name/value matching (value prefix)static final classEvaluator for element classstatic final classEvaluator for matching Element (and its descendants) datastatic final classEvaluator for matching Element's own textstatic final classEvaluator for matching Element (and its descendants) textstatic final classEvaluator for matching Element (but not its descendants) wholeText.static final classEvaluator for matching Element (and its descendants) wholeText.static classstatic final classEvaluator for element idstatic final classEvaluator for matching by sibling index number (e = idx)static classAbstract evaluator for sibling index matchingstatic final classEvaluator for matching by sibling index number (e > idx)static final classEvaluator for matching by sibling index number (e < idx)static final classstatic final classEvaluator for matching the first sibling (css :first-child)static final classstatic final classEvaluator for matching the last sibling (css :last-child)static final classstatic final classcss-compatible Evaluator for :eq (css :nth-child)static final classcss pseudo class :nth-last-child)static classstatic classcss pseudo class nth-of-typestatic final classstatic final classstatic final classcss3 pseudo-class :rootstatic final classEvaluator for matching Element (and its descendants) text with regexstatic final classEvaluator for matching Element's own text with regexstatic final classEvaluator for matching Element's own whole text with regex.static final classEvaluator for matching Element (and its descendants) whole text with regex.static final classDeprecated.This selector is deprecated and will be removed in a future version.static final classEvaluator for tag namestatic final classEvaluator for tag name that ends with suffix; used for *|elstatic final classEvaluator for tag name that starts with prefix; used for ns|*Methods in org.jsoup.select that return EvaluatorModifier and TypeMethodDescriptionstatic EvaluatorSelector.evaluatorOf(String css) Parse a CSS query into an Evaluator.static EvaluatorQueryParser.parse(String query) Parse a CSS query into an Evaluator.Methods in org.jsoup.select with parameters of type EvaluatorModifier and TypeMethodDescriptionvoidstatic ElementsBuild a list of elements, by visiting the root and every descendant of root, and testing it against the Evaluator.Collector.collectNodes(Evaluator evaluator, Element root, Class<T> type) Build a list of nodes that match the supplied criteria, by visiting the root and every descendant of root, and testing it against the Evaluator.static @Nullable ElementFinds the first Element that matches the Evaluator that descends from the root, and stops the query once that first match is found.static <T extends Node>
@Nullable TCollector.findFirstNode(Evaluator eval, Element root, Class<T> type) Finds the first Node that matches the Evaluator that descends from the root, and stops the query once that first match is found.static ElementsFind Elements matching the Evaluator.static Stream<Element> Selector.selectStream(Evaluator evaluator, Element root) Finds a Stream of elements matching the evaluator.static Stream<Element> Obtain a Stream of elements by visiting the root and every descendant of root and testing it against the evaluator.static <T extends Node>
Stream<T> Collector.streamNodes(Evaluator evaluator, Element root, Class<T> type) Obtain a Stream of nodes, of the specified type, by visiting the root and every descendant of root and testing it against the evaluator.Constructor parameters in org.jsoup.select with type arguments of type Evaluator