Class DomBuilderFactory
java.lang.Object
com.google.gwt.dom.builder.shared.ElementBuilderFactory
com.google.gwt.dom.builder.client.DomBuilderFactory
Factory for creating element builders that construct elements using DOM
manipulation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a builder for an <input type='radio'> element.static DomBuilderFactory
get()
Get the instance of theDomBuilderFactory
.trustedCreate
(String tagName) Create anElementBuilder
for an arbitrary tag name.
-
Constructor Details
-
DomBuilderFactory
public DomBuilderFactory()Created from static factory method.
-
-
Method Details
-
get
Get the instance of theDomBuilderFactory
.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 build elements use DOM manipulation.- Returns:
- the
ElementBuilderFactory
-
createAnchorBuilder
- Specified by:
createAnchorBuilder
in classElementBuilderFactory
-
createAreaBuilder
- Specified by:
createAreaBuilder
in classElementBuilderFactory
-
createAudioBuilder
- Specified by:
createAudioBuilder
in classElementBuilderFactory
-
createBaseBuilder
- Specified by:
createBaseBuilder
in classElementBuilderFactory
-
createBlockQuoteBuilder
- Specified by:
createBlockQuoteBuilder
in classElementBuilderFactory
-
createBodyBuilder
- Specified by:
createBodyBuilder
in classElementBuilderFactory
-
createBRBuilder
- Specified by:
createBRBuilder
in classElementBuilderFactory
-
createButtonInputBuilder
- Specified by:
createButtonInputBuilder
in classElementBuilderFactory
-
createCanvasBuilder
- Specified by:
createCanvasBuilder
in classElementBuilderFactory
-
createCheckboxInputBuilder
- Specified by:
createCheckboxInputBuilder
in classElementBuilderFactory
-
createColBuilder
- Specified by:
createColBuilder
in classElementBuilderFactory
-
createColGroupBuilder
- Specified by:
createColGroupBuilder
in classElementBuilderFactory
-
createDivBuilder
- Specified by:
createDivBuilder
in classElementBuilderFactory
-
createDListBuilder
- Specified by:
createDListBuilder
in classElementBuilderFactory
-
createFieldSetBuilder
- Specified by:
createFieldSetBuilder
in classElementBuilderFactory
-
createFileInputBuilder
- Specified by:
createFileInputBuilder
in classElementBuilderFactory
-
createFormBuilder
- Specified by:
createFormBuilder
in classElementBuilderFactory
-
createFrameBuilder
- Specified by:
createFrameBuilder
in classElementBuilderFactory
-
createFrameSetBuilder
- Specified by:
createFrameSetBuilder
in classElementBuilderFactory
-
createH1Builder
- Specified by:
createH1Builder
in classElementBuilderFactory
-
createH2Builder
- Specified by:
createH2Builder
in classElementBuilderFactory
-
createH3Builder
- Specified by:
createH3Builder
in classElementBuilderFactory
-
createH4Builder
- Specified by:
createH4Builder
in classElementBuilderFactory
-
createH5Builder
- Specified by:
createH5Builder
in classElementBuilderFactory
-
createH6Builder
- Specified by:
createH6Builder
in classElementBuilderFactory
-
createHeadBuilder
- Specified by:
createHeadBuilder
in classElementBuilderFactory
-
createHiddenInputBuilder
- Specified by:
createHiddenInputBuilder
in classElementBuilderFactory
-
createHRBuilder
- Specified by:
createHRBuilder
in classElementBuilderFactory
-
createIFrameBuilder
- Specified by:
createIFrameBuilder
in classElementBuilderFactory
-
createImageBuilder
- Specified by:
createImageBuilder
in classElementBuilderFactory
-
createImageInputBuilder
- Specified by:
createImageInputBuilder
in classElementBuilderFactory
-
createLabelBuilder
- Specified by:
createLabelBuilder
in classElementBuilderFactory
-
createLegendBuilder
- Specified by:
createLegendBuilder
in classElementBuilderFactory
-
createLIBuilder
- Specified by:
createLIBuilder
in classElementBuilderFactory
-
createLinkBuilder
- Specified by:
createLinkBuilder
in classElementBuilderFactory
-
createMapBuilder
- Specified by:
createMapBuilder
in classElementBuilderFactory
-
createMetaBuilder
- Specified by:
createMetaBuilder
in classElementBuilderFactory
-
createOListBuilder
- Specified by:
createOListBuilder
in classElementBuilderFactory
-
createOptGroupBuilder
- Specified by:
createOptGroupBuilder
in classElementBuilderFactory
-
createOptionBuilder
- Specified by:
createOptionBuilder
in classElementBuilderFactory
-
createParagraphBuilder
- Specified by:
createParagraphBuilder
in classElementBuilderFactory
-
createParamBuilder
- Specified by:
createParamBuilder
in classElementBuilderFactory
-
createPasswordInputBuilder
- Specified by:
createPasswordInputBuilder
in classElementBuilderFactory
-
createPreBuilder
- Specified by:
createPreBuilder
in classElementBuilderFactory
-
createPushButtonBuilder
- Specified by:
createPushButtonBuilder
in classElementBuilderFactory
-
createQuoteBuilder
- Specified by:
createQuoteBuilder
in classElementBuilderFactory
-
createRadioInputBuilder
Description copied from class:ElementBuilderFactory
Create a builder for an <input type='radio'> element.- Specified by:
createRadioInputBuilder
in classElementBuilderFactory
- Parameters:
name
- name the name of the radio input (used for grouping)- Returns:
- the builder for the new element
-
createResetButtonBuilder
- Specified by:
createResetButtonBuilder
in classElementBuilderFactory
-
createResetInputBuilder
- Specified by:
createResetInputBuilder
in classElementBuilderFactory
-
createScriptBuilder
- Specified by:
createScriptBuilder
in classElementBuilderFactory
-
createSelectBuilder
- Specified by:
createSelectBuilder
in classElementBuilderFactory
-
createSourceBuilder
- Specified by:
createSourceBuilder
in classElementBuilderFactory
-
createSpanBuilder
- Specified by:
createSpanBuilder
in classElementBuilderFactory
-
createStyleBuilder
- Specified by:
createStyleBuilder
in classElementBuilderFactory
-
createSubmitButtonBuilder
- Specified by:
createSubmitButtonBuilder
in classElementBuilderFactory
-
createSubmitInputBuilder
- Specified by:
createSubmitInputBuilder
in classElementBuilderFactory
-
createTableBuilder
- Specified by:
createTableBuilder
in classElementBuilderFactory
-
createTableCaptionBuilder
- Specified by:
createTableCaptionBuilder
in classElementBuilderFactory
-
createTBodyBuilder
- Specified by:
createTBodyBuilder
in classElementBuilderFactory
-
createTDBuilder
- Specified by:
createTDBuilder
in classElementBuilderFactory
-
createTextAreaBuilder
- Specified by:
createTextAreaBuilder
in classElementBuilderFactory
-
createTextInputBuilder
- Specified by:
createTextInputBuilder
in classElementBuilderFactory
-
createTFootBuilder
- Specified by:
createTFootBuilder
in classElementBuilderFactory
-
createTHBuilder
- Specified by:
createTHBuilder
in classElementBuilderFactory
-
createTHeadBuilder
- Specified by:
createTHeadBuilder
in classElementBuilderFactory
-
createTRBuilder
- Specified by:
createTRBuilder
in classElementBuilderFactory
-
createUListBuilder
- Specified by:
createUListBuilder
in classElementBuilderFactory
-
createVideoBuilder
- Specified by:
createVideoBuilder
in classElementBuilderFactory
-
trustedCreate
Description copied from class:ElementBuilderFactory
Create anElementBuilder
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.- Specified by:
trustedCreate
in classElementBuilderFactory
- Parameters:
tagName
- the tag name of the new element- Returns:
- an
ElementBuilder
used to build the element
-