|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jsoup.select.Evaluator
org.jsoup.select.Evaluator.CssNthEvaluator
public abstract static class Evaluator.CssNthEvaluator
Nested Class Summary |
---|
Field Summary | |
---|---|
protected int |
a
|
protected int |
b
|
Constructor Summary | |
---|---|
Evaluator.CssNthEvaluator(int b)
|
|
Evaluator.CssNthEvaluator(int a,
int b)
|
Method Summary | |
---|---|
protected abstract int |
calculatePosition(Element root,
Element element)
|
protected abstract java.lang.String |
getPseudoClass()
|
boolean |
matches(Element root,
Element element)
Test if the element meets the evaluator's requirements. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final int a
protected final int b
Constructor Detail |
---|
public Evaluator.CssNthEvaluator(int a, int b)
public Evaluator.CssNthEvaluator(int b)
Method Detail |
---|
public boolean matches(Element root, Element element)
Evaluator
matches
in class Evaluator
root
- Root of the matching subtreeelement
- tested elementpublic java.lang.String toString()
toString
in class java.lang.Object
protected abstract java.lang.String getPseudoClass()
protected abstract int calculatePosition(Element root, Element element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |