Class PseudoFunctions.NTH_LAST_CHILD
java.lang.Object
jodd.csselly.selector.PseudoFunction<PseudoFunctionExpression>
jodd.csselly.selector.PseudoFunctions.NTH_LAST_CHILD
- Enclosing interface:
PseudoFunctions
The
:nth-last-child(an+b) pseudo-class notation represents an element that has
an+b-1 siblings after it in the document tree, for any positive integer or zero value
of n, and has a parent element.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(Node node, PseudoFunctionExpression expression) Matches node using provided parsed expression.parseExpression(String expression) Parses expression before usage.Methods inherited from class PseudoFunction
getPseudoFunctionName, matchInRange
-
Constructor Details
-
NTH_LAST_CHILD
public NTH_LAST_CHILD()
-
-
Method Details
-
parseExpression
Description copied from class:PseudoFunctionParses expression before usage.- Specified by:
parseExpressionin classPseudoFunction<PseudoFunctionExpression>
-
match
Description copied from class:PseudoFunctionMatches node using provided parsed expression.- Specified by:
matchin classPseudoFunction<PseudoFunctionExpression>
-