public class HtmlBuilder extends HtmlFormattingAppendableBase<HtmlBuilder>
| Modifier and Type | Field and Description |
|---|---|
static HashMap<Class,HtmlStyler> |
stylerMap |
ALLOW_LEADING_EOL, ALLOW_LEADING_WHITESPACE, COLLAPSE_WHITESPACE, CONVERT_TABS, FORMAT_ALL, PASS_THROUGH, PREFIX_AFTER_PENDING_EOL, PREFIX_PRE_FORMATTED, SUPPRESS_TRAILING_WHITESPACE| Constructor and Description |
|---|
HtmlBuilder() |
HtmlBuilder(int indentSize,
int formatOptions) |
addIndentOnFirstEOL, addLine, addPrefix, addPrefix, append, appendTo, blankLine, blankLine, blankLineIf, closePre, closePreFormatted, closeTag, column, getAttributes, getIndentPrefix, getLineContents, getLineCount, getLinePrefixes, getLines, getOpenTags, getOpenTagsAfterLast, getOpenTagText, getOptions, getPendingEOL, getPendingSpace, getPrefix, indent, inPre, isPendingSpace, isPreFormatted, isPreFormattedLine, isSuppressCloseTagLine, isSuppressOpenTagLine, line, lineIf, lineOnFirstText, lineWithTrailingSpaces, offset, offsetWithPending, openPre, openPreFormatted, openPreFormatted, popPrefix, popPrefix, popTag, prefixLines, prefixLines, pushPrefix, pushTag, raw, raw, rawIndentedPre, rawPre, removeIndentOnFirstEOL, removeLines, repeat, repeat, repeat, setAttributes, setIndentPrefix, setOptions, setPrefix, setPrefix, setSuppressCloseTagLine, setSuppressOpenTagLine, tag, tag, tag, tag, tagClosed, tagIndent, tagLine, tagLine, tagLine, tagLineIndent, tagOpened, tagVoid, tagVoidLine, text, textOnlyOffset, textOnlyOffsetWithPending, toString, toString, unIndent, unIndentNoEol, withAttr, withCondIndent, withCondLineOnChildTextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitwithCondLineappend, append, appendTo, appendTo, appendTo, appendTo, clearLineOnFirstText, getLineContent, getLineContents, getLineContents, getLinePrefix, getLinePrefixes, getLinePrefixes, getLines, getLines, lineWithTrailingSpaces, prefixLines, prefixLines, setLineOnFirstTextpublic 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)
public HtmlBuilder attr(CharSequence name, CharSequence value)
attr in interface HtmlFormattingAppendableattr in class HtmlFormattingAppendableBase<HtmlBuilder>public HtmlBuilder style(CharSequence value)
public HtmlBuilder attr(Attribute... attribute)
attr in interface HtmlFormattingAppendableattr in class HtmlFormattingAppendableBase<HtmlBuilder>public HtmlBuilder attr(Attributes attributes)
attr in interface HtmlFormattingAppendableattr in class HtmlFormattingAppendableBase<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)
public HtmlBuilder append(CharSequence s)
append in interface LineFormattingAppendableappend in interface Appendableappend in class HtmlFormattingAppendableBase<HtmlBuilder>public HtmlBuilder append(CharSequence s, int start, int end)
append in interface LineFormattingAppendableappend in interface Appendableappend in class HtmlFormattingAppendableBase<HtmlBuilder>public HtmlBuilder append(char[] str)
public HtmlBuilder append(char[] str, int offset, int len)
public HtmlBuilder append(boolean b)
public HtmlBuilder append(char c)
append in interface LineFormattingAppendableappend in interface Appendableappend in class HtmlFormattingAppendableBase<HtmlBuilder>public HtmlBuilder append(int i)
public HtmlBuilder append(long l)
public HtmlBuilder append(float f)
public HtmlBuilder append(double d)
Copyright © 2019. All rights reserved.