|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ContentRepresentation>
com.atlassian.confluence.api.model.content.ContentRepresentation
@ExperimentalApi public enum ContentRepresentation
Enumeration of the different built-in ways that Confluence content bodies can be represented.
| Enum Constant Summary | |
|---|---|
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 |
|
| Field Summary | |
|---|---|
static java.lang.Iterable<ContentRepresentation> |
INPUT_CONVERSION_TO_STORAGE_ORDER
An ordered enumeration of ContentRepresentations that can be converted to STORAGE format. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Field Detail |
|---|
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.
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is nullpublic boolean convertsFromStorage()
public boolean convertsToStorage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||