@ExperimentalApi public final class ContentRepresentation extends BaseApiEnum
| Modifier and Type | Field and Description | 
|---|---|
| static ContentRepresentation | ANONYMOUS_EXPORT_VIEWHTML representation for viewing, but with absolute urls, instead of relative urls in the markup, and macros are rendered as though
 it is viewed by an anonymous user. | 
| static ContentRepresentation | EDITORRepresentation suitable for use in the rich text editor | 
| static ContentRepresentation | EXPORT_VIEWHTML representation for viewing, but with absolute urls, instead of relative urls in the markup. | 
| static Iterable<ContentRepresentation> | INPUT_CONVERSION_TO_STORAGE_ORDERAn ordered enumeration of ContentRepresentations that can be converted to STORAGE format. | 
| static ContentRepresentation | PLAINRaw database format as plain text with no XHTML or WIKI markup. | 
| static ContentRepresentation | RAWRaw "database" format. | 
| static ContentRepresentation | STORAGERaw database format, for content that stores data in our XML storage format | 
| static ContentRepresentation | STYLED_VIEWA rendered view that includes inline styles in a <style> element, wrapped in an entire <html> structure. | 
| static ContentRepresentation | VIEWHTML representation for viewing in a web page | 
| static ContentRepresentation | WIKILegacy WIKI representation | 
value| Modifier and Type | Method and Description | 
|---|---|
| boolean | convertsFromStorage() | 
| boolean | convertsToStorage() | 
| String | getRepresentation() | 
| String | toString() | 
| static ContentRepresentation | valueOf(String representation) | 
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 ANONYMOUS_EXPORT_VIEW
public static final ContentRepresentation WIKI
public static final ContentRepresentation PLAIN
Can be converted to VIEW representation by converting newlines to <br> and representing URLs as HTML links.
public static final ContentRepresentation STYLED_VIEW
public static final 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 valueOf(String representation)
public boolean convertsFromStorage()
public boolean convertsToStorage()
public String getRepresentation()
public String toString()
toString in class BaseApiEnumCopyright © 2003–2022 Atlassian. All rights reserved.