Enum Class GeneratorOpts.LineEnding

java.lang.Object
java.lang.Enum<GeneratorOpts.LineEnding>
dk.mada.jaxrs.generator.mpclient.GeneratorOpts.LineEnding
All Implemented Interfaces:
Serializable, Comparable<GeneratorOpts.LineEnding>, Constable
Enclosing class:
GeneratorOpts

public static enum GeneratorOpts.LineEnding extends Enum<GeneratorOpts.LineEnding>
Line endings.
  • Enum Constant Details

  • Method Details

    • values

      public static GeneratorOpts.LineEnding[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GeneratorOpts.LineEnding valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • lineBreak

      public String lineBreak()
      Returns the active line break sequence.
      Returns:
      the active line break sequence
    • from

      public static GeneratorOpts.LineEnding from(String value)
      Converts property value to enumeration value.
      Parameters:
      value - the input property value
      Returns:
      the matching line ending enumeration