public class TocLevelsOptionParser extends Object implements com.vladsch.flexmark.util.options.OptionParser<TocOptions>
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_OPTION_0_VALUE_1_NOT_IN_RANGE |
static String |
KEY_OPTION_0_VALUE_1_NOT_INTEGER |
static String |
KEY_OPTION_0_VALUE_1_TRUNCATED_TO_EMPTY_RANGE |
static String |
KEY_OPTION_0_VALUE_1_TRUNCATED_TO_RANGE_2 |
static String |
OPTION_0_VALUE_1_NOT_IN_RANGE |
static String |
OPTION_0_VALUE_1_NOT_INTEGER |
static String |
OPTION_0_VALUE_1_TRUNCATED_TO_EMPTY_RANGE |
static String |
OPTION_0_VALUE_1_TRUNCATED_TO_RANGE_2 |
| Constructor and Description |
|---|
TocLevelsOptionParser(String optionName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getOptionName() |
String |
getOptionText(TocOptions options,
TocOptions defaultOptions) |
com.vladsch.flexmark.util.misc.Pair<TocOptions,List<com.vladsch.flexmark.util.options.ParsedOption<TocOptions>>> |
parseOption(com.vladsch.flexmark.util.sequence.BasedSequence optionText,
TocOptions options,
com.vladsch.flexmark.util.options.MessageProvider provider) |
public static final String OPTION_0_VALUE_1_NOT_IN_RANGE
public static final String KEY_OPTION_0_VALUE_1_NOT_IN_RANGE
public static final String OPTION_0_VALUE_1_NOT_INTEGER
public static final String KEY_OPTION_0_VALUE_1_NOT_INTEGER
public static final String OPTION_0_VALUE_1_TRUNCATED_TO_RANGE_2
public static final String KEY_OPTION_0_VALUE_1_TRUNCATED_TO_RANGE_2
public static final String OPTION_0_VALUE_1_TRUNCATED_TO_EMPTY_RANGE
public static final String KEY_OPTION_0_VALUE_1_TRUNCATED_TO_EMPTY_RANGE
public TocLevelsOptionParser(String optionName)
public String getOptionName()
getOptionName in interface com.vladsch.flexmark.util.options.OptionParser<TocOptions>public com.vladsch.flexmark.util.misc.Pair<TocOptions,List<com.vladsch.flexmark.util.options.ParsedOption<TocOptions>>> parseOption(com.vladsch.flexmark.util.sequence.BasedSequence optionText, TocOptions options, com.vladsch.flexmark.util.options.MessageProvider provider)
parseOption in interface com.vladsch.flexmark.util.options.OptionParser<TocOptions>public String getOptionText(TocOptions options, TocOptions defaultOptions)
getOptionText in interface com.vladsch.flexmark.util.options.OptionParser<TocOptions>Copyright © 2020. All rights reserved.