Enum ETextContentViewEmptyMode

java.lang.Object
java.lang.Enum<ETextContentViewEmptyMode>
de.xima.fc.gui.helper.user_portal.ETextContentViewEmptyMode
All Implemented Interfaces:
Serializable, Comparable<ETextContentViewEmptyMode>

public enum ETextContentViewEmptyMode extends Enum<ETextContentViewEmptyMode>
How to treat files with empty or blank content when such a file is set. Either treat such files an a file with empty or blank content, or remove the file instead.
Since:
8.2.0
  • Enum Constant Details

    • TREAT_EMPTY_STRING_AS_EMPTY_FILE

      public static final ETextContentViewEmptyMode TREAT_EMPTY_STRING_AS_EMPTY_FILE
      Treat null and empty strings as if a file with empty content had been set.
    • TREAT_EMPTY_STRING_AS_NO_FILE

      public static final ETextContentViewEmptyMode TREAT_EMPTY_STRING_AS_NO_FILE
      Treat null and empty strings as if no file had been set.
    • TREAT_BLANK_STRING_AS_EMPTY_FILE

      public static final ETextContentViewEmptyMode TREAT_BLANK_STRING_AS_EMPTY_FILE
      Treat null, empty, and blank strings as if a file with an empty or blank content had been set.
    • TREAT_BLANK_STRING_AS_NO_FILE

      public static final ETextContentViewEmptyMode TREAT_BLANK_STRING_AS_NO_FILE
      Treat null, empty, and blank strings as if no file had been set.
  • Method Details

    • values

      public static ETextContentViewEmptyMode[] 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

      public static ETextContentViewEmptyMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • resolve

      public abstract String resolve(String text)