|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ConversionContextOutputType> com.atlassian.confluence.content.render.xhtml.ConversionContextOutputType
public enum ConversionContextOutputType
XHTML Successor to RenderContextOutputType
. This contains
a superset of the constants in that class. The original String values are available at value()
.
Enum Constant Summary | |
---|---|
DIFF
Used when rendering is occurring in a diff, such as one within a notification. |
|
DISPLAY
Used when rendering is occurring in display mode, such as when viewing a Confluence page. |
|
EMAIL
Used when rendering is occurring in a notification, such as one received via email by "Watch"ing a Confluence page |
|
FEED
Used when rendering is occurring in a feed, such as from using Confluence's built-in RSS feeds |
|
HTML_EXPORT
Used when rendering is occurring in an HTML export, such as from using Confluence's export space mechanism |
|
PDF
Used when rendering is occurring in a PDF document, such as from using Confluence's "Export to PDF" option |
|
PREVIEW
Used when rendering is occurring in preview mode, such as on the preview tab when editing a Confluence page |
|
WORD
Used when rendering is occurring in a Word document, such as from using Confluence's "Edit in Word" option |
Method Summary | |
---|---|
String |
value()
|
static ConversionContextOutputType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConversionContextOutputType[] |
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 ConversionContextOutputType PREVIEW
public static final ConversionContextOutputType DISPLAY
public static final ConversionContextOutputType WORD
public static final ConversionContextOutputType PDF
public static final ConversionContextOutputType HTML_EXPORT
public static final ConversionContextOutputType FEED
public static final ConversionContextOutputType EMAIL
public static final ConversionContextOutputType DIFF
Method Detail |
---|
public static ConversionContextOutputType[] values()
for (ConversionContextOutputType c : ConversionContextOutputType.values()) System.out.println(c);
public static ConversionContextOutputType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String value()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |