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