Class TocOptions.AsMutable
- java.lang.Object
-
- com.vladsch.flexmark.ext.toc.internal.TocOptions.AsMutable
-
- All Implemented Interfaces:
MutableDataSetter,Mutable<TocOptions.AsMutable,TocOptions>
- Enclosing class:
- TocOptions
public static class TocOptions.AsMutable extends java.lang.Object implements Mutable<TocOptions.AsMutable,TocOptions>, MutableDataSetter
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringdivClassbooleanisAstAddOptionsbooleanisBlankLineSpacerbooleanisCaseSensitiveTocTagbooleanisHtmlbooleanisNumberedbooleanisTextOnlyintlevelsjava.lang.StringlistClassTocOptions.ListTypelistTypejava.lang.StringtitleinttitleLevel
-
Constructor Summary
Constructors Modifier Constructor Description protectedAsMutable(TocOptions other)protectedAsMutable(TocOptions.AsMutable other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()TocOptions.AsMutablenormalizeTitle()Used to normalize title and titleLevel after changing titleRaw or rawTitle@NotNull MutableDataHoldersetIn(@NotNull MutableDataHolder dataHolder)TocOptions.AsMutablesetLevelList(int... levelList)TocOptionstoImmutable()java.lang.StringtoString()
-
-
-
Field Detail
-
levels
public int levels
-
isTextOnly
public boolean isTextOnly
-
isNumbered
public boolean isNumbered
-
listType
public TocOptions.ListType listType
-
isHtml
public boolean isHtml
-
titleLevel
public int titleLevel
-
title
public java.lang.String title
-
isAstAddOptions
public boolean isAstAddOptions
-
isBlankLineSpacer
public boolean isBlankLineSpacer
-
divClass
public java.lang.String divClass
-
listClass
public java.lang.String listClass
-
isCaseSensitiveTocTag
public boolean isCaseSensitiveTocTag
-
-
Constructor Detail
-
AsMutable
protected AsMutable(TocOptions other)
-
AsMutable
protected AsMutable(TocOptions.AsMutable other)
-
-
Method Detail
-
toImmutable
public TocOptions toImmutable()
- Specified by:
toImmutablein interfaceMutable<TocOptions.AsMutable,TocOptions>
-
normalizeTitle
public TocOptions.AsMutable normalizeTitle()
Used to normalize title and titleLevel after changing titleRaw or rawTitle
-
setIn
@NotNull public @NotNull MutableDataHolder setIn(@NotNull @NotNull MutableDataHolder dataHolder)
- Specified by:
setInin interfaceMutableDataSetter
-
setLevelList
public TocOptions.AsMutable setLevelList(int... levelList)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-