public static enum Keyword.Style extends Enum<Keyword.Style>
| Enum Constant and Description |
|---|
CAMEL_CASE
`CamelCaseStyle`
|
CONSTANT_NAME
`CONSTANT_NAME_STYLE`
|
DASHED
`dashed-style`
|
DOTTED
`dotted.style`
|
HTTP_HEADER
`Http-Header-Style`
|
HYPHENATED
Alias of
DASHED |
JAVA_VARIABLE
`javaVariableStyle`
|
KEBAB
Alias of
DASHED. |
LOWER_CAMEL_CASE
Alias of
Keyword.javaVariable() |
PASCAL_CASE
Alias of
CAMEL_CASE. |
READABLE
`Readable style`
|
SNAKE_CASE
alias of
UNDERSCORE |
START_CASE
`Start Case` - See https://en.wikipedia.org/wiki/Letter_case#Case_styles
|
UNDERSCORE
`underscore_style`
|
UPPER_CAMEL_CASE
Alias of
CAMEL_CASE. |
| Modifier and Type | Method and Description |
|---|---|
Lang.Transformer<String,String> |
asTransformer() |
protected CharSequence |
processToken(FastStr token,
int seq) |
String |
toString(Keyword keyword) |
static Keyword.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Keyword.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Keyword.Style CAMEL_CASE
public static final Keyword.Style UPPER_CAMEL_CASE
CAMEL_CASE.public static final Keyword.Style PASCAL_CASE
CAMEL_CASE.public static final Keyword.Style JAVA_VARIABLE
public static final Keyword.Style LOWER_CAMEL_CASE
Keyword.javaVariable()public static final Keyword.Style UNDERSCORE
public static final Keyword.Style SNAKE_CASE
UNDERSCOREpublic static final Keyword.Style CONSTANT_NAME
public static final Keyword.Style DASHED
public static final Keyword.Style KEBAB
DASHED.public static final Keyword.Style HYPHENATED
DASHEDpublic static final Keyword.Style DOTTED
public static final Keyword.Style HTTP_HEADER
public static final Keyword.Style READABLE
public static final Keyword.Style START_CASE
public static Keyword.Style[] values()
for (Keyword.Style c : Keyword.Style.values()) System.out.println(c);
public static Keyword.Style valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Lang.Transformer<String,String> asTransformer()
protected CharSequence processToken(FastStr token, int seq)
Copyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.