public static enum TextAreaClass.ContentType extends Enum<TextAreaClass.ContentType>
Indicates what kind of content this field contains (wiki, plain text, etc.).
Enum Constant and Description |
---|
PURE_TEXT
Plain text without any known syntax.
|
VELOCITY_CODE
Velocity content.
|
WIKI_TEXT
Wiki content.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static TextAreaClass.ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAreaClass.ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAreaClass.ContentType PURE_TEXT
public static final TextAreaClass.ContentType WIKI_TEXT
public static final TextAreaClass.ContentType VELOCITY_CODE
public static TextAreaClass.ContentType[] values()
for (TextAreaClass.ContentType c : TextAreaClass.ContentType.values()) System.out.println(c);
public static TextAreaClass.ContentType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<TextAreaClass.ContentType>
Copyright © 2004–2016 XWiki. All rights reserved.