Top Deprecated By Reference
flexmark-all 0.64.8

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
com.vladsch.flexmark.ast.util.Parsing.ADDITIONAL_CHARS()

in version (0.62.2), to be removed

com.vladsch.flexmark.ast.util.Parsing.ADDITIONAL_CHARS_SET(String quantifier)

in version (0.62.2), to be removed

Returns:

new list options
com.vladsch.flexmark.parser.ListOptions.getFrom
(DataHolder
options
options
)

use get()

Returns:

spec test special chars converted to visible
com.vladsch.flexmark.test.util.TestUtils.showTabs
(String
text to convert to visible chars
s
)

use toVisibleSpecText(String)

Returns:

spec test special visible chars converted to normal
com.vladsch.flexmark.test.util.TestUtils.unShowTabs
(String
text to convert to from visible chars to normal
s
)

use fromVisibleSpecText(String)

Returns:

return stored value or newly created value
com.vladsch.flexmark.util.builder.BuilderBase.get
(@NotNull DataKey<V>
data key
key
)

use key.get(dataHolder) instead, which will do the same thing an carries nullable information for the data

Returns:

Use key.get(dataHolder) instead
com.vladsch.flexmark.util.data.DataHolder.get
(@NotNull DataKey<T>
data key
key
)

Returns:

return default value if holder is null, current value in holder or compute a new value
com.vladsch.flexmark.util.data.DataKeyBase.getFrom
(@Nullable DataHolder
data holder
holder
)

use get

Returns:

return stored value or newly created value
com.vladsch.flexmark.util.data.MutableDataHolder.get
(@NotNull DataKey<T>
data key
key
)

use key.get(dataHolder) instead, which will do the same thing an carries nullable information for the data

com.vladsch.flexmark.util.dependency.DependencyHandler<D extends Dependent, S, R extends ResolvedDependencies<S>>

use DependencyResolver instead

com.vladsch.flexmark.util.format.MarkdownTable.addTrackedOffset(int offset, boolean afterSpace)

Use addTrackedOffset(TrackedOffset) To create: TrackedOffset.track(offset, afterSpace)

com.vladsch.flexmark.util.format.MarkdownTable.addTrackedOffset(int offset, boolean afterSpace, boolean afterDelete)

Use addTrackedOffset(TrackedOffset) To create: TrackedOffset.track(offset, afterSpace, afterDelete)

com.vladsch.flexmark.util.format.MarkdownTable.addTrackedOffset(int offset, Character c, boolean afterDelete)

Use addTrackedOffset(TrackedOffset) To create: TrackedOffset.track(offset, c, afterDelete)

Returns:

true if any field values were modified
com.vladsch.flexmark.util.misc.BitFieldSet.replaceAll
(long
bit fields values
mask
)

use setAll(long)

Returns:

CharSubSequence based sequence of array
com.vladsch.flexmark.util.sequence.CharSubSequence.of
(char[]
char array
chars
,
int
start index in array
startIndex
,
int
end index in array
endIndex
)

NOTE: use BasedSequence.of() for creating based sequences

Returns:

leading count
com.vladsch.flexmark.util.sequence.IRichSequence.countLeading
(char
char
c
)

consider using built-in sets of characters, ..._SET, or Use CharPredicate.anyOf(...)

Returns:

resulting sequence
com.vladsch.flexmark.util.sequence.IRichSequence.insert
(@NotNull CharSequence
chars
chars
,
int
index of insertion
index
)

use insert(int, CharSequence) instead

com.vladsch.flexmark.util.sequence.IRichSequence.split(char delimiter, int limit, int flags)

com.vladsch.flexmark.util.sequence.LineAppendable.ALLOW_LEADING_EOL

ALLOW_LEADING_EOL is now inverted and named F_TRIM_LEADING_EOL

com.vladsch.flexmark.util.sequence.LineAppendable.ALLOW_LEADING_WHITESPACE

ALLOW_LEADING_WHITESPACE is now inverted and named F_TRIM_LEADING_WHITESPACE

Returns:

resulting based subsequence
com.vladsch.flexmark.util.sequence.Range.subSequence
(@NotNull CharSequence
char sequence from which to extract the range
charSequence
)

use basedSubSequence(CharSequence) instead

com.vladsch.flexmark.util.sequence.RichSequenceImpl.of(CharSequence charSequence, int startIndex, int endIndex)

Returns:

based sequence of segments. Result is a sequence which looks like all the segments were concatenated, while still maintaining the original offset for each character when using getIndexOffset(int)(int index)
com.vladsch.flexmark.util.sequence.SegmentedSequence.of
(BasedSequence
base sequence for the segments
basedSequence
,
@NotNull Iterable<? extends BasedSequence>
list of based sequences to put into a based sequence
segments
)

use BasedSequence#getBuilder() and then SequenceBuilder#addAll(Iterable) or if you know which are based segments vs. out of base Strings then use BasedSegmentBuilder to construct segments directly. If you absolutely need to use the old method then use SegmentedSequence#create(BasedSequence, Iterable)

Returns:

based sequence of segments. Result is a sequence which looks like all the segments were concatenated, while still maintaining the original offset for each character when using getIndexOffset(int)(int index)
com.vladsch.flexmark.util.sequence.SegmentedSequenceFull.of
(BasedSequence
base sequence for the segments
basedSequence
,
@NotNull Iterable<? extends BasedSequence>
list of based sequences to put into a based sequence
segments
)

use BasedSequence#getBuilder() and then SequenceBuilder#addAll(Iterable) or if you know which are based segments vs. out of base Strings then use BasedSegmentBuilder to construct segments directly. If you must use segments then use SegmentedSequence#create(BasedSequence, Iterable) which does the builder calls for you.

com.vladsch.flexmark.util.sequence.SubSequence.of(@Nullable CharSequence charSequence, int startIndex, int endIndex)

com.vladsch.flexmark.util.sequence.builder.tree.SegmentOffsetTree.addSegments(@NotNull IBasedSegmentBuilder<?> builder, int startIndex, int endIndex, int startOffset, int endOffset, int startPos, int endPos)

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description
com.vladsch.flexmark.util.dependency.FlatDependencyHandler.createResolvedDependencies(List<FlatDependencyStage<T>> stages)

FlatDependencies is deprecated or references (maybe indirectly) at least one deprecated element.

com.vladsch.flexmark.util.dependency.FlatDependencyHandler.createStage(List<T> dependents)

FlatDependencyStage is deprecated or references (maybe indirectly) at least one deprecated element.