Architecture Diagrams for /vsch/flexmark-java[edit]
Packages / Module flexmark-util / com.vladsch.flexmark.util.sequence / BasedSequence

interface BasedSequence

A CharSequence that references original char sequence with offsets into original preserved. NOTE: '\0' changed to '\uFFFD' use com.vladsch.flexmark.util.sequence.mappers.NullEncoder#decodeNull mapper to get original null chars. Since equals is used for comparison of sequences and strings by base sequence manager, a base sequence with NUL may not compare equal to an equivalent unwrapped sequence because NUL chars are not converted. For Strings this is handled by using String.equals() for comparison. For other CharacterSequence types the match will fail if original has NUL in it. a subSequence() returns a sub-sequence from the original base sequence with corresponding offsets
Class fields and methods
interface BasedSequence
A CharSequence that references original char sequence with offsets into...
class BasedSequence.EmptyBasedSequence
constructor EmptyBasedSequence()
O
method allOptions(options)
O
method anyOptions(options)
O
method baseSubSequence(startIndex,endIndex)
method charAt(index)
O
method getBase()
O
method getBaseSequence()
O
method getEndOffset()
O
method getIndexOffset(index)
method getOption(dataKey)
O
method getOptionFlags()
O
method getOptions()
O
method getSourceRange()
O
method getStartOffset()
method length()
O
method subSequence(i,i1)
A
method addSegments(builder)
A
method baseColumnAtEnd()
A
method baseColumnAtIndex(index)
A
method baseColumnAtStart()
A
method baseEndOfLine()
A
method baseEndOfLine(index)
A
method baseEndOfLineAnyEOL(index)
A
method baseEndOfLineAnyEOL()
A
method baseLineColumnAtEnd()
A
method baseLineColumnAtIndex(index)
A
method baseLineColumnAtStart()
A
method baseLineRangeAtEnd()
A
method baseLineRangeAtIndex(index)
A
method baseLineRangeAtStart()
A
method baseStartOfLine(index)
A
method baseStartOfLine()
A
method baseStartOfLineAnyEOL(index)
A
method baseStartOfLineAnyEOL()
A
method baseSubSequence(startIndex,endIndex)
A
method baseSubSequence(startIndex)
A
method containsAllOf(other)
A
method containsSomeOf(other)
A
method extendByAny(charSet,maxCount)
A
method extendByAny(charSet)
A
method extendByOneOfAny(charSet)
A
method extendToAny(charSet,maxCount)
A
method extendToAny(charSet)
A
method extendToEndOfLine()
A
method extendToEndOfLine(eolChars,includeEol)
A
method extendToEndOfLine(eolChars)
A
method extendToEndOfLine(includeEol)
A
method extendToStartOfLine(eolChars,includeEol)
A
method extendToStartOfLine(includeEol)
A
method extendToStartOfLine(eolChars)
A
method extendToStartOfLine()
A
method getBase()
A
method getBaseSequence()
OA
method getBuilder()
A
method getEmptyPrefix()
A
method getEmptySuffix()
A
method getEndOffset()
A
method getIndexOffset(index)
A
method getSegmentTree()
A
method getSourceRange()
A
method getStartOffset()
A
method getTrackedIndex()
A
method getTrackedOffset(startOffset,maxOffset)
A
method intersect(other)
A
method isBaseCharAt(index,predicate)
A
method isContinuationOf(other)
A
method isContinuedBy(other)
A
method normalizeEOL(textMapper)
A
method normalizeEndWithEOL(textMapper)
S
method of(charSequence,startIndex,endIndex)
S
method of(charSequence)
S
method of(charSequence,startIndex)
S
method ofSpaces(count)
A
method prefixOf(other)
A
method prefixWithIndent(maxColumns)
A
method prefixWithIndent()
S
method repeatOf(chars,count)
S
method repeatOf(chars,startIndex,endIndex)
S
method repeatOf(c,count)
A
method safeBaseCharAt(index)
A
method spliceAtEnd(other)
OA
method subSequence(startIndex,endIndex)
A
method suffixOf(other)
A
method trackIndex(index,positionAnchor)
A
method unescape()
A
method unescape(textMapper)
A
method unescapeNoEntities()
Add segments for this sequence, replacing out of base characters with s...
Get a portion of this sequence's base sequence <p> NOTE: this means tha...
Get a portion of the original sequence that this sequence is based on
start/end offset based containment, not textual
start/end offset based containment, not textual
Extend this based sequence to include characters from underlying based ...
Extend this based sequence to include up to the next character from und...
Extend in contained based sequence
Extend in contained based sequence
Get the underlying object on which this sequence contents are based
Get the base sequence for the text
Get empty prefix to this sequence
Get empty suffix to this sequence
Get the end offset of this sequence into {@link #getBaseSequence()} and...
Get the offset of index in this sequence mapped to offset into {@link #...
Get the segment tree for this sequence
Get the range of this sequence in original {@link #getBaseSequence()} a...
Get the start offset of this sequence into {@link #getBaseSequence()} a...
Get the tracked index after editing and chopping manipulation of an off...
Get tracked offset computed from the tracked index if this sequence is ...
start/end offset based intersection, not textual
Safe, if index out of range but based sequence has characters will retu...
Test if this sequence is a continuation of the given sequence in origin...
Test if the given sequence is a continuation of this sequence in origin...
replace any \r\n and \r by \n
replace any \r\n and \r by \n, append terminating EOL if one is not pre...
Get the prefix part of this from other, start/end offset based containm...
Extend this based sequence to include characters from underlying based ...
Safe, if index out of range but based sequence has characters will retu...
Splice the given sequence to the end of this one and return a BasedSequ...
Get a portion of this sequence
Get the suffix part of this from other, start/end offset based containm...
Track given index in this sequence with respect to base offset
Get the unescaped string of this sequence content
Get the unescaped string of this sequence content
Get the unescaped string of this sequence content without unescaping en...