Enum Class Blitz.Option

java.lang.Object
java.lang.Enum<Blitz.Option>
de.bottlecaps.markup.Blitz.Option
All Implemented Interfaces:
Serializable, Comparable<Blitz.Option>, Constable
Enclosing class:
Blitz

public static enum Blitz.Option extends Enum<Blitz.Option>
Parser and generator options.
  • Enum Constant Details

    • INDENT

      public static final Blitz.Option INDENT
      Parser option: Generate XML with indentation.
    • TRACE

      public static final Blitz.Option TRACE
      Parser option: Print parser trace.
    • FAIL_ON_ERROR

      public static final Blitz.Option FAIL_ON_ERROR
      Parser option: Fail on parsing error.
    • TIMING

      public static final Blitz.Option TIMING
      Generator option: Print timing information.
    • VERBOSE

      public static final Blitz.Option VERBOSE
      Generator option: Print information on intermediate results.
  • Constructor Details

    • Option

      private Option()
  • Method Details

    • values

      public static Blitz.Option[] 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 Blitz.Option 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