Uses of Class
dev.jcputney.mjml.util.HtmlBuilder
Packages that use HtmlBuilder
-
Uses of HtmlBuilder in dev.jcputney.mjml.util
Methods in dev.jcputney.mjml.util that return HtmlBuilderModifier and TypeMethodDescriptionCloses a tag: decreases indent, writes{indent}</tag>\n.Appends indented text followed by a newline.Wraps the output of a builder block in MSO conditional comments.Wraps a string in MSO conditional comments followed by a newline.HtmlBuilder.newline()Appends a newline character to the internal string builder and returns the current instance of theHtmlBuilder.Opens a tag with no attributes.Opens a tag with attributes, writes a newline, and increases indent.HtmlBuilder.openInline(String tag) Opens an inline tag with no attributes.HtmlBuilder.openInline(String tag, String attrs) Opens a tag on the current line WITHOUT a trailing newline.Appends raw HTML at the current indent level, followed by a newline.HtmlBuilder.rawVerbatim(String html) Appends raw HTML verbatim with NO indentation or newline added.Wraps content in a presentation table (border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%").Creates an HTML table element with the specified attributes and content block.Wraps content in an HTML `<table>` tag, applying attributes and executing the provided block within the table.Appends raw text on the current line (no indent, no newline).Wraps the output of aRunnableblock with the specified HTML tag.Opens a tag with attributes, executes the block, and closes the tag.