Package org.jsoup.select
Class Evaluator
java.lang.Object
org.jsoup.select.Evaluator
- Direct Known Subclasses:
Evaluator.AllElements
,Evaluator.Attribute
,Evaluator.AttributeKeyPair
,Evaluator.AttributeStarting
,Evaluator.AttributeWithValueMatching
,Evaluator.Class
,Evaluator.ContainsData
,Evaluator.ContainsOwnText
,Evaluator.ContainsText
,Evaluator.CssNthEvaluator
,Evaluator.Id
,Evaluator.IndexEvaluator
,Evaluator.IsEmpty
,Evaluator.IsFirstChild
,Evaluator.IsLastChild
,Evaluator.IsOnlyChild
,Evaluator.IsOnlyOfType
,Evaluator.IsRoot
,Evaluator.Matches
,Evaluator.MatchesOwn
,Evaluator.MatchText
,Evaluator.Tag
,Evaluator.TagEndsWith
public abstract class Evaluator extends Object
Evaluates that an element matches the selector.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Evaluator.AllElements
Evaluator for any / all element matchingstatic class
Evaluator.Attribute
Evaluator for attribute name matchingstatic class
Evaluator.AttributeKeyPair
Abstract evaluator for attribute name/value matchingstatic class
Evaluator.AttributeStarting
Evaluator for attribute name prefix matchingstatic class
Evaluator.AttributeWithValue
Evaluator for attribute name/value matchingstatic class
Evaluator.AttributeWithValueContaining
Evaluator for attribute name/value matching (value containing)static class
Evaluator.AttributeWithValueEnding
Evaluator for attribute name/value matching (value ending)static class
Evaluator.AttributeWithValueMatching
Evaluator for attribute name/value matching (value regex matching)static class
Evaluator.AttributeWithValueNot
Evaluator for attribute name != value matchingstatic class
Evaluator.AttributeWithValueStarting
Evaluator for attribute name/value matching (value prefix)static class
Evaluator.Class
Evaluator for element classstatic class
Evaluator.ContainsData
Evaluator for matching Element (and its descendants) datastatic class
Evaluator.ContainsOwnText
Evaluator for matching Element's own textstatic class
Evaluator.ContainsText
Evaluator for matching Element (and its descendants) textstatic class
Evaluator.CssNthEvaluator
static class
Evaluator.Id
Evaluator for element idstatic class
Evaluator.IndexEquals
Evaluator for matching by sibling index number (e = idx)static class
Evaluator.IndexEvaluator
Abstract evaluator for sibling index matchingstatic class
Evaluator.IndexGreaterThan
Evaluator for matching by sibling index number (e > idx)static class
Evaluator.IndexLessThan
Evaluator for matching by sibling index number (e < idx)static class
Evaluator.IsEmpty
static class
Evaluator.IsFirstChild
Evaluator for matching the first sibling (css :first-child)static class
Evaluator.IsFirstOfType
static class
Evaluator.IsLastChild
Evaluator for matching the last sibling (css :last-child)static class
Evaluator.IsLastOfType
static class
Evaluator.IsNthChild
css-compatible Evaluator for :eq (css :nth-child)static class
Evaluator.IsNthLastChild
css pseudo class :nth-last-child)static class
Evaluator.IsNthLastOfType
static class
Evaluator.IsNthOfType
css pseudo class nth-of-typestatic class
Evaluator.IsOnlyChild
static class
Evaluator.IsOnlyOfType
static class
Evaluator.IsRoot
css3 pseudo-class :rootstatic class
Evaluator.Matches
Evaluator for matching Element (and its descendants) text with regexstatic class
Evaluator.MatchesOwn
Evaluator for matching Element's own text with regexstatic class
Evaluator.MatchText
static class
Evaluator.Tag
Evaluator for tag namestatic class
Evaluator.TagEndsWith
Evaluator for tag name that ends with -
Constructor Summary
Constructors Modifier Constructor Description protected
Evaluator()
-
Method Summary