Class PseudoFunctions.NTH_LAST_OF_TYPE
java.lang.Object
jodd.csselly.selector.PseudoFunction<PseudoFunctionExpression>
jodd.csselly.selector.PseudoFunctions.NTH_LAST_OF_TYPE
- Enclosing interface:
PseudoFunctions
public static class PseudoFunctions.NTH_LAST_OF_TYPE
extends PseudoFunction<PseudoFunctionExpression>
The
:nth-last-of-type(an+b) pseudo-class notation represents an element
that has an+b-1 siblings with the same expanded element name after it in the document tree,
for any zero or positive integer 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_OF_TYPE
public NTH_LAST_OF_TYPE()
-
-
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>
-