Package org.opencms.ui.dataview
Class CmsColumnValueConverter
java.lang.Object
org.opencms.ui.dataview.CmsColumnValueConverter
Converts column values to the correct types.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?>
Gets the actual value class which the given type enum represents.static Object
getColumnValue
(Object value, CmsDataViewColumn.Type type) Gets the actual column value for the given data value.
-
Method Details
-
getColumnClass
Gets the actual value class which the given type enum represents.- Parameters:
type
- the type enum- Returns:
- the actual value class to use
-
getColumnValue
Gets the actual column value for the given data value.- Parameters:
value
- the data valuetype
- the column type enum- Returns:
- the actual column value to use
-