Class DomScriptBuilder
java.lang.Object
com.google.gwt.dom.builder.shared.AbstractElementBuilderBase<R>
com.google.gwt.dom.builder.client.DomElementBuilderBase<ScriptBuilder,ScriptElement>
com.google.gwt.dom.builder.client.DomScriptBuilder
- All Implemented Interfaces:
ElementBuilderBase<ScriptBuilder>,ScriptBuilder
public class DomScriptBuilder
extends DomElementBuilderBase<ScriptBuilder,ScriptElement>
implements ScriptBuilder
DOM-based implementation of
ScriptBuilder.-
Field Summary
Fields inherited from interface com.google.gwt.dom.builder.shared.ScriptBuilder
UNSUPPORTED_HTML -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIndicates that the user agent can defer processing of the script.Append html within the node.booleanCheck if child elements are supported.URI designating an external script.Append text within the node.The content type of the script language.Methods inherited from class com.google.gwt.dom.builder.client.DomElementBuilderBase
assertCanAddAttribute, attribute, attribute, className, dir, draggable, getDelegate, id, lang, startAnchor, startArea, startAudio, startBase, startBlockQuote, startBody, startBR, startButtonInput, startCanvas, startCheckboxInput, startCol, startColGroup, startDiv, startDList, startFieldSet, startFileInput, startForm, startFrame, startFrameSet, startH1, startH2, startH3, startH4, startH5, startH6, startHead, startHiddenInput, startHR, startIFrame, startImage, startImageInput, startLabel, startLegend, startLI, startLink, startMap, startMeta, startOList, startOptGroup, startOption, startParagraph, startParam, startPasswordInput, startPre, startPushButton, startQuote, startRadioInput, startResetButton, startResetInput, startScript, startSelect, startSource, startSpan, startStyle, startSubmitButton, startSubmitInput, startTable, startTableCaption, startTBody, startTD, startTextArea, startTextInput, startTFoot, startTH, startTHead, startTR, startUList, startVideo, tabIndex, title, trustedStartMethods inherited from class com.google.gwt.dom.builder.shared.AbstractElementBuilderBase
end, end, endAnchor, endArea, endAudio, endBase, endBlockQuote, endBody, endBR, endButton, endCanvas, endCol, endColGroup, endDiv, endDList, endFieldSet, endForm, endFrame, endFrameSet, endH1, endH2, endH3, endH4, endH5, endH6, endHead, endHR, endIFrame, endImage, endInput, endLabel, endLegend, endLI, endLink, endMap, endMeta, endOList, endOptGroup, endOption, endParagraph, endParam, endPre, endQuote, endScript, endSelect, endSource, endSpan, endStyle, endTable, endTableCaption, endTBody, endTD, endTextArea, endTFoot, endTH, endTHead, endTR, endUList, endVideo, finish, getDepth, getReturnBuilder, isEndTagForbidden, styleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gwt.dom.builder.shared.ElementBuilderBase
attribute, attribute, className, dir, draggable, end, end, endAnchor, endArea, endAudio, endBase, endBlockQuote, endBody, endBR, endButton, endCanvas, endCol, endColGroup, endDiv, endDList, endFieldSet, endForm, endFrame, endFrameSet, endH1, endH2, endH3, endH4, endH5, endH6, endHead, endHR, endIFrame, endImage, endInput, endLabel, endLegend, endLI, endLink, endMap, endMeta, endOList, endOptGroup, endOption, endParagraph, endParam, endPre, endQuote, endScript, endSelect, endSource, endSpan, endStyle, endTable, endTableCaption, endTBody, endTD, endTextArea, endTFoot, endTH, endTHead, endTR, endUList, endVideo, finish, getDepth, id, isEndTagForbidden, lang, startAnchor, startArea, startAudio, startBase, startBlockQuote, startBody, startBR, startButtonInput, startCanvas, startCheckboxInput, startCol, startColGroup, startDiv, startDList, startFieldSet, startFileInput, startForm, startFrame, startFrameSet, startH1, startH2, startH3, startH4, startH5, startH6, startHead, startHiddenInput, startHR, startIFrame, startImage, startImageInput, startLabel, startLegend, startLI, startLink, startMap, startMeta, startOList, startOptGroup, startOption, startParagraph, startParam, startPasswordInput, startPre, startPushButton, startQuote, startRadioInput, startResetButton, startResetInput, startScript, startSelect, startSource, startSpan, startStyle, startSubmitButton, startSubmitInput, startTable, startTableCaption, startTBody, startTD, startTextArea, startTextInput, startTFoot, startTH, startTHead, startTR, startUList, startVideo, style, tabIndex, title, trustedStart
-
Constructor Details
-
DomScriptBuilder
DomScriptBuilder(DomBuilderImpl delegate)
-
-
Method Details
-
defer
Description copied from interface:ScriptBuilderIndicates that the user agent can defer processing of the script.- Specified by:
deferin interfaceScriptBuilder- See Also:
-
isChildElementSupported
public boolean isChildElementSupported()Description copied from interface:ElementBuilderBaseCheck if child elements are supported.- Specified by:
isChildElementSupportedin interfaceElementBuilderBase<ScriptBuilder>- Overrides:
isChildElementSupportedin classAbstractElementBuilderBase<ScriptBuilder>- Returns:
- true if supported, false if not.
-
src
Description copied from interface:ScriptBuilderURI designating an external script.- Specified by:
srcin interfaceScriptBuilder- See Also:
-
text
Description copied from interface:ElementBuilderBaseAppend text within the node.Once you append text to the element, you can no longer set attributes.
A string-based implementation will escape the text to prevent HTML/javascript code from executing. DOM based implementations are not required to escape the text if they directly set the innerText of an element.
- Specified by:
textin interfaceElementBuilderBase<ScriptBuilder>- Overrides:
textin classAbstractElementBuilderBase<ScriptBuilder>- Parameters:
text- the text to append- Returns:
- this builder
-
type
Description copied from interface:ScriptBuilderThe content type of the script language.- Specified by:
typein interfaceScriptBuilder- See Also:
-