Package de.xima.fc.mdl.enums
Enum EHttpContentType
- All Implemented Interfaces:
INamedUiElement
,Serializable
,Comparable<EHttpContentType>
Enumeration of the possible content types that can be selected for the
EWorkflowNodeType#FC_POST_REQUEST
.
When form placeholders are replaced, the text is escaped according to the selected content type.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe text file contains CSV content (comma separated)The text file contains JSON data.The text file contains plain text that does not need any escaping.The text file contains CSV content (semicolon separated)The text file contains XML -
Field Summary
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
Method Summary
Modifier and TypeMethodDescriptiongetDisplayName
(Locale locale) static EHttpContentType
Returns the enum constant of this type with the specified name.static EHttpContentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLAIN_TEXT
The text file contains plain text that does not need any escaping. -
JSON
The text file contains JSON data. -
XML
The text file contains XML -
COMMA_SEPARATED_VALUES
The text file contains CSV content (comma separated) -
SEMICOLON_SEPARATED_VALUES
The text file contains CSV content (semicolon separated)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getMimeType
- Returns:
- the name of the content type
-
getDisplayName
- Specified by:
getDisplayName
in interfaceINamedUiElement
- Returns:
- Wert, der das entsprechende Objekt an Oberfläche repräsentiert (wird i.A. zur Laufzeit ermittelt).
-
getCodeMirrorMode
- Returns:
- The content type for the mode of CodeMirror
-
getEscaper
- Returns:
- The placeholder escaper to be used for this content type.
-