public static class PseudoClass.FIRST extends PseudoClass
PseudoClass.BUTTON, PseudoClass.CHECKBOX, PseudoClass.CHECKED, PseudoClass.EMPTY, PseudoClass.EVEN, PseudoClass.FILE, PseudoClass.FIRST, PseudoClass.FIRST_CHILD, PseudoClass.FIRST_OF_TYPE, PseudoClass.HEADER, PseudoClass.IMAGE, PseudoClass.INPUT, PseudoClass.LAST, PseudoClass.LAST_CHILD, PseudoClass.LAST_OF_TYPE, PseudoClass.ODD, PseudoClass.ONLY_CHILD, PseudoClass.ONLY_OF_TYPE, PseudoClass.PARENT, PseudoClass.PASSWORD, PseudoClass.RADIO, PseudoClass.RESET, PseudoClass.ROOT, PseudoClass.SELECTED, PseudoClass.SUBMIT, PseudoClass.TEXT
Constructor and Description |
---|
FIRST() |
Modifier and Type | Method and Description |
---|---|
boolean |
match(java.util.List<Node> currentResults,
Node node,
int index)
Returns
true if node matches the pseudoclass within current results. |
boolean |
match(Node node)
Returns
true if node matches the pseudoclass. |
getPseudoClassName
public boolean match(Node node)
PseudoClass
true
if node matches the pseudoclass.match
in class PseudoClass
public boolean match(java.util.List<Node> currentResults, Node node, int index)
PseudoClass
true
if node matches the pseudoclass within current results.match
in class PseudoClass
Copyright © 2003-present Jodd Team