public static enum StringCodecService.Encoding extends Enum<StringCodecService.Encoding>
Enum Constant and Description |
---|
DISPLAY_NAME
Generate a name to display to a user.
|
IDENTITY
Return the same string.
|
NODE_NAME
Generate a JCR node name.
|
Modifier and Type | Method and Description |
---|---|
static StringCodecService.Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringCodecService.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringCodecService.Encoding IDENTITY
public static final StringCodecService.Encoding DISPLAY_NAME
public static final StringCodecService.Encoding NODE_NAME
public static StringCodecService.Encoding[] values()
for (StringCodecService.Encoding c : StringCodecService.Encoding.values()) System.out.println(c);
public static StringCodecService.Encoding 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 nullCopyright © 2007–2019 Hippo B.V. (http://www.onehippo.com). All rights reserved.