Package jodd.csselly.selector
Class PseudoClasses.FIRST_OF_TYPE
- java.lang.Object
-
- jodd.csselly.selector.PseudoClass
-
- jodd.csselly.selector.PseudoClasses.FIRST_OF_TYPE
-
- Enclosing interface:
- PseudoClasses
public static class PseudoClasses.FIRST_OF_TYPE extends PseudoClass
Same as:nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element.
-
-
Constructor Summary
Constructors Constructor Description FIRST_OF_TYPE()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatch(Node node)Returnstrueif node matches the pseudo-class.-
Methods inherited from class jodd.csselly.selector.PseudoClass
getPseudoClassName, matchInRange
-
-
-
-
Method Detail
-
match
public boolean match(Node node)
Description copied from class:PseudoClassReturnstrueif node matches the pseudo-class.- Specified by:
matchin classPseudoClass
-
-