Package org.jsoup.select
Packages to support the CSS-style element selector.
Selector defines the query syntax.
-
Interface Summary Interface Description NodeFilter Node filter interface.NodeVisitor Node visitor interface. -
Class Summary Class Description Collector Collects a list of elements that match the supplied criteria.Elements A list ofElement
s, with methods that act on every element in the list.Evaluator Evaluates that an element matches the selector.Evaluator.AllElements Evaluator for any / all element matchingEvaluator.Attribute Evaluator for attribute name matchingEvaluator.AttributeKeyPair Abstract evaluator for attribute name/value matchingEvaluator.AttributeStarting Evaluator for attribute name prefix matchingEvaluator.AttributeWithValue Evaluator for attribute name/value matchingEvaluator.AttributeWithValueContaining Evaluator for attribute name/value matching (value containing)Evaluator.AttributeWithValueEnding Evaluator for attribute name/value matching (value ending)Evaluator.AttributeWithValueMatching Evaluator for attribute name/value matching (value regex matching)Evaluator.AttributeWithValueNot Evaluator for attribute name != value matchingEvaluator.AttributeWithValueStarting Evaluator for attribute name/value matching (value prefix)Evaluator.Class Evaluator for element classEvaluator.ContainsData Evaluator for matching Element (and its descendants) dataEvaluator.ContainsOwnText Evaluator for matching Element's own textEvaluator.ContainsText Evaluator for matching Element (and its descendants) textEvaluator.CssNthEvaluator Evaluator.Id Evaluator for element idEvaluator.IndexEquals Evaluator for matching by sibling index number (e = idx)Evaluator.IndexEvaluator Abstract evaluator for sibling index matchingEvaluator.IndexGreaterThan Evaluator for matching by sibling index number (e > idx)Evaluator.IndexLessThan Evaluator for matching by sibling index number (e < idx)Evaluator.IsEmpty Evaluator.IsFirstChild Evaluator for matching the first sibling (css :first-child)Evaluator.IsFirstOfType Evaluator.IsLastChild Evaluator for matching the last sibling (css :last-child)Evaluator.IsLastOfType Evaluator.IsNthChild css-compatible Evaluator for :eq (css :nth-child)Evaluator.IsNthLastChild css pseudo class :nth-last-child)Evaluator.IsNthLastOfType Evaluator.IsNthOfType css pseudo class nth-of-typeEvaluator.IsOnlyChild Evaluator.IsOnlyOfType Evaluator.IsRoot css3 pseudo-class :rootEvaluator.Matches Evaluator for matching Element (and its descendants) text with regexEvaluator.MatchesOwn Evaluator for matching Element's own text with regexEvaluator.MatchText Evaluator.Tag Evaluator for tag nameEvaluator.TagEndsWith Evaluator for tag name that ends withNodeTraversor Depth-first node traversor.QueryParser Parses a CSS selector into an Evaluator tree.Selector CSS-like element selector, that finds elements matching a query. -
Enum Summary Enum Description NodeFilter.FilterResult Filter decision. -
Exception Summary Exception Description Selector.SelectorParseException