Package com.vladsch.flexmark.util.html
Interface HtmlAppendable
-
- All Superinterfaces:
Appendable,Iterable<com.vladsch.flexmark.util.sequence.LineInfo>,com.vladsch.flexmark.util.sequence.LineAppendable
- All Known Implementing Classes:
HtmlAppendableBase,HtmlBuilder
public interface HtmlAppendable extends com.vladsch.flexmark.util.sequence.LineAppendableUsed to help with HTML output generation and formatting of HTML
-
-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull HtmlAppendableattr(@NotNull Attribute... attribute)@NotNull HtmlAppendableattr(@NotNull Attributes attributes)@NotNull HtmlAppendableattr(@NotNull CharSequence attrName, @NotNull CharSequence value)@NotNull HtmlAppendableclosePre()@NotNull HtmlAppendablecloseTag(@NotNull CharSequence tagName)@Nullable AttributesgetAttributes()@NotNull Stack<String>getOpenTags()@NotNull List<String>getOpenTagsAfterLast(@NotNull CharSequence latestTag)booleaninPre()@NotNull HtmlAppendableopenPre()@NotNull HtmlAppendableraw(@NotNull CharSequence s)@NotNull HtmlAppendableraw(@NotNull CharSequence s, int count)@NotNull HtmlAppendablerawIndentedPre(@NotNull CharSequence s)@NotNull HtmlAppendablerawPre(@NotNull CharSequence s)@NotNull HtmlAppendablesetAttributes(@NotNull Attributes attributes)@NotNull HtmlAppendabletag(@NotNull CharSequence tagName)@NotNull HtmlAppendabletag(@NotNull CharSequence tagName, boolean voidElement)@NotNull HtmlAppendabletag(@NotNull CharSequence tagName, boolean withIndent, boolean withLine, @NotNull Runnable runnable)@NotNull HtmlAppendabletag(@NotNull CharSequence tagName, @NotNull Runnable runnable)@NotNull HtmlAppendabletagIndent(@NotNull CharSequence tagName, @NotNull Runnable runnable)@NotNull HtmlAppendabletagLine(@NotNull CharSequence tagName)@NotNull HtmlAppendabletagLine(@NotNull CharSequence tagName, boolean voidElement)@NotNull HtmlAppendabletagLine(@NotNull CharSequence tagName, @NotNull Runnable runnable)@NotNull HtmlAppendabletagLineIndent(@NotNull CharSequence tagName, @NotNull Runnable runnable)@NotNull HtmlAppendabletagVoid(@NotNull CharSequence tagName)@NotNull HtmlAppendabletagVoidLine(@NotNull CharSequence tagName)@NotNull HtmlAppendabletext(@NotNull CharSequence s)@NotNull HtmlAppendablewithAttr()@NotNull HtmlAppendablewithCondIndent()@NotNull HtmlAppendablewithCondLineOnChildText()-
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 Detail
-
getAttributes
@Nullable @Nullable Attributes getAttributes()
-
setAttributes
@NotNull @NotNull HtmlAppendable setAttributes(@NotNull @NotNull Attributes attributes)
-
inPre
boolean inPre()
-
openPre
@NotNull @NotNull HtmlAppendable openPre()
-
closePre
@NotNull @NotNull HtmlAppendable closePre()
-
raw
@NotNull @NotNull HtmlAppendable raw(@NotNull @NotNull CharSequence s)
-
raw
@NotNull @NotNull HtmlAppendable raw(@NotNull @NotNull CharSequence s, int count)
-
rawPre
@NotNull @NotNull HtmlAppendable rawPre(@NotNull @NotNull CharSequence s)
-
rawIndentedPre
@NotNull @NotNull HtmlAppendable rawIndentedPre(@NotNull @NotNull CharSequence s)
-
text
@NotNull @NotNull HtmlAppendable text(@NotNull @NotNull CharSequence s)
-
attr
@NotNull @NotNull HtmlAppendable attr(@NotNull @NotNull CharSequence attrName, @NotNull @NotNull CharSequence value)
-
attr
@NotNull @NotNull HtmlAppendable attr(@NotNull @NotNull Attribute... attribute)
-
attr
@NotNull @NotNull HtmlAppendable attr(@NotNull @NotNull Attributes attributes)
-
withAttr
@NotNull @NotNull HtmlAppendable withAttr()
-
getOpenTagsAfterLast
@NotNull @NotNull List<String> getOpenTagsAfterLast(@NotNull @NotNull CharSequence latestTag)
-
withCondLineOnChildText
@NotNull @NotNull HtmlAppendable withCondLineOnChildText()
-
withCondIndent
@NotNull @NotNull HtmlAppendable withCondIndent()
-
tagVoid
@NotNull @NotNull HtmlAppendable tagVoid(@NotNull @NotNull CharSequence tagName)
-
tag
@NotNull @NotNull HtmlAppendable tag(@NotNull @NotNull CharSequence tagName)
-
tag
@NotNull @NotNull HtmlAppendable tag(@NotNull @NotNull CharSequence tagName, @NotNull @NotNull Runnable runnable)
-
tag
@NotNull @NotNull HtmlAppendable tag(@NotNull @NotNull CharSequence tagName, boolean voidElement)
-
tag
@NotNull @NotNull HtmlAppendable tag(@NotNull @NotNull CharSequence tagName, boolean withIndent, boolean withLine, @NotNull @NotNull Runnable runnable)
-
tagVoidLine
@NotNull @NotNull HtmlAppendable tagVoidLine(@NotNull @NotNull CharSequence tagName)
-
tagLine
@NotNull @NotNull HtmlAppendable tagLine(@NotNull @NotNull CharSequence tagName)
-
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
@NotNull @NotNull HtmlAppendable closeTag(@NotNull @NotNull CharSequence tagName)
-
-