public class HtmlBuilderFactory extends ElementBuilderFactory
Modifier | Constructor and Description |
---|---|
protected |
HtmlBuilderFactory()
Created from static factory method.
|
protected HtmlBuilderFactory()
public static HtmlBuilderFactory get()
HtmlBuilderFactory
.
Use ElementBuilderFactory.get()
to fetch a factory optimized for
the browser client. However, you can use this factory directly if you want
to force the builders to builder elements using HTML string concatenation
and innerHTML. You can also use this factory if you want access to the HTML
string, such as when you are building HTML on a server.
ElementBuilderFactory
public HtmlAnchorBuilder createAnchorBuilder()
createAnchorBuilder
in class ElementBuilderFactory
public HtmlAreaBuilder createAreaBuilder()
createAreaBuilder
in class ElementBuilderFactory
public HtmlAudioBuilder createAudioBuilder()
createAudioBuilder
in class ElementBuilderFactory
public HtmlBaseBuilder createBaseBuilder()
createBaseBuilder
in class ElementBuilderFactory
public HtmlQuoteBuilder createBlockQuoteBuilder()
createBlockQuoteBuilder
in class ElementBuilderFactory
public HtmlBodyBuilder createBodyBuilder()
createBodyBuilder
in class ElementBuilderFactory
public HtmlBRBuilder createBRBuilder()
createBRBuilder
in class ElementBuilderFactory
public HtmlInputBuilder createButtonInputBuilder()
createButtonInputBuilder
in class ElementBuilderFactory
public HtmlCanvasBuilder createCanvasBuilder()
createCanvasBuilder
in class ElementBuilderFactory
public HtmlInputBuilder createCheckboxInputBuilder()
createCheckboxInputBuilder
in class ElementBuilderFactory
public HtmlTableColBuilder createColBuilder()
createColBuilder
in class ElementBuilderFactory
public HtmlTableColBuilder createColGroupBuilder()
createColGroupBuilder
in class ElementBuilderFactory
public HtmlDivBuilder createDivBuilder()
createDivBuilder
in class ElementBuilderFactory
public HtmlDListBuilder createDListBuilder()
createDListBuilder
in class ElementBuilderFactory
public HtmlFieldSetBuilder createFieldSetBuilder()
createFieldSetBuilder
in class ElementBuilderFactory
public HtmlInputBuilder createFileInputBuilder()
createFileInputBuilder
in class ElementBuilderFactory
public HtmlFormBuilder createFormBuilder()
createFormBuilder
in class ElementBuilderFactory
public HtmlFrameBuilder createFrameBuilder()
createFrameBuilder
in class ElementBuilderFactory
public HtmlFrameSetBuilder createFrameSetBuilder()
createFrameSetBuilder
in class ElementBuilderFactory
public HtmlHeadingBuilder createH1Builder()
createH1Builder
in class ElementBuilderFactory
public HtmlHeadingBuilder createH2Builder()
createH2Builder
in class ElementBuilderFactory
public HtmlHeadingBuilder createH3Builder()
createH3Builder
in class ElementBuilderFactory
public HtmlHeadingBuilder createH4Builder()
createH4Builder
in class ElementBuilderFactory
public HtmlHeadingBuilder createH5Builder()
createH5Builder
in class ElementBuilderFactory
public HtmlHeadingBuilder createH6Builder()
createH6Builder
in class ElementBuilderFactory
public HtmlHeadBuilder createHeadBuilder()
createHeadBuilder
in class ElementBuilderFactory
public HtmlInputBuilder createHiddenInputBuilder()
createHiddenInputBuilder
in class ElementBuilderFactory
public HtmlHRBuilder createHRBuilder()
createHRBuilder
in class ElementBuilderFactory
public HtmlIFrameBuilder createIFrameBuilder()
createIFrameBuilder
in class ElementBuilderFactory
public HtmlImageBuilder createImageBuilder()
createImageBuilder
in class ElementBuilderFactory
public HtmlInputBuilder createImageInputBuilder()
createImageInputBuilder
in class ElementBuilderFactory
public HtmlLabelBuilder createLabelBuilder()
createLabelBuilder
in class ElementBuilderFactory
public HtmlLegendBuilder createLegendBuilder()
createLegendBuilder
in class ElementBuilderFactory
public HtmlLIBuilder createLIBuilder()
createLIBuilder
in class ElementBuilderFactory
public HtmlLinkBuilder createLinkBuilder()
createLinkBuilder
in class ElementBuilderFactory
public HtmlMapBuilder createMapBuilder()
createMapBuilder
in class ElementBuilderFactory
public HtmlMetaBuilder createMetaBuilder()
createMetaBuilder
in class ElementBuilderFactory
public HtmlOListBuilder createOListBuilder()
createOListBuilder
in class ElementBuilderFactory
public HtmlOptGroupBuilder createOptGroupBuilder()
createOptGroupBuilder
in class ElementBuilderFactory
public HtmlOptionBuilder createOptionBuilder()
createOptionBuilder
in class ElementBuilderFactory
public HtmlParagraphBuilder createParagraphBuilder()
createParagraphBuilder
in class ElementBuilderFactory
public HtmlParamBuilder createParamBuilder()
createParamBuilder
in class ElementBuilderFactory
public HtmlInputBuilder createPasswordInputBuilder()
createPasswordInputBuilder
in class ElementBuilderFactory
public HtmlPreBuilder createPreBuilder()
createPreBuilder
in class ElementBuilderFactory
public HtmlButtonBuilder createPushButtonBuilder()
createPushButtonBuilder
in class ElementBuilderFactory
public HtmlQuoteBuilder createQuoteBuilder()
createQuoteBuilder
in class ElementBuilderFactory
public HtmlInputBuilder createRadioInputBuilder(String name)
ElementBuilderFactory
createRadioInputBuilder
in class ElementBuilderFactory
name
- name the name of the radio input (used for grouping)public HtmlButtonBuilder createResetButtonBuilder()
createResetButtonBuilder
in class ElementBuilderFactory
public HtmlInputBuilder createResetInputBuilder()
createResetInputBuilder
in class ElementBuilderFactory
public HtmlScriptBuilder createScriptBuilder()
createScriptBuilder
in class ElementBuilderFactory
public HtmlSelectBuilder createSelectBuilder()
createSelectBuilder
in class ElementBuilderFactory
public HtmlSourceBuilder createSourceBuilder()
createSourceBuilder
in class ElementBuilderFactory
public HtmlSpanBuilder createSpanBuilder()
createSpanBuilder
in class ElementBuilderFactory
public HtmlStyleBuilder createStyleBuilder()
createStyleBuilder
in class ElementBuilderFactory
public HtmlButtonBuilder createSubmitButtonBuilder()
createSubmitButtonBuilder
in class ElementBuilderFactory
public HtmlInputBuilder createSubmitInputBuilder()
createSubmitInputBuilder
in class ElementBuilderFactory
public HtmlTableBuilder createTableBuilder()
createTableBuilder
in class ElementBuilderFactory
public HtmlTableCaptionBuilder createTableCaptionBuilder()
createTableCaptionBuilder
in class ElementBuilderFactory
public HtmlTableSectionBuilder createTBodyBuilder()
createTBodyBuilder
in class ElementBuilderFactory
public HtmlTableCellBuilder createTDBuilder()
createTDBuilder
in class ElementBuilderFactory
public HtmlTextAreaBuilder createTextAreaBuilder()
createTextAreaBuilder
in class ElementBuilderFactory
public HtmlInputBuilder createTextInputBuilder()
createTextInputBuilder
in class ElementBuilderFactory
public HtmlTableSectionBuilder createTFootBuilder()
createTFootBuilder
in class ElementBuilderFactory
public HtmlTableCellBuilder createTHBuilder()
createTHBuilder
in class ElementBuilderFactory
public HtmlTableSectionBuilder createTHeadBuilder()
createTHeadBuilder
in class ElementBuilderFactory
public HtmlTitleBuilder createTitleBuilder()
public HtmlTableRowBuilder createTRBuilder()
createTRBuilder
in class ElementBuilderFactory
public HtmlUListBuilder createUListBuilder()
createUListBuilder
in class ElementBuilderFactory
public HtmlVideoBuilder createVideoBuilder()
createVideoBuilder
in class ElementBuilderFactory
public HtmlElementBuilder trustedCreate(String tagName)
ElementBuilderFactory
ElementBuilder
for an arbitrary tag name. The tag name
will will not be checked or escaped. The calling code should be carefully
reviewed to ensure that the provided tag name will not cause a security
issue if including in an HTML document. In general, this means limiting the
code to HTML tagName constants supported by the HTML specification.trustedCreate
in class ElementBuilderFactory
tagName
- the tag name of the new elementElementBuilder
used to build the elementCopyright © 2018. All rights reserved.