Enum Class SimTocOptionTypes
- All Implemented Interfaces:
OptionParser<TocOptions>, Serializable, Comparable<SimTocOptionTypes>, Constable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OptionParser<TocOptions>[]final OptionParser<TocOptions> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOptionText(TocOptions options, TocOptions defaultOptions) parseOption(BasedSequence optionText, TocOptions options, MessageProvider provider) static SimTocOptionTypesReturns the enum constant of this class with the specified name.static SimTocOptionTypes[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEVELS
-
HTML
-
MARKDOWN
-
BULLETS
-
NUMERIC
-
TEXT
-
FORMATTED
-
HIERARCHY
-
FLAT
-
FLAT_REVERSED
-
SORTED
-
SORTED_REVERSED
-
-
Field Details
-
parser
-
OPTIONS
-
-
Constructor Details
-
SimTocOptionTypes
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getOptionName
- Specified by:
getOptionNamein interfaceOptionParser<TocOptions>
-
parseOption
public Pair<TocOptions, List<ParsedOption<TocOptions>>> parseOption(BasedSequence optionText, TocOptions options, MessageProvider provider) - Specified by:
parseOptionin interfaceOptionParser<TocOptions>
-
getOptionText
- Specified by:
getOptionTextin interfaceOptionParser<TocOptions>
-