jodd.lagarto.csselly.selector
Class PseudoFunction.EQ

java.lang.Object
  extended by jodd.lagarto.csselly.selector.PseudoFunction
      extended by jodd.lagarto.csselly.selector.PseudoFunction.EQ
Enclosing class:
PseudoFunction

public static class PseudoFunction.EQ
extends PseudoFunction

Select the element at index n within the matched set.


Nested Class Summary
 
Nested classes/interfaces inherited from class jodd.lagarto.csselly.selector.PseudoFunction
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.EQ()
           
 
Method Summary
 boolean match(java.util.LinkedList<Node> currentResults, Node node, int index, java.lang.String expression)
          Returns true if node matches the pseudoclass within current results.
 boolean match(Node node, java.lang.String expression)
          Matches node using provided expression.
 
Methods inherited from class jodd.lagarto.csselly.selector.PseudoFunction
getPseudoFunctionName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PseudoFunction.EQ

public PseudoFunction.EQ()
Method Detail

match

public boolean match(Node node,
                     java.lang.String expression)
Description copied from class: PseudoFunction
Matches node using provided expression.

Specified by:
match in class PseudoFunction

match

public boolean match(java.util.LinkedList<Node> currentResults,
                     Node node,
                     int index,
                     java.lang.String expression)
Description copied from class: PseudoFunction
Returns true if node matches the pseudoclass within current results.

Overrides:
match in class PseudoFunction


Copyright © 2003-2011 Jodd Team