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.String
divClass
boolean
isAstAddOptions
boolean
isBlankLineSpacer
boolean
isCaseSensitiveTocTag
boolean
isHtml
boolean
isNumbered
boolean
isTextOnly
int
levels
java.lang.String
listClass
TocOptions.ListType
listType
java.lang.String
title
int
titleLevel
-
Constructor Summary
Constructors Modifier Constructor Description protected
AsMutable(TocOptions other)
protected
AsMutable(TocOptions.AsMutable other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
TocOptions.AsMutable
normalizeTitle()
Used to normalize title and titleLevel after changing titleRaw or rawTitleMutableDataHolder
setIn(MutableDataHolder dataHolder)
TocOptions.AsMutable
setLevelList(int... levelList)
TocOptions
toImmutable()
java.lang.String
toString()
-
-
-
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:
toImmutable
in interfaceMutable<TocOptions.AsMutable,TocOptions>
-
normalizeTitle
public TocOptions.AsMutable normalizeTitle()
Used to normalize title and titleLevel after changing titleRaw or rawTitle
-
setIn
@NotNull public MutableDataHolder setIn(@NotNull MutableDataHolder dataHolder)
- Specified by:
setIn
in interfaceMutableDataSetter
-
setLevelList
public TocOptions.AsMutable setLevelList(int... levelList)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-