Package org.jsoup.select
Class Evaluator.CssNthEvaluator
java.lang.Object
org.jsoup.select.Evaluator
org.jsoup.select.Evaluator.CssNthEvaluator
- Direct Known Subclasses:
-
Evaluator.IsNthChild
,Evaluator.IsNthLastChild
,Evaluator.IsNthLastOfType
,Evaluator.IsNthOfType
- Enclosing class:
-
Evaluator
-
Nested Class Summary
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int
calculatePosition
(Element root, Element element) protected abstract String
boolean
Test if the element meets the evaluator's requirements.String
toString()
Methods inherited from class org.jsoup.select.Evaluator
asPredicate, cost, reset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
Constructor Details
-
Method Details
-
matches
Description copied from class:Evaluator
Test if the element meets the evaluator's requirements. -
toString
public String toString()- Overrides:
-
toString
in classObject
-
getPseudoClass
protected abstract String getPseudoClass() -
calculatePosition
-