public class HtmlBuilder extends HtmlAppendableBase<HtmlBuilder>
| Modifier and Type | Field and Description |
|---|---|
static HashMap<Class,HtmlStyler> |
stylerMap |
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| Constructor and Description |
|---|
HtmlBuilder() |
HtmlBuilder(int indentSize,
int formatOptions) |
addIndentOnFirstEOL, addPrefix, addPrefix, append, append, appendTo, blankLine, blankLine, blankLineIf, changeOptions, closePre, closePreFormatted, closeTag, column, endsWithEOL, getAfterEolPrefixDelta, getAttributes, getBeforeEolPrefix, getBuilder, getEmptyAppendable, getIndentPrefix, getLine, getLineCount, getLineCountWithPending, getLineInfo, getLines, getLinesInfo, getOpenTags, getOpenTagsAfterLast, getOpenTagText, getOptions, getOptionSet, getPendingEOL, getPendingSpace, getPrefix, getTrailingBlankLines, indent, inPre, insertLine, isPendingSpace, isPreFormatted, isSuppressCloseTagLine, isSuppressOpenTagLine, iterator, line, lineIf, lineOnFirstText, lineWithTrailingSpaces, offset, offsetWithPending, openPre, openPreFormatted, popOptions, popPrefix, popPrefix, popTag, pushOptions, pushPrefix, pushTag, raw, raw, rawIndentedPre, rawPre, removeExtraBlankLines, removeIndentOnFirstEOL, removeLines, setAttributes, setIndentPrefix, setLine, setOptions, setPrefix, setPrefix, setPrefixLength, setSuppressCloseTagLine, setSuppressOpenTagLine, tag, tag, tag, tag, tagClosed, tagIndent, tagLine, tagLine, tagLine, tagLineIndent, tagOpened, tagVoid, tagVoidLine, text, toSequence, toString, toString, unIndent, unIndentNoEol, withAttr, withCondIndent, withCondLineOnChildTextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddOptions, append, append, appendAll, appendTo, appendTo, appendTo, appendTo, appendToSilently, appendToSilently, appendToSilently, appendToSilently, clearLineOnFirstText, combinedPrefix, copyAppendable, copyAppendable, copyAppendable, copyAppendable, copyAppendable, get, getLineContent, getLinePrefix, getLines, getLines, getLines, getLines, getLinesInfo, getLinesInfo, getTrailingBlankLines, isEmpty, isNotEmpty, noPreserveSpaces, noTrimLeading, preserveSpaces, removeExtraBlankLines, removeOptions, setLineOnFirstText, setOptions, setOptions, toOptionSet, toOptionSet, toSequence, toSequence, toSequence, toSequence, toString, toString, toString, toString, trimLeadingforEach, spliteratorpublic static final HashMap<Class,HtmlStyler> stylerMap
public HtmlBuilder()
public HtmlBuilder(int indentSize,
int formatOptions)
public HtmlBuilder closeAllTags()
public String toFinalizedString()
public HtmlBuilder attr(Object... convertible)
@NotNull public @NotNull HtmlBuilder attr(@NotNull @NotNull CharSequence name, @Nullable @Nullable CharSequence value)
attr in interface HtmlAppendableattr in class HtmlAppendableBase<HtmlBuilder>public HtmlBuilder style(CharSequence value)
@NotNull public @NotNull HtmlBuilder attr(@NotNull Attribute... attribute)
attr in interface HtmlAppendableattr in class HtmlAppendableBase<HtmlBuilder>@NotNull public @NotNull HtmlBuilder attr(@NotNull @NotNull Attributes attributes)
attr in interface HtmlAppendableattr in class HtmlAppendableBase<HtmlBuilder>public HtmlBuilder span()
public HtmlBuilder span(CharSequence text)
public HtmlBuilder span(boolean withLine, Runnable runnable)
public HtmlBuilder span(Runnable runnable)
public HtmlBuilder spanLine(Runnable runnable)
public HtmlBuilder closeSpan()
public static void addColorStylerClass(Class clazz)
public static HtmlStyler getHtmlStyler(Object item)
public HtmlBuilder append(Object obj)
public HtmlBuilder append(String str)
public HtmlBuilder append(StringBuffer sb)
@NotNull public @NotNull HtmlBuilder append(@NotNull @NotNull CharSequence s)
append in interface com.vladsch.flexmark.util.sequence.LineAppendableappend in interface Appendableappend in class HtmlAppendableBase<HtmlBuilder>@NotNull public @NotNull HtmlBuilder append(@NotNull @NotNull CharSequence s, int start, int end)
append in interface com.vladsch.flexmark.util.sequence.LineAppendableappend in interface Appendableappend in class HtmlAppendableBase<HtmlBuilder>public HtmlBuilder append(char[] str)
public HtmlBuilder append(char[] str, int offset, int len)
public HtmlBuilder append(boolean b)
@NotNull public @NotNull HtmlBuilder append(char c)
append in interface com.vladsch.flexmark.util.sequence.LineAppendableappend in interface Appendableappend in class HtmlAppendableBase<HtmlBuilder>public HtmlBuilder append(int i)
public HtmlBuilder append(long l)
public HtmlBuilder append(float f)
public HtmlBuilder append(double d)
Copyright © 2020. All rights reserved.