Class PseudoClassSpecifier

java.lang.Object
org.joox.selector.PseudoClassSpecifier
All Implemented Interfaces:
Specifier

class PseudoClassSpecifier extends Object implements Specifier
An implementation of Specifier for pseudo-classes.

Note:
The negation pseudo-class specifier is implemented by NegationSpecifier, and the nth-* pseudo-classes are implemented by PseudoNthSpecifier.

See Also:
  • Field Details

    • value

      private final String value
      The pseudo-class value.
  • Constructor Details

    • PseudoClassSpecifier

      public PseudoClassSpecifier(String value)
      Create a new pseudo-class specifier with the specified value.
      Parameters:
      value - The pseudo-class value.
  • Method Details

    • getValue

      public String getValue()
      Get the pseudo-class value.
      Returns:
      The pseudo-class value.
    • getType

      public Specifier.Type getType()
      Get the specifier type.
      Specified by:
      getType in interface Specifier
      Returns:
      The specifier type.