Interface CamelCase
- 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 -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic StringcamelCaseToCss(String camelCaseName) Converts a camel case string to a css string.static StringcssToCamelCase(String cssName)
-
Field Details
-
UPPER
Regex pattern for a single upper-case letter -
DASH_LOWER
Regex pattern for a dash followed by a single lower-case letter
-
-
Method Details
-
camelCaseToCss
Converts a camel case string to a css string. e.g.camelCaseToCss("camelCase") = "camel-case" -
cssToCamelCase
-