org.lobobrowser.html.domimpl

Class HTMLScriptElementImpl

Implemented Interfaces:
Element, CSS2PropertiesContext, HTMLElement, HTMLScriptElement, Node, ModelNode, ScriptableDelegate

public class HTMLScriptElementImpl
extends HTMLElementImpl
implements HTMLScriptElement

Field Summary

Fields inherited from class org.lobobrowser.html.domimpl.ElementImpl

attributes

Fields inherited from class org.lobobrowser.html.domimpl.NodeImpl

document, logger, nodeList, notificationsSuspended, parentNode, treeLock, uiNode

Constructor Summary

HTMLScriptElementImpl()
HTMLScriptElementImpl(String name)

Method Summary

boolean
getDefer()
Indicates that the user agent can defer processing of the script.
String
getEvent()
Reserved for future use.
String
getHtmlFor()
Reserved for future use.
String
getSrc()
URI [IETF RFC 2396] designating an external script.
String
getText()
The script content of the element.
String
getType()
The content type of the script language.
protected void
processScript()
void
setDefer(boolean defer)
Indicates that the user agent can defer processing of the script.
void
setEvent(String event)
Reserved for future use.
void
setHtmlFor(String htmlFor)
Reserved for future use.
void
setSrc(String src)
URI [IETF RFC 2396] designating an external script.
void
setText(String text)
The script content of the element.
void
setType(String type)
The content type of the script language.
Object
setUserData(String key, Object data, UserDataHandler handler)

Methods inherited from class org.lobobrowser.html.domimpl.HTMLElementImpl

addStyleSheetDeclarations, appendInnerHTMLImpl, appendOuterHTMLImpl, assignAttributeField, createRenderState, findStyleDeclarations, forgetLocalStyle, forgetStyle, getAncestor, getAncestorForJavaClass, getAncestorWithClass, getAncestorWithId, getAttributeAsBoolean, getAttributeAsInt, getCharset, getClassName, getCssInputSourceForDecl, getCurrentStyle, getFormInputs, getInnerHTML, getOffsetHeight, getOffsetLeft, getOffsetTop, getOffsetWidth, getOuterHTML, getParentStyle, getStyle, informInvalid, informInvalidAttibute, informLayoutInvalid, setCharset, setClassName, setCurrentStyle, setInnerHTML, setMouseOver, setStyle, toString, warn, warn

Methods inherited from class org.lobobrowser.html.domimpl.ElementImpl

appendInnerTextImpl, assignAttributeField, createSimilarNode, equalAttributes, getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getAttributes, getDir, getElementsByTagName, getElementsByTagNameNS, getId, getInnerText, getLang, getLocalName, getNodeName, getNodeType, getNodeValue, getRawInnerText, getSchemaTypeInfo, getTagName, getTitle, hasAttribute, hasAttributeNS, hasAttributes, isTagName, normalizeAttributeName, removeAttribute, removeAttributeNS, removeAttributeNode, setAttribute, setAttributeImpl, setAttributeNS, setAttributeNode, setAttributeNodeNS, setDir, setId, setIdAttribute, setIdAttributeNS, setIdAttributeNode, setInnerText, setLang, setNodeValue, setTitle, toString

Methods inherited from class org.lobobrowser.html.domimpl.NodeImpl

appendChild, cloneNode, compareDocumentPosition, createRenderState, createSimilarNode, equalAttributes, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getAttributes, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeList, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousSibling, getRenderState, getTextContent, getUINode, getUserAgentContext, getUserData, hasAttributes, hasChildNodes, informExternalScriptLoading, informInvalid, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualNode, isEqualOrDescendentOf, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenImpl, removeChild, removeChildAt, removeChildren, removeChildrenImpl, replaceAdjacentTextNodes, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setNodeValue, setPrefix, setTextContent, setUINode, setUserData, toString, warn, warn

Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate

getScriptable, setScriptable

Constructor Details

HTMLScriptElementImpl

public HTMLScriptElementImpl()

HTMLScriptElementImpl

public HTMLScriptElementImpl(String name)

Method Details

getDefer

public boolean getDefer()
Indicates that the user agent can defer processing of the script. See the defer attribute definition in HTML 4.01.
Specified by:
getDefer in interface HTMLScriptElement

getEvent

public String getEvent()
Reserved for future use.
Specified by:
getEvent in interface HTMLScriptElement

getHtmlFor

public String getHtmlFor()
Reserved for future use.
Specified by:
getHtmlFor in interface HTMLScriptElement

getSrc

public String getSrc()
URI [IETF RFC 2396] designating an external script. See the src attribute definition in HTML 4.01.
Specified by:
getSrc in interface HTMLScriptElement

getText

public String getText()
The script content of the element.
Specified by:
getText in interface HTMLScriptElement

getType

public String getType()
The content type of the script language. See the type attribute definition in HTML 4.01.
Specified by:
getType in interface HTMLScriptElement

processScript

protected final void processScript()

setDefer

public void setDefer(boolean defer)
Indicates that the user agent can defer processing of the script. See the defer attribute definition in HTML 4.01.
Specified by:
setDefer in interface HTMLScriptElement

setEvent

public void setEvent(String event)
Reserved for future use.
Specified by:
setEvent in interface HTMLScriptElement

setHtmlFor

public void setHtmlFor(String htmlFor)
Reserved for future use.
Specified by:
setHtmlFor in interface HTMLScriptElement

setSrc

public void setSrc(String src)
URI [IETF RFC 2396] designating an external script. See the src attribute definition in HTML 4.01.
Specified by:
setSrc in interface HTMLScriptElement

setText

public void setText(String text)
The script content of the element.
Specified by:
setText in interface HTMLScriptElement

setType

public void setType(String type)
The content type of the script language. See the type attribute definition in HTML 4.01.
Specified by:
setType in interface HTMLScriptElement

setUserData

public Object setUserData(String key,
                          Object data,
                          UserDataHandler handler)
Overrides:
setUserData in interface NodeImpl