Class Idents

java.lang.Object
com.openhtmltopdf.css.constants.Idents

public final class Idents extends Object
Booch utility class for working with ident values in CSS.
  • Field Details

    • RCSS_NUMBER

      private static final String RCSS_NUMBER
      Regex pattern, a CSS number--either integer or float
      See Also:
    • RCSS_LENGTH

      private static final String RCSS_LENGTH
      Regex pattern, CSS lengths, a length must have a unit, unless it is zero
      See Also:
    • CSS_LENGTH_PATTERN

      private static final Pattern CSS_LENGTH_PATTERN
      Pattern instance, for CSS lengths
    • BACKGROUND_POSITIONS_IDENTS

      private static final Set<String> BACKGROUND_POSITIONS_IDENTS
      Description of the Field
  • Constructor Details

    • Idents

      public Idents()
  • Method Details

    • looksLikeALength

      public static boolean looksLikeALength(String val)
      Description of the Method
      Parameters:
      val - PARAM
      Returns:
      Returns
    • looksLikeABGPosition

      public static boolean looksLikeABGPosition(String val)
      Description of the Method
      Parameters:
      val - PARAM
      Returns:
      Returns