Class ListItemSourcePropsCharacterSeparatedValues

All Implemented Interfaces:
Serializable

public final class ListItemSourcePropsCharacterSeparatedValues extends AListItemSourcePropsCsvFormat
Model class for the for-each loop, representing the settings when EForEachLoopItemListSource.CHARACTER_SEPARATED_VALUES is selected.
Since:
8.2.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • ListItemSourcePropsCharacterSeparatedValues

      public ListItemSourcePropsCharacterSeparatedValues()
  • Method Details

    • getCsvString

      public String getCsvString()
      The CSV string of values to be parsed. May contain placeholders.
      Returns:
      The string with the character separated values.
    • isTreatLineBreaksAsDelimiter

      public boolean isTreatLineBreaksAsDelimiter()
      Whether to treat line breaks in unquoted values as delimiters between values as well. When this option is enabled, the string 'a,b\nc,d' is interpreted as the 4 values 'a', 'b', 'c', 'd'. When this option is disabled, that string is interpreted as the 3 values 'a', 'b\nc', and 'c'

      When a value is quoted, line breaks are always part of the value itself.

      Returns:
      Whether to treat line breaks in unquoted values as delimiters.
    • setCsvString

      public void setCsvString(String csvString)
      The CSV string of values to be parsed. May contain placeholders.
      Parameters:
      csvString - The string with the character separated values.
    • setTreatLineBreaksAsDelimiter

      public void setTreatLineBreaksAsDelimiter(boolean treatLineBreaksAsDelimiter)
      Whether to treat line breaks in unquoted values as delimiters between values as well. When this option is enabled, the string 'a,b\nc,d' is interpreted as the 4 values 'a', 'b', 'c', 'd'. When this option is disabled, that string is interpreted as the 3 values 'a', 'b\nc', and 'c'

      When a value is quoted, line breaks are always part of the value itself.

      Parameters:
      treatLineBreaksAsDelimiter - Whether to treat line breaks in unquoted values as delimiters.