|
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<RenderType>
com.jivesoftware.community.renderer.RenderType
public enum RenderType
Defines render types used for jive objects.
| Enum Constant Summary | |
|---|---|
BODY
Type representing a message body. |
|
COMMENT_BODY
Type representing a comment body. |
|
COMMUNITY_DESCRIPTION
Type representing a community description. |
|
DOCUMENT_BODY
Type representing a document body. |
|
DOCUMENT_FIELD_TEXT
Type representing a document field text. |
|
DOCUMENT_SUMMARY
Type representing a document summary. |
|
DOCUMENT_TITLE
Type representing a document title. |
|
DOCUMENT_VERSION_COMMENT
Type representing a document version comment. |
|
PROPERTY
Type representing a message property. |
|
SUBJECT
Type representing a message subject. |
|
TAG
Type representing a content tag. |
|
| Method Summary | |
|---|---|
long |
getKey()
Gets the key of a RenderType object |
String |
getName()
Returns a string based key representing this render type. |
static RenderType |
getRenderType(int key)
A helper method to get a specific RenderType object from its key |
static RenderType |
getRenderType(String name)
|
String |
getValue()
Gets the value of a RenderType object |
static RenderType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RenderType[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RenderType PROPERTY
public static final RenderType SUBJECT
public static final RenderType BODY
public static final RenderType TAG
public static final RenderType COMMUNITY_DESCRIPTION
public static final RenderType DOCUMENT_TITLE
public static final RenderType DOCUMENT_BODY
public static final RenderType DOCUMENT_FIELD_TEXT
public static final RenderType DOCUMENT_VERSION_COMMENT
public static final RenderType COMMENT_BODY
public static final RenderType DOCUMENT_SUMMARY
| Method Detail |
|---|
public static final RenderType[] values()
for(RenderType c : RenderType.values())
System.out.println(c);
public static RenderType 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 getName()
public String getValue()
public static RenderType getRenderType(int key)
key - the key value of the RenderType object
public static RenderType getRenderType(String name)
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||