public enum ContentRepresentation extends Enum<ContentRepresentation>
Enum Constant and Description |
---|
EDITOR
Representation suitable for use in the rich text editor
|
RAW
Raw "database" format.
|
STORAGE
Raw database format, for content that stores data in our wiki storage format
|
VIEW
HTML representation for viewing in a web page
|
Modifier and Type | Method and Description |
---|---|
static ContentRepresentation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentRepresentation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentRepresentation RAW
public static final ContentRepresentation STORAGE
public static final ContentRepresentation EDITOR
public static final ContentRepresentation VIEW
public static ContentRepresentation[] values()
for (ContentRepresentation c : ContentRepresentation.values()) System.out.println(c);
public static ContentRepresentation 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 © 2003–2017 Atlassian. All rights reserved.