public static class PseudoFunction.NTH_LAST_CHILD extends PseudoFunction<PseudoFunctionExpression>
: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.PseudoFunction.CONTAINS, PseudoFunction.EQ, PseudoFunction.GT, PseudoFunction.HAS, PseudoFunction.LT, PseudoFunction.NOT, PseudoFunction.NTH_CHILD, PseudoFunction.NTH_LAST_CHILD, PseudoFunction.NTH_LAST_OF_TYPE, PseudoFunction.NTH_OF_TYPE
Constructor and Description |
---|
NTH_LAST_CHILD() |
Modifier and Type | Method and Description |
---|---|
boolean |
match(Node node,
PseudoFunctionExpression expression)
Matches node using provided parsed expression.
|
PseudoFunctionExpression |
parseExpression(java.lang.String expression)
Parses expression before usage.
|
getPseudoFunctionName, match
public PseudoFunctionExpression parseExpression(java.lang.String expression)
PseudoFunction
parseExpression
in class PseudoFunction<PseudoFunctionExpression>
public boolean match(Node node, PseudoFunctionExpression expression)
PseudoFunction
match
in class PseudoFunction<PseudoFunctionExpression>
Copyright © 2003-present Jodd Team