jodd.lagarto.csselly.selector
Class PseudoFunction.EQ
java.lang.Object
jodd.lagarto.csselly.selector.PseudoFunction<java.lang.Integer>
jodd.lagarto.csselly.selector.PseudoFunction.EQ
- Enclosing class:
- PseudoFunction<E>
public static class PseudoFunction.EQ
- extends PseudoFunction<java.lang.Integer>
Select the element at index n within the matched set.
|
Method Summary |
boolean |
match(java.util.LinkedList<Node> currentResults,
Node node,
int index,
java.lang.Integer expression)
Returns true if node matches the pseudoclass within current results. |
boolean |
match(Node node,
java.lang.Integer expression)
Matches node using provided parsed expression. |
java.lang.Integer |
parseExpression(java.lang.String expression)
Parses expression before usage. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PseudoFunction.EQ
public PseudoFunction.EQ()
parseExpression
public java.lang.Integer parseExpression(java.lang.String expression)
- Description copied from class:
PseudoFunction
- Parses expression before usage.
- Specified by:
parseExpression in class PseudoFunction<java.lang.Integer>
match
public boolean match(Node node,
java.lang.Integer expression)
- Description copied from class:
PseudoFunction
- Matches node using provided parsed expression.
- Specified by:
match in class PseudoFunction<java.lang.Integer>
match
public boolean match(java.util.LinkedList<Node> currentResults,
Node node,
int index,
java.lang.Integer expression)
- Description copied from class:
PseudoFunction
- Returns
true if node matches the pseudoclass within current results.
- Overrides:
match in class PseudoFunction<java.lang.Integer>
Copyright © 2003-2012 Jodd Team