jodd.lagarto.csselly.selector
Class PseudoFunction.NTH_LAST_OF_TYPE

java.lang.Object
  extended by jodd.lagarto.csselly.selector.PseudoFunction<PseudoFunctionExpression>
      extended by jodd.lagarto.csselly.selector.PseudoFunction.NTH_LAST_OF_TYPE
Enclosing class:
PseudoFunction<E>

public static class PseudoFunction.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.


Nested Class Summary
 
Nested classes/interfaces inherited from class jodd.lagarto.csselly.selector.PseudoFunction
PseudoFunction.CONTAINS, PseudoFunction.EQ, PseudoFunction.GT, PseudoFunction.LT, PseudoFunction.NTH_CHILD, PseudoFunction.NTH_LAST_CHILD, PseudoFunction.NTH_LAST_OF_TYPE, PseudoFunction.NTH_OF_TYPE
 
Constructor Summary
PseudoFunction.NTH_LAST_OF_TYPE()
           
 
Method Summary
 boolean match(Node node, PseudoFunctionExpression expression)
          Matches node using provided parsed expression.
 PseudoFunctionExpression parseExpression(java.lang.String expression)
          Parses expression before usage.
 
Methods inherited from class jodd.lagarto.csselly.selector.PseudoFunction
getPseudoFunctionName, match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PseudoFunction.NTH_LAST_OF_TYPE

public PseudoFunction.NTH_LAST_OF_TYPE()
Method Detail

parseExpression

public PseudoFunctionExpression parseExpression(java.lang.String expression)
Description copied from class: PseudoFunction
Parses expression before usage.

Specified by:
parseExpression in class PseudoFunction<PseudoFunctionExpression>

match

public boolean match(Node node,
                     PseudoFunctionExpression expression)
Description copied from class: PseudoFunction
Matches node using provided parsed expression.

Specified by:
match in class PseudoFunction<PseudoFunctionExpression>


Copyright © 2003-2012 Jodd Team