class HtmlBuilderImpl extends ElementBuilderImpl
ElementBuilderBase
used to render HTML
as a string, using innerHtml to generate an element.Constructor and Description |
---|
HtmlBuilderImpl() |
assertCanAddAttributeImpl, assertCanAddStylePropertyImpl, assertValidTagName, end, end, endAllTags, endStyle, finish, getDepth, html, lockCurrentElement, onStart, text
public void attribute(java.lang.String name, int value)
public void attribute(java.lang.String name, java.lang.String value)
public HtmlAnchorBuilder startAnchor()
public HtmlAreaBuilder startArea()
public HtmlAudioBuilder startAudio()
public HtmlBaseBuilder startBase()
public HtmlQuoteBuilder startBlockQuote()
public HtmlBodyBuilder startBody()
public HtmlBRBuilder startBR()
public HtmlInputBuilder startButtonInput()
public HtmlCanvasBuilder startCanvas()
public HtmlInputBuilder startCheckboxInput()
public HtmlTableColBuilder startCol()
public HtmlTableColBuilder startColGroup()
public HtmlDivBuilder startDiv()
public HtmlDListBuilder startDList()
public HtmlFieldSetBuilder startFieldSet()
public HtmlInputBuilder startFileInput()
public HtmlFormBuilder startForm()
public HtmlFrameBuilder startFrame()
public HtmlFrameSetBuilder startFrameSet()
public HtmlHeadingBuilder startH1()
public HtmlHeadingBuilder startH2()
public HtmlHeadingBuilder startH3()
public HtmlHeadingBuilder startH4()
public HtmlHeadingBuilder startH5()
public HtmlHeadingBuilder startH6()
public HtmlHeadBuilder startHead()
public HtmlInputBuilder startHiddenInput()
public HtmlHRBuilder startHR()
public HtmlIFrameBuilder startIFrame()
public HtmlImageBuilder startImage()
public HtmlInputBuilder startImageInput()
public HtmlLabelBuilder startLabel()
public HtmlLegendBuilder startLegend()
public HtmlLIBuilder startLI()
public HtmlLinkBuilder startLink()
public HtmlMapBuilder startMap()
public HtmlMetaBuilder startMeta()
public HtmlOListBuilder startOList()
public HtmlOptGroupBuilder startOptGroup()
public HtmlOptionBuilder startOption()
public HtmlParagraphBuilder startParagraph()
public HtmlParamBuilder startParam()
public HtmlInputBuilder startPasswordInput()
public HtmlPreBuilder startPre()
public HtmlButtonBuilder startPushButton()
public HtmlQuoteBuilder startQuote()
public HtmlInputBuilder startRadioInput(java.lang.String name)
public HtmlButtonBuilder startResetButton()
public HtmlInputBuilder startResetInput()
public HtmlScriptBuilder startScript()
public HtmlSelectBuilder startSelect()
public HtmlSourceBuilder startSource()
public HtmlSpanBuilder startSpan()
public HtmlStyleBuilder startStyle()
public HtmlButtonBuilder startSubmitButton()
public HtmlInputBuilder startSubmitInput()
public HtmlTableBuilder startTable()
public HtmlTableCaptionBuilder startTableCaption()
public HtmlTableSectionBuilder startTBody()
public HtmlTableCellBuilder startTD()
public HtmlTextAreaBuilder startTextArea()
public HtmlInputBuilder startTextInput()
public HtmlTableSectionBuilder startTFoot()
public HtmlTableCellBuilder startTH()
public HtmlTableSectionBuilder startTHead()
public HtmlTitleBuilder startTitle()
public HtmlTableRowBuilder startTR()
public HtmlUListBuilder startUList()
public HtmlVideoBuilder startVideo()
public StylesBuilder style()
ElementBuilderImpl
StylesBuilder
used to add style properties to the current
element.style
in class ElementBuilderImpl
StylesBuilder
public StylesBuilder styleProperty(SafeStyles style)
public void trustedAttribute(java.lang.String name, int value)
public void trustedAttribute(java.lang.String name, java.lang.String value)
public HtmlElementBuilder trustedStart(java.lang.String tagName)
protected void doCloseStartTagImpl()
ElementBuilderImpl
doCloseStartTagImpl
in class ElementBuilderImpl
protected void doCloseStyleAttributeImpl()
ElementBuilderImpl
doCloseStyleAttributeImpl
in class ElementBuilderImpl
protected void doEndStartTagImpl()
ElementBuilderImpl
doEndStartTagImpl
in class ElementBuilderImpl
protected void doEndTagImpl(java.lang.String tagName)
ElementBuilderImpl
doEndTagImpl
in class ElementBuilderImpl
tagName
- the name of the tag to endprotected Element doFinishImpl()
ElementBuilderImpl
doFinishImpl
in class ElementBuilderImpl
protected void doHtmlImpl(SafeHtml html)
ElementBuilderImpl
doHtmlImpl
in class ElementBuilderImpl
html
- the HTML to setprotected void doOpenStyleImpl()
ElementBuilderImpl
doOpenStyleImpl
in class ElementBuilderImpl
protected void doTextImpl(java.lang.String text)
ElementBuilderImpl
doTextImpl
in class ElementBuilderImpl
text
- the text to set