Package org.jsoup.select
Class StructuralEvaluator
java.lang.Object
org.jsoup.select.Evaluator
org.jsoup.select.StructuralEvaluator
- Direct Known Subclasses:
StructuralEvaluator.Has
,StructuralEvaluator.ImmediatePreviousSibling
,StructuralEvaluator.Is
,StructuralEvaluator.Not
,StructuralEvaluator.Parent
,StructuralEvaluator.PreviousSibling
Base structural evaluator.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
(package private) static class
Holds a list of evaluators for one > two > three immediate parent matches, and the final direct evaluator under test.(package private) static class
(package private) static class
Implements the :is(sub-query) pseudo-selector(package private) static class
(package private) static class
(package private) static class
(package private) static class
Nested classes/interfaces inherited from class org.jsoup.select.Evaluator
Evaluator.AllElements, Evaluator.Attribute, Evaluator.AttributeKeyPair, Evaluator.AttributeStarting, Evaluator.AttributeWithValue, Evaluator.AttributeWithValueContaining, Evaluator.AttributeWithValueEnding, Evaluator.AttributeWithValueMatching, Evaluator.AttributeWithValueNot, Evaluator.AttributeWithValueStarting, Evaluator.Class, Evaluator.ContainsData, Evaluator.ContainsOwnText, Evaluator.ContainsText, Evaluator.ContainsWholeOwnText, Evaluator.ContainsWholeText, Evaluator.CssNthEvaluator, Evaluator.Id, Evaluator.IndexEquals, Evaluator.IndexEvaluator, Evaluator.IndexGreaterThan, Evaluator.IndexLessThan, Evaluator.IsEmpty, Evaluator.IsFirstChild, Evaluator.IsFirstOfType, Evaluator.IsLastChild, Evaluator.IsLastOfType, Evaluator.IsNthChild, Evaluator.IsNthLastChild, Evaluator.IsNthLastOfType, Evaluator.IsNthOfType, Evaluator.IsOnlyChild, Evaluator.IsOnlyOfType, Evaluator.IsRoot, Evaluator.Matches, Evaluator.MatchesOwn, Evaluator.MatchesWholeOwnText, Evaluator.MatchesWholeText, Evaluator.MatchText, Evaluator.Tag, Evaluator.TagEndsWith, Evaluator.TagStartsWith
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Evaluator
(package private) final ThreadLocal
<IdentityHashMap<Element, IdentityHashMap<Element, Boolean>>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
memoMatches
(Element root, Element element) protected void
reset()
Reset any internal state in this Evaluator before executing a new Collector evaluation.Methods inherited from class org.jsoup.select.Evaluator
asPredicate, cost, matches