Class PseudoClasses.ONLY_OF_TYPE
java.lang.Object
jodd.csselly.selector.PseudoClass
jodd.csselly.selector.PseudoClasses.ONLY_OF_TYPE
- Enclosing interface:
PseudoClasses
Represents an element that has a parent element and whose parent
element has no other element children with the same expanded element
name. Same as
:first-of-type:last-of-type or
:nth-of-type(1):nth-last-of-type(1), but with a lower specificity.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PseudoClass
getPseudoClassName, matchInRange
-
Constructor Details
-
ONLY_OF_TYPE
public ONLY_OF_TYPE()
-
-
Method Details
-
match
Description copied from class:PseudoClassReturnstrueif node matches the pseudo-class.- Specified by:
matchin classPseudoClass
-