Class Idents


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

      Fields 
      Modifier and Type Field Description
      private static java.util.Set<java.lang.String> BACKGROUND_POSITIONS_IDENTS
      Description of the Field
      private static java.util.regex.Pattern CSS_LENGTH_PATTERN
      Pattern instance, for CSS lengths
      private static java.lang.String RCSS_LENGTH
      Regex pattern, CSS lengths, a length must have a unit, unless it is zero
      private static java.lang.String RCSS_NUMBER
      Regex pattern, a CSS number--either integer or float
    • Constructor Summary

      Constructors 
      Constructor Description
      Idents()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean looksLikeABGPosition​(java.lang.String val)
      Description of the Method
      static boolean looksLikeALength​(java.lang.String val)
      Description of the Method
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • RCSS_NUMBER

        private static final java.lang.String RCSS_NUMBER
        Regex pattern, a CSS number--either integer or float
        See Also:
        Constant Field Values
      • RCSS_LENGTH

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

        private static final java.util.regex.Pattern CSS_LENGTH_PATTERN
        Pattern instance, for CSS lengths
      • BACKGROUND_POSITIONS_IDENTS

        private static final java.util.Set<java.lang.String> BACKGROUND_POSITIONS_IDENTS
        Description of the Field
    • Constructor Detail

      • Idents

        public Idents()
    • Method Detail

      • looksLikeALength

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

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