@ExperimentalApi public enum ContentRepresentation extends java.lang.Enum<ContentRepresentation>
| Enum Constant and Description |
|---|
EDITOR
Representation suitable for use in the rich text editor
|
EXPORT_VIEW
HTML representation for viewing, but with absolute urls, instead of relative urls in the markup.
|
RAW
Raw "database" format.
|
STORAGE
Raw database format, for content that stores data in our XML storage format
|
VIEW
HTML representation for viewing in a web page
|
WIKI
Legacy WIKI representation
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Iterable<ContentRepresentation> |
INPUT_CONVERSION_TO_STORAGE_ORDER
An ordered enumeration of ContentRepresentations that can be converted to STORAGE format.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
convertsFromStorage() |
boolean |
convertsToStorage() |
static ContentRepresentation |
valueOf(java.lang.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 final ContentRepresentation EXPORT_VIEW
public static final ContentRepresentation WIKI
public static final java.lang.Iterable<ContentRepresentation> INPUT_CONVERSION_TO_STORAGE_ORDER
ContentBodys to a STORAGE representation, the body chosen for conversion will be
the first one encountered in this list.public static ContentRepresentation[] values()
for (ContentRepresentation c : ContentRepresentation.values()) System.out.println(c);
public static ContentRepresentation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean convertsFromStorage()
public boolean convertsToStorage()
Copyright © 2003-2014 Atlassian. All Rights Reserved.