Class HtmlWriter

    • Constructor Summary

      Constructors 
      Constructor Description
      HtmlWriter()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      T a()
      Starts the <a> tag.
      T abbr()
      Starts the <abbr> tag.
      T abbr​(String value)
      Sets the abbr attribute on the last started tag that has not been closed.
      T accept​(String value)
      Sets the accept attribute on the last started tag that has not been closed.
      T acceptCharset​(String value)
      Sets the accept-charset attribute on the last started tag that has not been closed.
      T accesskey​(String value)
      Sets the accesskey attribute on the last started tag that has not been closed.
      T acronym()
      Starts the <acronym> tag.
      T action​(String value)
      Sets the action attribute on the last started tag that has not been closed.
      T address()
      Starts the <address> tag.
      T align​(String value)
      Sets the align attribute on the last started tag that has not been closed.
      T alink​(String value)
      Sets the alink attribute on the last started tag that has not been closed.
      T alt​(String value)
      Sets the alt attribute on the last started tag that has not been closed.
      T applet()
      Starts the <applet> tag.
      T archive​(String value)
      Sets the archive attribute on the last started tag that has not been closed.
      T area()
      Starts the <area> tag.
      T axis​(String value)
      Sets the axis attribute on the last started tag that has not been closed.
      T b()
      Starts the <b> tag.
      T background​(String value)
      Sets the background attribute on the last started tag that has not been closed.
      T base()
      Starts the <base> tag.
      T basefont()
      Starts the <basefont> tag.
      T bdo()
      Starts the <bdo> tag.
      T bgcolor​(String value)
      Sets the bgcolor attribute on the last started tag that has not been closed.
      T big()
      Starts the <big> tag.
      T blockquote()
      Starts the <blockquote> tag.
      T body()
      Starts the <body> tag.
      T border​(String value)
      Sets the border attribute on the last started tag that has not been closed.
      T br()
      Starts the <br> tag.
      protected abstract void build()
      Should build the markup and is called by write(Writer).
      T button()
      Starts the <button> tag.
      T caption()
      Starts the <caption> tag.
      T cellpadding​(String value)
      Sets the cellpadding attribute on the last started tag that has not been closed.
      T cellspacing​(String value)
      Sets the cellspacing attribute on the last started tag that has not been closed.
      T center()
      Starts the <center> tag.
      T charAttr​(String value)
      Sets the char attribute on the last started tag that has not been closed.
      T charoff​(String value)
      Sets the charoff attribute on the last started tag that has not been closed.
      T charset​(String value)
      Sets the charset attribute on the last started tag that has not been closed.
      T checked​(String value)
      Sets the checked attribute on the last started tag that has not been closed.
      T cite()
      Starts the <cite> tag.
      T cite​(String value)
      Sets the cite attribute on the last started tag that has not been closed.
      T classAttr​(String value)
      Sets the class attribute on the last started tag that has not been closed.
      T classid​(String value)
      Sets the classid attribute on the last started tag that has not been closed.
      T clear​(String value)
      Sets the clear attribute on the last started tag that has not been closed.
      T code()
      Starts the <code> tag.
      T code​(String value)
      Sets the code attribute on the last started tag that has not been closed.
      T codebase​(String value)
      Sets the codebase attribute on the last started tag that has not been closed.
      T codetype​(String value)
      Sets the codetype attribute on the last started tag that has not been closed.
      T col()
      Starts the <col> tag.
      T colgroup()
      Starts the <colgroup> tag.
      T color​(String value)
      Sets the color attribute on the last started tag that has not been closed.
      T cols​(String value)
      Sets the cols attribute on the last started tag that has not been closed.
      T colspan​(String value)
      Sets the colspan attribute on the last started tag that has not been closed.
      T compact​(String value)
      Sets the compact attribute on the last started tag that has not been closed.
      T content​(String value)
      Sets the content attribute on the last started tag that has not been closed.
      T coords​(String value)
      Sets the coords attribute on the last started tag that has not been closed.
      T data​(String value)
      Sets the data attribute on the last started tag that has not been closed.
      T datetime​(String value)
      Sets the datetime attribute on the last started tag that has not been closed.
      T dd()
      Starts the <dd> tag.
      T declare​(String value)
      Sets the declare attribute on the last started tag that has not been closed.
      T defer​(String value)
      Sets the defer attribute on the last started tag that has not been closed.
      T del()
      Starts the <del> tag.
      T dfn()
      Starts the <dfn> tag.
      T dir()
      Starts the <dir> tag.
      T dir​(String value)
      Sets the dir attribute on the last started tag that has not been closed.
      T disabled​(String value)
      Sets the disabled attribute on the last started tag that has not been closed.
      T div()
      Starts the <div> tag.
      T dl()
      Starts the <dl> tag.
      T dt()
      Starts the <dt> tag.
      T em()
      Starts the <em> tag.
      T enctype​(String value)
      Sets the enctype attribute on the last started tag that has not been closed.
      T face​(String value)
      Sets the face attribute on the last started tag that has not been closed.
      T fieldset()
      Starts the <fieldset> tag.
      T font()
      Starts the <font> tag.
      T forAttr​(String value)
      Sets the for attribute on the last started tag that has not been closed.
      T form()
      Starts the <form> tag.
      T frame​(String value)
      Sets the frame attribute on the last started tag that has not been closed.
      T frameborder​(String value)
      Sets the frameborder attribute on the last started tag that has not been closed.
      protected HtmlWriter getSelf()
      Needed for fluent style and Java parameterization limitations.
      T h1()
      Starts the <h1> tag.
      T h2()
      Starts the <h2> tag.
      T h3()
      Starts the <h3> tag.
      T h4()
      Starts the <h4> tag.
      T h5()
      Starts the <h5> tag.
      T h6()
      Starts the <h6> tag.
      T head()
      Starts the <head> tag.
      T headers​(String value)
      Sets the headers attribute on the last started tag that has not been closed.
      T height​(String value)
      Sets the height attribute on the last started tag that has not been closed.
      T hr()
      Starts the <hr> tag.
      T href​(String value)
      Sets the href attribute on the last started tag that has not been closed.
      T hreflang​(String value)
      Sets the hreflang attribute on the last started tag that has not been closed.
      T hspace​(String value)
      Sets the hspace attribute on the last started tag that has not been closed.
      T html()
      Starts the <html> tag.
      T httpEquiv​(String value)
      Sets the http-equiv attribute on the last started tag that has not been closed.
      T i()
      Starts the <i> tag.
      T id​(String value)
      Sets the id attribute on the last started tag that has not been closed.
      T iframe()
      Starts the <iframe> tag.
      T img()
      Starts the <img> tag.
      T input()
      Starts the <input> tag.
      T ins()
      Starts the <ins> tag.
      T isindex()
      Starts the <isindex> tag.
      T ismap​(String value)
      Sets the ismap attribute on the last started tag that has not been closed.
      T kbd()
      Starts the <kbd> tag.
      T label()
      Starts the <label> tag.
      T label​(String value)
      Sets the label attribute on the last started tag that has not been closed.
      T lang​(String value)
      Sets the lang attribute on the last started tag that has not been closed.
      T language​(String value)
      Sets the language attribute on the last started tag that has not been closed.
      T legend()
      Starts the <legend> tag.
      T li()
      Starts the <li> tag.
      T link()
      Starts the <link> tag.
      T link​(String value)
      Sets the link attribute on the last started tag that has not been closed.
      T longdesc​(String value)
      Sets the longdesc attribute on the last started tag that has not been closed.
      T map()
      Starts the <map> tag.
      T marginheight​(String value)
      Sets the marginheight attribute on the last started tag that has not been closed.
      T marginwidth​(String value)
      Sets the marginwidth attribute on the last started tag that has not been closed.
      T maxlength​(String value)
      Sets the maxlength attribute on the last started tag that has not been closed.
      T media​(String value)
      Sets the media attribute on the last started tag that has not been closed.
      T menu()
      Starts the <menu> tag.
      T meta()
      Starts the <meta> tag.
      T method​(String value)
      Sets the method attribute on the last started tag that has not been closed.
      T multiple​(String value)
      Sets the multiple attribute on the last started tag that has not been closed.
      T name​(String value)
      Sets the name attribute on the last started tag that has not been closed.
      T noframes()
      Starts the <noframes> tag.
      T nohref​(String value)
      Sets the nohref attribute on the last started tag that has not been closed.
      T noscript()
      Starts the <noscript> tag.
      T noshade​(String value)
      Sets the noshade attribute on the last started tag that has not been closed.
      T nowrap​(String value)
      Sets the nowrap attribute on the last started tag that has not been closed.
      T object()
      Starts the <object> tag.
      T object​(String value)
      Sets the object attribute on the last started tag that has not been closed.
      T ol()
      Starts the <ol> tag.
      T onblur​(String value)
      Sets the onblur attribute on the last started tag that has not been closed.
      T onchange​(String value)
      Sets the onchange attribute on the last started tag that has not been closed.
      T onclick​(String value)
      Sets the onclick attribute on the last started tag that has not been closed.
      T ondblclick​(String value)
      Sets the ondblclick attribute on the last started tag that has not been closed.
      T onfocus​(String value)
      Sets the onfocus attribute on the last started tag that has not been closed.
      T onkeydown​(String value)
      Sets the onkeydown attribute on the last started tag that has not been closed.
      T onkeypress​(String value)
      Sets the onkeypress attribute on the last started tag that has not been closed.
      T onkeyup​(String value)
      Sets the onkeyup attribute on the last started tag that has not been closed.
      T onload​(String value)
      Sets the onload attribute on the last started tag that has not been closed.
      T onmousedown​(String value)
      Sets the onmousedown attribute on the last started tag that has not been closed.
      T onmousemove​(String value)
      Sets the onmousemove attribute on the last started tag that has not been closed.
      T onmouseout​(String value)
      Sets the onmouseout attribute on the last started tag that has not been closed.
      T onmouseover​(String value)
      Sets the onmouseover attribute on the last started tag that has not been closed.
      T onmouseup​(String value)
      Sets the onmouseup attribute on the last started tag that has not been closed.
      T onreset​(String value)
      Sets the onreset attribute on the last started tag that has not been closed.
      T onselect​(String value)
      Sets the onselect attribute on the last started tag that has not been closed.
      T onsubmit​(String value)
      Sets the onsubmit attribute on the last started tag that has not been closed.
      T onunload​(String value)
      Sets the onunload attribute on the last started tag that has not been closed.
      T optgroup()
      Starts the <optgroup> tag.
      T option()
      Starts the <option> tag.
      T p()
      Starts the <p> tag.
      T param()
      Starts the <param> tag.
      T pre()
      Starts the <pre> tag.
      T profile​(String value)
      Sets the profile attribute on the last started tag that has not been closed.
      T prompt​(String value)
      Sets the prompt attribute on the last started tag that has not been closed.
      T q()
      Starts the <q> tag.
      T readonly​(String value)
      Sets the readonly attribute on the last started tag that has not been closed.
      T rel​(String value)
      Sets the rel attribute on the last started tag that has not been closed.
      T rev​(String value)
      Sets the rev attribute on the last started tag that has not been closed.
      T rows​(String value)
      Sets the rows attribute on the last started tag that has not been closed.
      T rowspan​(String value)
      Sets the rowspan attribute on the last started tag that has not been closed.
      T rules​(String value)
      Sets the rules attribute on the last started tag that has not been closed.
      T s()
      Starts the <s> tag.
      T samp()
      Starts the <samp> tag.
      T scheme​(String value)
      Sets the scheme attribute on the last started tag that has not been closed.
      T scope​(String value)
      Sets the scope attribute on the last started tag that has not been closed.
      T script()
      Starts the <script> tag.
      T scrolling​(String value)
      Sets the scrolling attribute on the last started tag that has not been closed.
      T select()
      Starts the <select> tag.
      T selected​(String value)
      Sets the selected attribute on the last started tag that has not been closed.
      T shape​(String value)
      Sets the shape attribute on the last started tag that has not been closed.
      T size​(String value)
      Sets the size attribute on the last started tag that has not been closed.
      T small()
      Starts the <small> tag.
      T span()
      Starts the <span> tag.
      T span​(String value)
      Sets the span attribute on the last started tag that has not been closed.
      T src​(String value)
      Sets the src attribute on the last started tag that has not been closed.
      T standby​(String value)
      Sets the standby attribute on the last started tag that has not been closed.
      T startAttr​(String value)
      Sets the start attribute on the last started tag that has not been closed.
      T strike()
      Starts the <strike> tag.
      T strong()
      Starts the <strong> tag.
      T style()
      Starts the <style> tag.
      T style​(String value)
      Sets the style attribute on the last started tag that has not been closed.
      T sub()
      Starts the <sub> tag.
      T summary​(String value)
      Sets the summary attribute on the last started tag that has not been closed.
      T sup()
      Starts the <sup> tag.
      T tabindex​(String value)
      Sets the tabindex attribute on the last started tag that has not been closed.
      T table()
      Starts the <table> tag.
      T target​(String value)
      Sets the target attribute on the last started tag that has not been closed.
      T tbody()
      Starts the <tbody> tag.
      T td()
      Starts the <td> tag.
      T textarea()
      Starts the <textarea> tag.
      T textAttr​(String value)
      Sets the text attribute on the last started tag that has not been closed.
      T tfoot()
      Starts the <tfoot> tag.
      T th()
      Starts the <th> tag.
      T thead()
      Starts the <thead> tag.
      T title()
      Starts the <title> tag.
      T title​(String value)
      Sets the title attribute on the last started tag that has not been closed.
      T tr()
      Starts the <tr> tag.
      T tt()
      Starts the <tt> tag.
      T type​(String value)
      Sets the type attribute on the last started tag that has not been closed.
      T u()
      Starts the <u> tag.
      T ul()
      Starts the <ul> tag.
      T usemap​(String value)
      Sets the usemap attribute on the last started tag that has not been closed.
      T valign​(String value)
      Sets the valign attribute on the last started tag that has not been closed.
      T value​(String value)
      Sets the value attribute on the last started tag that has not been closed.
      T valuetype​(String value)
      Sets the valuetype attribute on the last started tag that has not been closed.
      T var()
      Starts the <var> tag.
      T vlink​(String value)
      Sets the vlink attribute on the last started tag that has not been closed.
      T vspace​(String value)
      Sets the vspace attribute on the last started tag that has not been closed.
      T width​(String value)
      Sets the width attribute on the last started tag that has not been closed.
      <W extends Writer>
      W
      write​(W writer)
      Writes using the given writer.
      <W extends Writer>
      W
      write​(W writer, int depth)
      Writes using the given writer at the given depth.
    • Constructor Detail

      • HtmlWriter

        public HtmlWriter()
    • Method Detail

      • getSelf

        protected HtmlWriter getSelf()
        Description copied from class: MarkupBuilder
        Needed for fluent style and Java parameterization limitations. Almost all public methods should return whatever this method returns.

        Most implementations only have to do:

         return this;
         
        Specified by:
        getSelf in class MarkupBuilder<HtmlWriter>
        Returns:
        the current builder which is usually this object.
      • write

        public <W extends Writer> W write​(W writer)
        Description copied from interface: MarkupWriter
        Writes using the given writer. The writer should not be closed and will not be closed by implementations. Its up to the caller to close the writer.
        Specified by:
        write in interface MarkupWriter
        Type Parameters:
        W - writer type.
        Parameters:
        writer - not null.
        Returns:
        the writer used for fluent style.
      • write

        public <W extends Writer> W write​(W writer,
                                          int depth)
        Description copied from interface: MarkupBuilderWriter
        Writes using the given writer at the given depth. The writer should not be closed and will not be closed by implementations. Its up to the caller to close the writer.
        Specified by:
        write in interface MarkupBuilderWriter
        Type Parameters:
        W - writer type.
        Parameters:
        writer - not null.
        depth - the indent depth to start at.
        Returns:
        the writer used for fluent style.
        See Also:
        MarkupBuilder.write(MarkupWriter...)
      • button

        public T button()
        Starts the <button> tag. [Content is "Flow" excluding a, form and form controls]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.NORMAL

        Returns:
        this, never null
      • col

        public T col()
        Starts the <col> tag. [col elements define the alignment properties for cells in, one or more columns., , The width attribute specifies the width of the columns, e.g., , width=64 width in screen pixels, width=0.5* relative width of 0.5, , The span attribute causes the attributes of one, col element to apply to more than one column.]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.SELF

        Returns:
        this, never null
      • colgroup

        public T colgroup()
        Starts the <colgroup> tag. [colgroup groups a set of col elements. It allows you to group, several semantically related columns together.]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.PAIR

        Returns:
        this, never null
      • fieldset

        public T fieldset()
        Starts the <fieldset> tag. [The fieldset element is used to group form fields., Only one legend element should occur in the content, and if present should only be preceded by whitespace., , NOTE: this content model is different from the XHTML 1.0 DTD,, closer to the intended content model in HTML4 DTD]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.PAIR

        Returns:
        this, never null
      • head

        public T head()
        Starts the <head> tag. [content model is "head.misc" combined with a single, title and an optional base element in any order]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.PAIR

        Returns:
        this, never null
      • isindex

        public T isindex()
        Starts the <isindex> tag. [single-line text input control (DEPRECATED)]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.SELF

        Returns:
        this, never null
      • label

        public T label()
        Starts the <label> tag. [Each label must not contain more than ONE field, Label elements shouldn't be nested.]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.NORMAL

        Returns:
        this, never null
      • link

        public T link()
        Starts the <link> tag. [Relationship values can be used in principle:, , a) for document specific toolbars/menus when used, with the link element in document head e.g., start, contents, previous, next, index, end, help, b) to link to a separate style sheet (rel="stylesheet"), c) to make a link to a script (rel="script"), d) by stylesheets to control how collections of, html nodes are rendered into printed documents, e) to make a link to a printable version of this document, e.g. a PostScript or PDF version (rel="alternate" media="print")]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.SELF

        Returns:
        this, never null
      • noframes

        public T noframes()
        Starts the <noframes> tag. [alternate content container for non frame-based rendering]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.NORMAL

        Returns:
        this, never null
      • noscript

        public T noscript()
        Starts the <noscript> tag. [alternate content container for non script-based rendering]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.NORMAL

        Returns:
        this, never null
      • param

        public T param()
        Starts the <param> tag. [param is used to supply a named property value., In XML it would seem natural to follow RDF and support an, abbreviated syntax where the param elements are replaced, by attribute value pairs on the object start tag.]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.SELF

        Returns:
        this, never null
      • pre

        public T pre()
        Starts the <pre> tag. [content is "Inline" excluding , "img|object|applet|big|small|sub|sup|font|basefont"]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.NORMAL

        Returns:
        this, never null
      • script

        public T script()
        Starts the <script> tag. [script statements, which may include CDATA sections]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.PAIR

        Returns:
        this, never null
      • title

        public T title()
        Starts the <title> tag. [The title element is not considered part of the flow of text., It should be displayed, for example as the page header or, window title. Exactly one title is required per document.]

        Tag Closing Policy: MarkupBuilder.TagClosingPolicy.NORMAL

        Returns:
        this, never null
      • abbr

        public T abbr​(String value)
        Sets the abbr attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • accept

        public T accept​(String value)
        Sets the accept attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • acceptCharset

        public T acceptCharset​(String value)
        Sets the accept-charset attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • accesskey

        public T accesskey​(String value)
        Sets the accesskey attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • action

        public T action​(String value)
        Sets the action attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • align

        public T align​(String value)
        Sets the align attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • alink

        public T alink​(String value)
        Sets the alink attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • alt

        public T alt​(String value)
        Sets the alt attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • archive

        public T archive​(String value)
        Sets the archive attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • axis

        public T axis​(String value)
        Sets the axis attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • background

        public T background​(String value)
        Sets the background attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • bgcolor

        public T bgcolor​(String value)
        Sets the bgcolor attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • border

        public T border​(String value)
        Sets the border attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • cellpadding

        public T cellpadding​(String value)
        Sets the cellpadding attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • cellspacing

        public T cellspacing​(String value)
        Sets the cellspacing attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • charAttr

        public T charAttr​(String value)
        Sets the char attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • charoff

        public T charoff​(String value)
        Sets the charoff attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • charset

        public T charset​(String value)
        Sets the charset attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • checked

        public T checked​(String value)
        Sets the checked attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • cite

        public T cite​(String value)
        Sets the cite attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • classAttr

        public T classAttr​(String value)
        Sets the class attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • classid

        public T classid​(String value)
        Sets the classid attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • clear

        public T clear​(String value)
        Sets the clear attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • code

        public T code​(String value)
        Sets the code attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • codebase

        public T codebase​(String value)
        Sets the codebase attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • codetype

        public T codetype​(String value)
        Sets the codetype attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • color

        public T color​(String value)
        Sets the color attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • cols

        public T cols​(String value)
        Sets the cols attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • colspan

        public T colspan​(String value)
        Sets the colspan attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • compact

        public T compact​(String value)
        Sets the compact attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • content

        public T content​(String value)
        Sets the content attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • coords

        public T coords​(String value)
        Sets the coords attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • data

        public T data​(String value)
        Sets the data attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • datetime

        public T datetime​(String value)
        Sets the datetime attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • declare

        public T declare​(String value)
        Sets the declare attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • defer

        public T defer​(String value)
        Sets the defer attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • dir

        public T dir​(String value)
        Sets the dir attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • disabled

        public T disabled​(String value)
        Sets the disabled attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • enctype

        public T enctype​(String value)
        Sets the enctype attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • face

        public T face​(String value)
        Sets the face attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • forAttr

        public T forAttr​(String value)
        Sets the for attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • frame

        public T frame​(String value)
        Sets the frame attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • frameborder

        public T frameborder​(String value)
        Sets the frameborder attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • headers

        public T headers​(String value)
        Sets the headers attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • height

        public T height​(String value)
        Sets the height attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • href

        public T href​(String value)
        Sets the href attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • hreflang

        public T hreflang​(String value)
        Sets the hreflang attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • hspace

        public T hspace​(String value)
        Sets the hspace attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • httpEquiv

        public T httpEquiv​(String value)
        Sets the http-equiv attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • id

        public T id​(String value)
        Sets the id attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • ismap

        public T ismap​(String value)
        Sets the ismap attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • label

        public T label​(String value)
        Sets the label attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • lang

        public T lang​(String value)
        Sets the lang attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • language

        public T language​(String value)
        Sets the language attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • link

        public T link​(String value)
        Sets the link attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • longdesc

        public T longdesc​(String value)
        Sets the longdesc attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • marginheight

        public T marginheight​(String value)
        Sets the marginheight attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • marginwidth

        public T marginwidth​(String value)
        Sets the marginwidth attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • maxlength

        public T maxlength​(String value)
        Sets the maxlength attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • media

        public T media​(String value)
        Sets the media attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • method

        public T method​(String value)
        Sets the method attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • multiple

        public T multiple​(String value)
        Sets the multiple attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • name

        public T name​(String value)
        Sets the name attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • nohref

        public T nohref​(String value)
        Sets the nohref attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • noshade

        public T noshade​(String value)
        Sets the noshade attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • nowrap

        public T nowrap​(String value)
        Sets the nowrap attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • object

        public T object​(String value)
        Sets the object attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onblur

        public T onblur​(String value)
        Sets the onblur attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onchange

        public T onchange​(String value)
        Sets the onchange attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onclick

        public T onclick​(String value)
        Sets the onclick attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • ondblclick

        public T ondblclick​(String value)
        Sets the ondblclick attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onfocus

        public T onfocus​(String value)
        Sets the onfocus attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onkeydown

        public T onkeydown​(String value)
        Sets the onkeydown attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onkeypress

        public T onkeypress​(String value)
        Sets the onkeypress attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onkeyup

        public T onkeyup​(String value)
        Sets the onkeyup attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onload

        public T onload​(String value)
        Sets the onload attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onmousedown

        public T onmousedown​(String value)
        Sets the onmousedown attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onmousemove

        public T onmousemove​(String value)
        Sets the onmousemove attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onmouseout

        public T onmouseout​(String value)
        Sets the onmouseout attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onmouseover

        public T onmouseover​(String value)
        Sets the onmouseover attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onmouseup

        public T onmouseup​(String value)
        Sets the onmouseup attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onreset

        public T onreset​(String value)
        Sets the onreset attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onselect

        public T onselect​(String value)
        Sets the onselect attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onsubmit

        public T onsubmit​(String value)
        Sets the onsubmit attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • onunload

        public T onunload​(String value)
        Sets the onunload attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • profile

        public T profile​(String value)
        Sets the profile attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • prompt

        public T prompt​(String value)
        Sets the prompt attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • readonly

        public T readonly​(String value)
        Sets the readonly attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • rel

        public T rel​(String value)
        Sets the rel attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • rev

        public T rev​(String value)
        Sets the rev attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • rows

        public T rows​(String value)
        Sets the rows attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • rowspan

        public T rowspan​(String value)
        Sets the rowspan attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • rules

        public T rules​(String value)
        Sets the rules attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • scheme

        public T scheme​(String value)
        Sets the scheme attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • scope

        public T scope​(String value)
        Sets the scope attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • scrolling

        public T scrolling​(String value)
        Sets the scrolling attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • selected

        public T selected​(String value)
        Sets the selected attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • shape

        public T shape​(String value)
        Sets the shape attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • size

        public T size​(String value)
        Sets the size attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • span

        public T span​(String value)
        Sets the span attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • src

        public T src​(String value)
        Sets the src attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • standby

        public T standby​(String value)
        Sets the standby attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • startAttr

        public T startAttr​(String value)
        Sets the start attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • style

        public T style​(String value)
        Sets the style attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • summary

        public T summary​(String value)
        Sets the summary attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • tabindex

        public T tabindex​(String value)
        Sets the tabindex attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • target

        public T target​(String value)
        Sets the target attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • textAttr

        public T textAttr​(String value)
        Sets the text attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • title

        public T title​(String value)
        Sets the title attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • type

        public T type​(String value)
        Sets the type attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • usemap

        public T usemap​(String value)
        Sets the usemap attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • valign

        public T valign​(String value)
        Sets the valign attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • value

        public T value​(String value)
        Sets the value attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • valuetype

        public T valuetype​(String value)
        Sets the valuetype attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • vlink

        public T vlink​(String value)
        Sets the vlink attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • vspace

        public T vspace​(String value)
        Sets the vspace attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null
      • width

        public T width​(String value)
        Sets the width attribute on the last started tag that has not been closed.
        Parameters:
        value - the value to set, maybe null
        Returns:
        this, never null