Package com.vladsch.flexmark.util.html
Interface HtmlAppendable
- All Superinterfaces:
Appendable
,Iterable<LineInfo>
,LineAppendable
- All Known Implementing Classes:
HtmlAppendableBase
,HtmlBuilder
,HtmlWriter
Used to help with HTML output generation and formatting of HTML
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vladsch.flexmark.util.sequence.LineAppendable
LineAppendable.Options
-
Field Summary
Fields inherited from interface com.vladsch.flexmark.util.sequence.LineAppendable
ALLOW_LEADING_EOL, ALLOW_LEADING_WHITESPACE, COLLAPSE_WHITESPACE, CONVERT_TABS, F_COLLAPSE_WHITESPACE, F_CONVERT_TABS, F_FORMAT_ALL, F_PASS_THROUGH, F_PREFIX_PRE_FORMATTED, F_TRIM_LEADING_EOL, F_TRIM_LEADING_WHITESPACE, F_TRIM_TRAILING_WHITESPACE, F_WHITESPACE_REMOVAL, FORMAT_ALL, O_COLLAPSE_WHITESPACE, O_CONVERT_TABS, O_FORMAT_ALL, O_PASS_THROUGH, O_PREFIX_PRE_FORMATTED, O_TRIM_LEADING_EOL, O_TRIM_LEADING_WHITESPACE, O_TRIM_TRAILING_WHITESPACE, PASS_THROUGH, PREFIX_PRE_FORMATTED, TRIM_LEADING_WHITESPACE, TRIM_TRAILING_WHITESPACE
-
Method Summary
Modifier and TypeMethodDescription@NotNull HtmlAppendable
@NotNull HtmlAppendable
attr
(@NotNull Attributes attributes) @NotNull HtmlAppendable
attr
(@NotNull CharSequence attrName, @NotNull CharSequence value) @NotNull HtmlAppendable
closePre()
@NotNull HtmlAppendable
closeTag
(@NotNull CharSequence tagName) @Nullable Attributes
getOpenTagsAfterLast
(@NotNull CharSequence latestTag) boolean
inPre()
@NotNull HtmlAppendable
openPre()
@NotNull HtmlAppendable
raw
(@NotNull CharSequence s) @NotNull HtmlAppendable
raw
(@NotNull CharSequence s, int count) @NotNull HtmlAppendable
rawIndentedPre
(@NotNull CharSequence s) @NotNull HtmlAppendable
rawPre
(@NotNull CharSequence s) @NotNull HtmlAppendable
setAttributes
(@NotNull Attributes attributes) @NotNull HtmlAppendable
tag
(@NotNull CharSequence tagName) @NotNull HtmlAppendable
tag
(@NotNull CharSequence tagName, boolean voidElement) @NotNull HtmlAppendable
tag
(@NotNull CharSequence tagName, boolean withIndent, boolean withLine, @NotNull Runnable runnable) @NotNull HtmlAppendable
tag
(@NotNull CharSequence tagName, @NotNull Runnable runnable) @NotNull HtmlAppendable
tagIndent
(@NotNull CharSequence tagName, @NotNull Runnable runnable) @NotNull HtmlAppendable
tagLine
(@NotNull CharSequence tagName) @NotNull HtmlAppendable
tagLine
(@NotNull CharSequence tagName, boolean voidElement) @NotNull HtmlAppendable
tagLine
(@NotNull CharSequence tagName, @NotNull Runnable runnable) @NotNull HtmlAppendable
tagLineIndent
(@NotNull CharSequence tagName, @NotNull Runnable runnable) @NotNull HtmlAppendable
tagVoid
(@NotNull CharSequence tagName) @NotNull HtmlAppendable
tagVoidLine
(@NotNull CharSequence tagName) @NotNull HtmlAppendable
text
(@NotNull CharSequence s) @NotNull HtmlAppendable
withAttr()
@NotNull HtmlAppendable
@NotNull HtmlAppendable
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.vladsch.flexmark.util.sequence.LineAppendable
addIndentOnFirstEOL, addOptions, addPrefix, addPrefix, append, append, append, append, append, append, append, appendAll, appendTo, appendTo, appendTo, appendTo, appendTo, appendToSilently, appendToSilently, appendToSilently, appendToSilently, blankLine, blankLine, blankLineIf, changeOptions, clearLineOnFirstText, closePreFormatted, column, copyAppendable, copyAppendable, copyAppendable, copyAppendable, copyAppendable, endsWithEOL, get, getAfterEolPrefixDelta, getBeforeEolPrefix, getBuilder, getEmptyAppendable, getIndentPrefix, getLine, getLineContent, getLineCount, getLineCountWithPending, getLineInfo, getLinePrefix, getLines, getLines, getLines, getLines, getLines, getLinesInfo, getLinesInfo, getLinesInfo, getOptions, getOptionSet, getPendingEOL, getPendingSpace, getPrefix, getTrailingBlankLines, getTrailingBlankLines, indent, insertLine, isEmpty, isNotEmpty, isPendingSpace, isPreFormatted, iterator, line, lineIf, lineOnFirstText, lineWithTrailingSpaces, noPreserveSpaces, noTrimLeading, offset, offsetWithPending, openPreFormatted, popOptions, popPrefix, popPrefix, preserveSpaces, pushOptions, pushPrefix, removeExtraBlankLines, removeExtraBlankLines, removeIndentOnFirstEOL, removeLines, removeOptions, setIndentPrefix, setLine, setLineOnFirstText, setOptions, setOptions, setOptions, setPrefix, setPrefix, setPrefixLength, toSequence, toSequence, toSequence, toSequence, toSequence, toString, toString, toString, toString, toString, trimLeading, unIndent, unIndentNoEol
-
Method Details
-
getAttributes
-
setAttributes
-
inPre
boolean inPre() -
openPre
-
closePre
-
raw
-
raw
-
rawPre
-
rawIndentedPre
-
text
-
attr
@NotNull @NotNull HtmlAppendable attr(@NotNull @NotNull CharSequence attrName, @NotNull @NotNull CharSequence value) -
attr
-
attr
-
withAttr
-
getOpenTags
-
getOpenTagsAfterLast
-
withCondLineOnChildText
-
withCondIndent
-
tagVoid
-
tag
-
tag
@NotNull @NotNull HtmlAppendable tag(@NotNull @NotNull CharSequence tagName, @NotNull @NotNull Runnable runnable) -
tag
-
tag
@NotNull @NotNull HtmlAppendable tag(@NotNull @NotNull CharSequence tagName, boolean withIndent, boolean withLine, @NotNull @NotNull Runnable runnable) -
tagVoidLine
-
tagLine
-
tagLine
@NotNull @NotNull HtmlAppendable tagLine(@NotNull @NotNull CharSequence tagName, boolean voidElement) -
tagLine
@NotNull @NotNull HtmlAppendable tagLine(@NotNull @NotNull CharSequence tagName, @NotNull @NotNull Runnable runnable) -
tagIndent
@NotNull @NotNull HtmlAppendable tagIndent(@NotNull @NotNull CharSequence tagName, @NotNull @NotNull Runnable runnable) -
tagLineIndent
@NotNull @NotNull HtmlAppendable tagLineIndent(@NotNull @NotNull CharSequence tagName, @NotNull @NotNull Runnable runnable) -
closeTag
-