Class PseudoClasses.FIRST_CHILD

java.lang.Object
jodd.csselly.selector.PseudoClass
jodd.csselly.selector.PseudoClasses.FIRST_CHILD
Enclosing interface:
PseudoClasses

public static class PseudoClasses.FIRST_CHILD extends PseudoClass
Same as :nth-child(1). Represents an element that is the first child of some other element.
  • Constructor Details

    • FIRST_CHILD

      public FIRST_CHILD()
  • 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