Enum ExportFormat
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<ExportFormat>
,Constable
client export
to one of the native spreadsheet formats (xls
or ooxml), we also export hilite-based
coloring. So, if Hilites are causing a
particular cell to be rendered as green text on a blue background, the corresponding cell in the exported spreadsheet
document will also be colored that way.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionExport data in comma-separated formatCustom server-side logic will do the exportExport data as JSON objects.Export data in native Microsoft Excel 2007 format (also called XLSX)Export data in native Microsoft Excel 97 formatExport data as XML records -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static ExportFormat
Returns the enum constant of this type with the specified name.static ExportFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
XML
Export data as XML recordsIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "xml". -
JSON
Export data as JSON objects. Not allowed as a client-side option.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "json". -
CSV
Export data in comma-separated formatIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "csv". -
XLS
Export data in native Microsoft Excel 97 formatIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "xls". -
OOXML
Export data in native Microsoft Excel 2007 format (also called XLSX)If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "ooxml". -
CUSTOM
Custom server-side logic will do the exportIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "custom".
-
-
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
-
getValue
-