Package org.jsoup.select
Class Evaluator.IsNthLastChild
java.lang.Object
org.jsoup.select.Evaluator
org.jsoup.select.Evaluator.CssNthEvaluator
org.jsoup.select.Evaluator.IsNthLastChild
- Enclosing class:
- Evaluator
public static final class Evaluator.IsNthLastChild extends Evaluator.CssNthEvaluator
css pseudo class :nth-last-child)
- See Also:
Evaluator.IndexEquals
-
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.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.MatchText, Evaluator.Tag, Evaluator.TagEndsWith
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IsNthLastChild(int a, int b)
-
Method Summary
Modifier and Type Method Description protected int
calculatePosition(Element root, Element element)
protected String
getPseudoClass()
-
Constructor Details
-
IsNthLastChild
public IsNthLastChild(int a, int b)
-
-
Method Details
-
calculatePosition
- Specified by:
calculatePosition
in classEvaluator.CssNthEvaluator
-
getPseudoClass
- Specified by:
getPseudoClass
in classEvaluator.CssNthEvaluator
-