public static enum ObjectGenerator.ContentKind extends Enum<ObjectGenerator.ContentKind>
Enum Constant and Description |
---|
IMAGE_FRACTAL_JPEG |
LOREM_IPSUM_HTML |
LOREM_IPSUM_TEXT |
STATIC_TEXT |
Modifier and Type | Method and Description |
---|---|
static ObjectGenerator.ContentKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectGenerator.ContentKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectGenerator.ContentKind STATIC_TEXT
public static final ObjectGenerator.ContentKind LOREM_IPSUM_TEXT
public static final ObjectGenerator.ContentKind LOREM_IPSUM_HTML
public static final ObjectGenerator.ContentKind IMAGE_FRACTAL_JPEG
public static ObjectGenerator.ContentKind[] values()
for (ObjectGenerator.ContentKind c : ObjectGenerator.ContentKind.values()) System.out.println(c);
public static ObjectGenerator.ContentKind 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 © 2009-2014 The Apache Software Foundation. All Rights Reserved.