Class ListOptions
java.lang.Object
com.vladsch.flexmark.parser.ListOptions
- All Implemented Interfaces:
MutableDataSetter
- Direct Known Subclasses:
MutableListOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected intprotected booleanprotected booleanprotected booleanprotected intprotected @NotNull ListOptions.ItemInterruptprotected booleanprotected @NotNull String[]protected @NotNull Stringprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected @NotNull ParserEmulationProfileprotected intprotected booleanprotected booleanprotected boolean -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)ListOptions(@NotNull ListOptions other) privateListOptions(@Nullable DataHolder options) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddItemMarkerSuffixes(@NotNull MutableDataHolder options, String... itemMarkerSuffixes) booleancanInterrupt(@NotNull ListBlock a, boolean isEmptyItem, boolean isItemParagraph) booleancanStartSubList(@NotNull ListBlock a, boolean isEmptyItem) booleanstatic @NotNull ListOptionsget(DataHolder options) intstatic @NotNull ListOptionsgetFrom(DataHolder options) Deprecated.use get()int@NotNull ListOptions.ItemInterrupt@NotNull String[]@NotNull Stringint@NotNull ParserEmulationProfileinthashCode()booleanbooleanbooleanbooleanbooleanisInTightListItem(@NotNull Paragraph node) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisTightListItem(@NotNull ListItem node) @NotNull MutableDataHoldersetIn(@NotNull MutableDataHolder options) booleanstartNewList(@NotNull ListBlock a, @NotNull ListBlock b) booleanstartSubList(@NotNull ListBlock a, @NotNull ListBlock b)
-
Field Details
-
myParserEmulationProfile
-
itemInterrupt
-
autoLoose
protected boolean autoLoose -
autoLooseOneLevelLists
protected boolean autoLooseOneLevelLists -
delimiterMismatchToNewList
protected boolean delimiterMismatchToNewList -
endOnDoubleBlank
protected boolean endOnDoubleBlank -
itemMarkerSpace
protected boolean itemMarkerSpace -
itemTypeMismatchToNewList
protected boolean itemTypeMismatchToNewList -
itemTypeMismatchToSubList
protected boolean itemTypeMismatchToSubList -
looseWhenPrevHasTrailingBlankLine
protected boolean looseWhenPrevHasTrailingBlankLine -
looseWhenLastItemPrevHasTrailingBlankLine
protected boolean looseWhenLastItemPrevHasTrailingBlankLine -
looseWhenHasNonListChildren
protected boolean looseWhenHasNonListChildren -
looseWhenBlankLineFollowsItemParagraph
protected boolean looseWhenBlankLineFollowsItemParagraph -
looseWhenHasLooseSubItem
protected boolean looseWhenHasLooseSubItem -
looseWhenHasTrailingBlankLine
protected boolean looseWhenHasTrailingBlankLine -
looseWhenContainsBlankLine
protected boolean looseWhenContainsBlankLine -
numberedItemMarkerSuffixed
protected boolean numberedItemMarkerSuffixed -
orderedItemDotOnly
protected boolean orderedItemDotOnly -
orderedListManualStart
protected boolean orderedListManualStart -
itemContentAfterSuffix
protected boolean itemContentAfterSuffix -
itemPrefixChars
-
codeIndent
protected int codeIndent -
itemIndent
protected int itemIndent -
newItemCodeIndent
protected int newItemCodeIndent -
itemMarkerSuffixes
-
-
Constructor Details
-
ListOptions
public ListOptions() -
ListOptions
-
ListOptions
ListOptions(@NotNull @NotNull ListOptions other)
-
-
Method Details
-
getFrom
Deprecated.use get()- Parameters:
options- options- Returns:
- new list options
-
get
-
isTightListItem
-
isInTightListItem
-
canInterrupt
public boolean canInterrupt(@NotNull @NotNull ListBlock a, boolean isEmptyItem, boolean isItemParagraph) -
canStartSubList
-
startNewList
-
startSubList
-
getMutable
-
setIn
- Specified by:
setInin interfaceMutableDataSetter
-
addItemMarkerSuffixes
public static void addItemMarkerSuffixes(@NotNull @NotNull MutableDataHolder options, String... itemMarkerSuffixes) -
getParserEmulationProfile
-
getItemInterrupt
-
isAutoLoose
public boolean isAutoLoose() -
isAutoLooseOneLevelLists
public boolean isAutoLooseOneLevelLists() -
isDelimiterMismatchToNewList
public boolean isDelimiterMismatchToNewList() -
isEndOnDoubleBlank
public boolean isEndOnDoubleBlank() -
isItemMarkerSpace
public boolean isItemMarkerSpace() -
isItemTypeMismatchToNewList
public boolean isItemTypeMismatchToNewList() -
isItemContentAfterSuffix
public boolean isItemContentAfterSuffix() -
getItemPrefixChars
-
isItemTypeMismatchToSubList
public boolean isItemTypeMismatchToSubList() -
isLooseWhenPrevHasTrailingBlankLine
public boolean isLooseWhenPrevHasTrailingBlankLine() -
isLooseWhenLastItemPrevHasTrailingBlankLine
public boolean isLooseWhenLastItemPrevHasTrailingBlankLine() -
isLooseWhenHasNonListChildren
public boolean isLooseWhenHasNonListChildren() -
isLooseWhenHasLooseSubItem
public boolean isLooseWhenHasLooseSubItem() -
isLooseWhenHasTrailingBlankLine
public boolean isLooseWhenHasTrailingBlankLine() -
isLooseWhenContainsBlankLine
public boolean isLooseWhenContainsBlankLine() -
isLooseWhenBlankLineFollowsItemParagraph
public boolean isLooseWhenBlankLineFollowsItemParagraph() -
isOrderedItemDotOnly
public boolean isOrderedItemDotOnly() -
isOrderedListManualStart
public boolean isOrderedListManualStart() -
isNumberedItemMarkerSuffixed
public boolean isNumberedItemMarkerSuffixed() -
getCodeIndent
public int getCodeIndent() -
getItemIndent
public int getItemIndent() -
getNewItemCodeIndent
public int getNewItemCodeIndent() -
getItemMarkerSuffixes
-
equals
-
hashCode
-