Class CssPageSelector

java.lang.Object
com.itextpdf.styledxmlparser.css.selector.AbstractCssSelector
com.itextpdf.styledxmlparser.css.selector.CssPageSelector
All Implemented Interfaces:
ICssSelector

public class CssPageSelector extends AbstractCssSelector
ICssSelector implementation for CSS page selectors.
  • Constructor Details

    • CssPageSelector

      public CssPageSelector (String pageSelectorStr)
      Creates a new CssPageSelector instance.
      Parameters:
      pageSelectorStr - the page selector
  • Method Details

    • matches

      public boolean matches (INode node)
      Description copied from interface: ICssSelector
      Checks if a node matches the selector.
      Parameters:
      node - the node
      Returns:
      true, if the selector is a match for the node