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

interface LineAppendable

Used to collect line text for further processing control output of new lines limiting them to terminate text but not create blank lines, and control number of blank lines output, eliminate spaces before and after an \n, except in prefixes and indents controlled by this class. allows appending unmodified text in preformatted regions created by #openPreFormatted(boolean) and #closePreFormatted() consecutive \n in the data are going go be collapsed to a single \n. To get blank lines use #blankLine() or #blankLine(int) tab is converted to spaces if #F_CONVERT_TABS or #F_COLLAPSE_WHITESPACE option is selected spaces before and after \n are removed controlled by #F_TRIM_TRAILING_WHITESPACE and #F_TRIM_LEADING_WHITESPACE use #line() , #lineIf(boolean) , #blankLine() as an alternative to appending \n.use #blankLineIf(boolean) and #blankLine(int) for appending blank lines.
Class fields and methods
interface LineAppendable
Used to collect line text for further processing control output of new ...
A
method addIndentOnFirstEOL(listener)
method addOptions(flags)
method addPrefix(prefix)
A
method addPrefix(prefix,afterEol)
A
method append(c)
A
method append(c,count)
method append(lineAppendable)
A
method append(csq)
A
method append(csq,start,end)
method append(lineAppendable,withPrefixes)
A
method append(lineAppendable,startLine,endLine,withPrefixes)
method appendAll(sequences)
method appendTo(out,maxBlankLines,maxTrailingBlankLines,startLine,endLine)
A
method appendTo(out,withPrefixes,maxBlankLines,maxTrailingBlankLines,startLine,endLine)
method appendTo(out,maxBlankLines,maxTrailingBlankLines)
method appendTo(out,maxTrailingBlankLines)
method appendTo(out)
method appendToSilently(out,maxBlankLines,maxTrailingBlankLines,startLine,endLine)
method appendToSilently(out)
method appendToSilently(out,withPrefixes,maxBlankLines,maxTrailingBlankLines,startLine,endLine)
method appendToSilently(out,maxBlankLines,maxTrailingBlankLines)
A
method blankLine(count)
A
method blankLine()
A
method blankLineIf(predicate)
A
method changeOptions(addFlags,removeFlags)
method clearLineOnFirstText()
A
method closePreFormatted()
A
method column()
S
method combinedPrefix(prefix,suffix)
method copyAppendable(startLine,endLine)
method copyAppendable(withPrefixes)
method copyAppendable(startLine)
method copyAppendable(startLine,endLine,withPrefixes)
method copyAppendable()
A
method endsWithEOL()
method get(lineIndex)
A
method getAfterEolPrefixDelta()
A
method getBeforeEolPrefix()
A
method getBuilder()
A
method getEmptyAppendable()
A
method getIndentPrefix()
A
method getLine(lineIndex)
method getLineContent(lineIndex)
A
method getLineCount()
A
method getLineCountWithPending()
A
method getLineInfo(lineIndex)
method getLinePrefix(lineIndex)
A
method getLines(maxTrailingBlankLines,startLine,endLine,withPrefixes)
method getLines(maxTrailingBlankLines)
method getLines(withPrefixes)
method getLines()
method getLines(maxTrailingBlankLines,withPrefixes)
A
method getLinesInfo(maxTrailingBlankLines,startLine,endLine)
method getLinesInfo(maxTrailingBlankLines)
method getLinesInfo()
A
method getOptionSet()
method getOptions()
A
method getPendingEOL()
A
method getPendingSpace()
A
method getPrefix()
A
method getTrailingBlankLines(endLine)
method getTrailingBlankLines()
A
method indent()
A
method insertLine(lineIndex,prefix,text)
method isEmpty()
method isNotEmpty()
A
method isPendingSpace()
A
method isPreFormatted()
OA
method iterator()
A
method line()
A
method lineIf(predicate)
A
method lineOnFirstText(value)
A
method lineWithTrailingSpaces(count)
method noPreserveSpaces()
method noTrimLeading()
A
method offset()
A
method offsetWithPending()
A
method openPreFormatted(addPrefixToFirstLine)
A
method popOptions()
A
method popPrefix(afterEol)
method popPrefix()
method preserveSpaces()
A
method pushOptions()
A
method pushPrefix()
method removeExtraBlankLines(maxBlankLines,maxTrailingBlankLines)
A
method removeExtraBlankLines(maxBlankLines,maxTrailingBlankLines,startLine,endLine)
A
method removeIndentOnFirstEOL(listener)
A
method removeLines(startLine,endLine)
method removeOptions(flags)
A
method setIndentPrefix(prefix)
A
method setLine(lineIndex,prefix,text)
method setLineOnFirstText()
method setOptions(options)
method setOptions(flags)
method setOptions(options)
A
method setPrefix(prefix,afterEol)
method setPrefix(prefix)
A
method setPrefixLength(lineIndex,prefixLength)
S
method toOptionSet(options)
S
method toOptionSet(options)
method toSequence(withPrefixes)
A
method toSequence(maxBlankLines,maxTrailingBlankLines,withPrefixes)
method toSequence()
method toSequence(maxBlankLines,withPrefixes)
method toSequence(maxBlankLines,maxTrailingBlankLines)
method toString(maxBlankLines,withPrefixes)
method toString(maxBlankLines,maxTrailingBlankLines)
A
method toString(maxBlankLines,maxTrailingBlankLines,withPrefixes)
method toString(maxBlankLines)
method toString(withPrefixes)
method trimLeading()
A
method unIndent()
A
method unIndentNoEol()
Add an indent on first EOL appended and run runnable
Add to prefix appended after a new line character for every line and af...
Add to prefix appended after a new line character for every line and af...
Append lines from another line formatting appendable. <p> NOTE: does no...
Append lines from another line formatting appendable. <p> NOTE: does no...
Append lines from another line formatting appendable. <p> NOTE: does no...
append lines to appendable with given maximum trailing blank lines and ...
append lines to appendable with given maximum trailing blank lines
append lines to appendable with 0 blank lines, if these are desired at ...
Add a blank lines, if there isn't already given number of blank lines a...
Add a blank line, if there is not one already appended.
Add a blank line, if predicate is true and there isn't already blank li...
Close preformatted section and suspend content modification
Get column offset after last append
Make a copy of this appendable with the given line range
Kotlin index operator
Get pending prefix after EOL
Get prefix used before EOL
Get builder used for accumulation
Get prefix appended after a new line character for every indent level
Get Line at given line index <p> NOTE: if there is an unterminated line...
Get Line content of given line
Get the number of lines appended, not including any unterminated ones
Get the number of lines appended, including any unterminated ones <p> N...
Get Line information at given line index <p> NOTE: if there is an unter...
Get prefix of given line
Full line iterator over some lines <p> NOTE: will issue line() to termi...
Full line iterator with line info <p> NOTE: will issue line() to termin...
Get current options as set which can be used to modify options
Get current options as bit mask flags
Get number of EOLs at end of appendable, this is actually number of tai...
Get number of spaces at end of pending text
Get prefix being applied to all lines, even in pre-formatted sections T...
Get trailing blank line count ending on given line
Increase the indent level, will terminate the current line if there is ...
Insert a line at the index with given content and prefix for a line
Kotlin compatibility
Kotlin compatibility
Test if trailing text ends in space or tab
Full line iterator NOTE: will not issue line() to terminate any untermi...
Add a new line if there was any unterminated text appended or if this i...
Add a new line, if predicate is true and line() would add an EOL.
Add a new line, keep trailing spaces if there was any unterminated text...
Get text offset of all output lines, excluding any text for the last li...
Get offset after last append as if EOL was added but without the EOL it...
Open preformatted section and suspend content modification
Pop a prefix from the stack and set the current prefix
Pop a prefix from the stack and set the current prefix
Save the current prefix on the stack
Normalize the appendable by removing extra blank lines in the body or a...
Remove runnable, has no effect if EOL was already appended and runnable...
Set prefix to append after a new line character for every indent level
Set content and prefix for a line
Set options on processing text
Set options on processing text
Set prefix appended after a new line character for every line and after...
Set prefix appended after a new line character for every line and after...
Change prefix length for a given line without changing the line content
get the resulting text for all lines
get the resulting text for all lines
get the resulting text for all lines
Decrease the indent level, min level is 0, will terminate the current l...
Decrease the indent level, if there is unterminated text then unindente...