public static enum TextWebCmsComponentModel.MarkupType extends Enum<TextWebCmsComponentModel.MarkupType>
| Enum Constant and Description |
|---|
MARKUP |
PLAIN_TEXT |
RICH_TEXT |
| Modifier and Type | Method and Description |
|---|---|
String |
asAttributeValue() |
static TextWebCmsComponentModel.MarkupType |
forComponent(WebCmsComponent component) |
static TextWebCmsComponentModel.MarkupType |
fromAttributeValue(String attributeValue) |
static TextWebCmsComponentModel.MarkupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextWebCmsComponentModel.MarkupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextWebCmsComponentModel.MarkupType PLAIN_TEXT
public static final TextWebCmsComponentModel.MarkupType RICH_TEXT
public static final TextWebCmsComponentModel.MarkupType MARKUP
public static TextWebCmsComponentModel.MarkupType[] values()
for (TextWebCmsComponentModel.MarkupType c : TextWebCmsComponentModel.MarkupType.values()) System.out.println(c);
public static TextWebCmsComponentModel.MarkupType 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 asAttributeValue()
public static TextWebCmsComponentModel.MarkupType forComponent(WebCmsComponent component)
public static TextWebCmsComponentModel.MarkupType fromAttributeValue(String attributeValue)
Copyright © 2020. All rights reserved.