Class CmsSelectConfigurationParser
java.lang.Object
org.opencms.acacia.client.widgets.CmsSelectConfigurationParser
Parses the configuration for various select widgets, including multi-select and combo-box.
It expects the canonical format of the configuration options as it is produced
by CmsSelectWidgetOption.createConfigurationString(List)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
Splits the options string at every unescaped input delimiter, i.e., every unescaped "|".Returns the default value.Returns the default value.Returns the help texts.Returns the options.static String[]
splitOptions
(String input) Splits the options string at every unescaped input delimiter, i.e., every unescaped "|".
-
Constructor Details
-
CmsSelectConfigurationParser
Constructor. Will parse the given configuration string.- Parameters:
configuration
- the configuration
-
-
Method Details
-
findNextUnescapedSingleQuote
Splits the options string at every unescaped input delimiter, i.e., every unescaped "|".- Parameters:
input
- the options string- Returns:
- the array with the various options
-
splitOptions
Splits the options string at every unescaped input delimiter, i.e., every unescaped "|".- Parameters:
input
- the options string- Returns:
- the array with the various options
-
getDefaultValue
Returns the default value.- Returns:
- the default value
-
getDefaultValues
Returns the default value.- Returns:
- the default value
-
getHelpTexts
Returns the help texts.- Returns:
- the help texts
-
getOptions
Returns the options.- Returns:
- the options
-