| Package | Description |
|---|---|
| com.vladsch.flexmark.util.format | |
| com.vladsch.flexmark.util.html |
| Modifier and Type | Method and Description |
|---|---|
void |
Table.appendTable(FormattingAppendable out) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
HtmlFormattingAppendable
Used to help with HTML output generation and formatting of HTML
|
| Modifier and Type | Class and Description |
|---|---|
class |
FormattingAppendableImpl |
class |
HtmlFormattingAppendableBase<T extends HtmlFormattingAppendableBase> |
| Modifier and Type | Method and Description |
|---|---|
FormattingAppendable |
FormattingAppendable.addAfterEolRunnable(int atPendingEOL,
Runnable runnable)
Add runnable to run after the given pending EOL is output to the stream.
|
FormattingAppendable |
FormattingAppendableImpl.addLine() |
FormattingAppendable |
FormattingAppendable.addLine()
Add a new line or blank lines as needed.
|
FormattingAppendable |
FormattingAppendableImpl.addPrefix(CharSequence prefix) |
FormattingAppendable |
FormattingAppendable.addPrefix(CharSequence prefix)
Set prefix to append after a new line character for every line before the indent prefix in normal
and after a new line in pre-formatted sections
This appends the sequence to current prefix
|
FormattingAppendable |
FormattingAppendableImpl.append(char c) |
FormattingAppendable |
FormattingAppendable.append(char c) |
FormattingAppendable |
FormattingAppendableImpl.append(CharSequence csq) |
FormattingAppendable |
FormattingAppendable.append(CharSequence csq) |
FormattingAppendable |
FormattingAppendableImpl.append(CharSequence csq,
int start,
int end) |
FormattingAppendable |
FormattingAppendable.append(CharSequence csq,
int start,
int end) |
FormattingAppendable |
FormattingAppendableImpl.blankLine() |
FormattingAppendable |
FormattingAppendable.blankLine()
Add a blank line, if there is not one already appended.
|
FormattingAppendable |
FormattingAppendableImpl.blankLine(int count) |
FormattingAppendable |
FormattingAppendable.blankLine(int count)
Add a blank lines, if there isn't already given number of blank lines appended.
|
FormattingAppendable |
FormattingAppendableImpl.blankLineIf(boolean predicate) |
FormattingAppendable |
FormattingAppendable.blankLineIf(boolean predicate)
Add a blank line, if predicate is true and there isn't already blank lines appended.
|
FormattingAppendable |
FormattingAppendableImpl.closeConditional(ConditionalFormatter closeFormatter) |
FormattingAppendable |
FormattingAppendable.closeConditional(ConditionalFormatter closeFormatter)
Close a conditional formatting region.
|
FormattingAppendable |
FormattingAppendableImpl.closePreFormatted() |
FormattingAppendable |
FormattingAppendable.closePreFormatted()
Close a pre-formatted section.
|
FormattingAppendable |
FormattingAppendableImpl.flush() |
FormattingAppendable |
FormattingAppendable.flush()
Flush all pending new lines, no blank lines will be output, if these are desired at the end of the output.
|
FormattingAppendable |
FormattingAppendableImpl.flush(int maxBlankLines) |
FormattingAppendable |
FormattingAppendable.flush(int maxBlankLines)
Flush all pending new lines and blank lines, if these are desired at the end of the output.
|
FormattingAppendable |
FormattingAppendableImpl.flushWhitespaces() |
FormattingAppendable |
FormattingAppendable.flushWhitespaces()
Flush all pending whitespaces
|
FormattingAppendable |
FormattingAppendableImpl.indent() |
FormattingAppendable |
FormattingAppendable.indent()
Increase the indent level, will terminate the current line if there is unterminated text
|
FormattingAppendable |
FormattingAppendableImpl.lastOffset(Ref<Integer> refOffset) |
FormattingAppendable |
FormattingAppendable.lastOffset(Ref<Integer> refOffset)
Get offset before the next append, but right after pending: EOLs, spaces or indents were added
Next append of text (non EOL/spaces) will set the reference, following appends will have not effect
Unlike
lastOffset() flush() does not change the value of the reference, only actual character appending. |
FormattingAppendable |
FormattingAppendableImpl.line() |
FormattingAppendable |
FormattingAppendable.line()
Add a new line, if there was any unterminated text appended
|
FormattingAppendable |
FormattingAppendableImpl.line(Ref<Boolean> lineRef) |
FormattingAppendable |
FormattingAppendable.line(Ref<Boolean> lineRef)
Add a new line, if there was any unterminated text appended
|
FormattingAppendable |
FormattingAppendableImpl.lineIf(boolean predicate) |
FormattingAppendable |
FormattingAppendable.lineIf(boolean predicate)
Add a new line, if predicate is true and there was any unterminated text appended
|
FormattingAppendable |
FormattingAppendableImpl.lineIf(Ref<Boolean> lineRef) |
FormattingAppendable |
FormattingAppendable.lineIf(Ref<Boolean> lineRef)
Add a new line, if lineRef is true, if false means that the new line in
line(Ref) was suppressed
by conditionalFormatter and this new line will be suppressed too. |
FormattingAppendable |
FormattingAppendableImpl.openConditional(ConditionalFormatter openFormatter) |
FormattingAppendable |
FormattingAppendable.openConditional(ConditionalFormatter openFormatter)
Open a conditional formatting region.
|
FormattingAppendable |
FormattingAppendableImpl.openPreFormatted(boolean keepIndent) |
FormattingAppendable |
FormattingAppendable.openPreFormatted(boolean keepIndent)
Open a pre-formatted section.
|
FormattingAppendable |
FormattingAppendableImpl.popPrefix() |
FormattingAppendable |
FormattingAppendable.popPrefix()
Pop a prefix from the stack and set the current prefix
|
FormattingAppendable |
FormattingAppendableImpl.pushPrefix() |
FormattingAppendable |
FormattingAppendable.pushPrefix()
Save the current prefix on the stack
|
FormattingAppendable |
FormattingAppendableImpl.repeat(char c,
int count) |
FormattingAppendable |
FormattingAppendable.repeat(char c,
int count) |
FormattingAppendable |
FormattingAppendableImpl.repeat(CharSequence csq,
int count) |
FormattingAppendable |
FormattingAppendable.repeat(CharSequence csq,
int count) |
FormattingAppendable |
FormattingAppendableImpl.repeat(CharSequence csq,
int start,
int end,
int count) |
FormattingAppendable |
FormattingAppendable.repeat(CharSequence csq,
int start,
int end,
int count) |
FormattingAppendable |
FormattingAppendableImpl.setIndentOffset(int indentOffset) |
FormattingAppendable |
FormattingAppendable.setIndentOffset(int indentOffset)
Set the current indent level.
|
FormattingAppendable |
FormattingAppendableImpl.setIndentPrefix(CharSequence prefix) |
FormattingAppendable |
FormattingAppendable.setIndentPrefix(CharSequence prefix)
Set prefix to append after a new line character for every indent level
|
FormattingAppendable |
FormattingAppendableImpl.setOptions(int options) |
FormattingAppendable |
FormattingAppendable.setOptions(int options)
Set options on processing text
|
FormattingAppendable |
FormattingAppendableImpl.setPrefix(CharSequence prefix) |
FormattingAppendable |
FormattingAppendable.setPrefix(CharSequence prefix)
Set prefix to append after a new line character for every line before the indent prefix in normal
and after a new line in pre-formatted sections
if PREFIX_AFTER_PENDING_EOL is enabled then prefix will take effect after pending EOLs are output
|
FormattingAppendable |
FormattingAppendableImpl.unIndent() |
FormattingAppendable |
FormattingAppendable.unIndent()
Decrease the indent level, min level is 0, will terminate the current line if there is unterminated text
|
FormattingAppendable |
FormattingAppendableImpl.willIndent() |
FormattingAppendable |
FormattingAppendable.willIndent()
Notify of the fact that after some appending some text, there will be an indent() call so that
conditional formatting can kick in before the text is appended
|
| Constructor and Description |
|---|
HtmlFormattingAppendableBase(FormattingAppendable other,
Appendable out,
boolean inheritIndent) |
Copyright © 2018. All rights reserved.