org.jsoup.select.Evaluator.IsNthChild
css-compatible Evaluator for :eq (css :nth-child)
Constructors
new
new
(
int step,
int offset
)
Java: <init>(int step, int offset)
Inherited
as_predicate
Predicate<Element>
as_predicate
(
Element root
)
Java: asPredicate(org.jsoup.nodes.Element root)
Provides a Predicate for this Evaluator, matching the test Element.
| name | type | description |
| root | org.jsoup.nodes.Element | the root Element, for match evaluation |
Returns: a predicate that accepts an Element to test for matches with this Evaluator
from Evaluator.CssNthEvaluator
matches
boolean
matches
(
Element root,
Element element
)
Java: matches(org.jsoup.nodes.Element root, org.jsoup.nodes.Element element)
to_string
String
to_string
(
)
Java: toString()