All Known Implementing Classes:
AnimationDirection, BackgroundClip, BackgroundRepeat, BoxSizing, Cursor, DockCornerPriority, FontVariant, MediaFeature, OverflowWrap, PseudoSelector, TextAlign, TextDecoration, TextJustify, WhiteSpace, WordWrap

public interface CamelCase
Marker interface for option enums to indicate that their names should be converted from camel case before use
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Pattern
    Regex pattern for a dash followed by a single lower-case letter
    static final Pattern
    Regex pattern for a single upper-case letter
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static String
    camelCaseToCss(String camelCaseName)
    Converts a camel case string to a css string.
    static String
     
  • Field Details

    • UPPER

      static final Pattern UPPER
      Regex pattern for a single upper-case letter
    • DASH_LOWER

      static final Pattern DASH_LOWER
      Regex pattern for a dash followed by a single lower-case letter
  • Method Details

    • camelCaseToCss

      static String camelCaseToCss(String camelCaseName)
      Converts a camel case string to a css string. e.g. camelCaseToCss("camelCase") = "camel-case"
    • cssToCamelCase

      static String cssToCamelCase(String cssName)