|
Clearspace API (2.5.29) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RenderTarget>
com.jivesoftware.community.renderer.RenderTarget
public enum RenderTarget
The target of a particular render operation.
RenderStrategy| Enum Constant Summary | |
|---|---|
TARGET_HTML
This target's output will have all wiki markup converted into html for display. |
|
TARGET_NO_MARKUP
Use this render target for when no rendering is to be performed. |
|
TARGET_PLAIN_MESSAGE
This target's rendered output will be suitable for sending in plain text emails or other similar messages. |
|
TARGET_PLAIN_TEXT
This target's output will contain wiki markup suitable for the plain text editor. |
|
TARGET_WYSIWYG_EDITOR
This target's output will be appropriate for display in the wysiwyg editor. |
|
TARGET_XML
This target's output will have all wiki markup converted into xml and the final output coerced into xml if it isn't already. |
|
| Method Summary | |
|---|---|
String |
appendExtension(String docName)
|
long |
getKey()
Gets the key of a RenderTarget object |
static RenderTarget |
getRenderTarget(int key)
A helper method to get a specific RenderTarget object from its key |
String |
getValue()
Gets the value of a RenderTarget object |
String |
toString()
|
static RenderTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RenderTarget[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RenderTarget TARGET_PLAIN_TEXT
public static final RenderTarget TARGET_PLAIN_MESSAGE
public static final RenderTarget TARGET_HTML
public static final RenderTarget TARGET_WYSIWYG_EDITOR
public static final RenderTarget TARGET_NO_MARKUP
public static final RenderTarget TARGET_XML
| Method Detail |
|---|
public static final RenderTarget[] values()
for(RenderTarget c : RenderTarget.values())
System.out.println(c);
public static RenderTarget valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic long getKey()
public String getValue()
public static RenderTarget getRenderTarget(int key)
key - the key value of the RenderTarget object
public String toString()
toString in class Enum<RenderTarget>public String appendExtension(String docName)
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||