public abstract static class Evaluator.CssNthEvaluator extends Evaluator
Evaluator.AllElements, Evaluator.Attribute, Evaluator.AttributeKeyPair, Evaluator.AttributeStarting, Evaluator.AttributeWithValue, Evaluator.AttributeWithValueContaining, Evaluator.AttributeWithValueEnding, Evaluator.AttributeWithValueMatching, Evaluator.AttributeWithValueNot, Evaluator.AttributeWithValueStarting, Evaluator.Class, 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.Tag
Constructor and Description |
---|
CssNthEvaluator(int b) |
CssNthEvaluator(int a, int b) |
Modifier and Type | Method and Description |
---|---|
protected abstract int |
calculatePosition(Element root, Element element) |
protected abstract String |
getPseudoClass() |
boolean |
matches(Element root, Element element)
Test if the element meets the evaluator's requirements.
|
String |
toString() |
public CssNthEvaluator(int a, int b)
public CssNthEvaluator(int b)
Copyright © 1998–2019 iText Group NV. All rights reserved.