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 Details

    • FIRST_OF_TYPE

      public FIRST_OF_TYPE()
  • Method Details

    • match

      public boolean match(Node node)
      Description copied from class: PseudoClass
      Returns true if node matches the pseudo-class.
      Specified by:
      match in class PseudoClass