@DOMObjectAttribute @DOMNameAttribute(name="HTMLScriptElement") public class HTMLScriptElement extends HTMLElement implements com.aspose.html.dom.runtime.modules.ILinkScript
Node.Flags
OnAbort, OnAbortDelegate, OnBlur, OnBlurDelegate, OnCancel, OnCancelDelegate, OnCanplay, OnCanplayDelegate, OnCanPlayThrough, OnCanPlayThroughDelegate, OnChange, OnChangeDelegate, OnClick, OnClickDelegate, OnCueChange, OnCueChangeDelegate, OnDblClick, OnDblClickDelegate, OnDurationChange, OnDurationChangeDelegate, OnEmptied, OnEmptiedDelegate, OnEnded, OnEndedDelegate, OnError, OnErrorDelegate, OnFocus, OnFocusDelegate, OnInput, OnInputDelegate, OnInvalid, OnInvalidDelegate, OnKeyDown, OnKeyDownDelegate, OnKeyPress, OnKeyPressDelegate, OnKeyUp, OnKeyUpDelegate, OnLoad, OnLoadDelegate, OnLoadedData, OnLoadedDataDelegate, OnLoadedMetadata, OnLoadedMetadataDelegate, OnLoadStart, OnLoadStartDelegate, OnMouseDown, OnMouseDownDelegate, OnMouseEnter, OnMouseEnterDelegate, OnMouseLeave, OnMouseLeaveDelegate, OnMouseMove, OnMouseMoveDelegate, OnMouseOut, OnMouseOutDelegate, OnMouseOver, OnMouseOverDelegate, OnMouseUp, OnMouseUpDelegate, OnMouseWheel, OnMouseWheelDelegate, OnPause, OnPauseDelegate, OnPlay, OnPlayDelegate, OnPlaying, OnPlayingDelegate, OnProgress, OnProgressDelegate, OnRateChange, OnRateChangeDelegate, OnReset, OnResetDelegate, OnResize, OnResizeDelegate, OnScroll, OnScrollDelegate, OnSeeked, OnSeekedDelegate, OnSeeking, OnSeekingDelegate, OnSelect, OnSelectDelegate, OnShow, OnShowDelegate, OnStalled, OnStalledDelegate, OnSubmit, OnSubmitDelegate, OnSuspend, OnSuspendDelegate, OnTimeUpdate, OnTimeUpdateDelegate, OnToggle, OnToggleDelegate, OnVolumeChange, OnVolumeChangeDelegate, OnWaiting, OnWaitingDelegate
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, flags, nodeDocument, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
EventMap
PropertyChanged
Constructor and Description |
---|
HTMLScriptElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the
HTMLScriptElement class. |
Modifier and Type | Method and Description |
---|---|
String |
getCharset()
The character encoding of the linked resource.
|
boolean |
getDefer()
Indicates that the user agent can defer processing of the script.
|
String |
getEvent()
Reserved for future use.
|
com.aspose.html.dom.runtime.modules.Script |
getScript()
Gets or sets the associated script.
|
String |
getSrc() |
String |
getText()
The script content of the element.
|
String |
getType()
The content type of the script language.
|
void |
setCharset(String value)
The character encoding of the linked resource.
|
void |
setDefer(boolean value)
Indicates that the user agent can defer processing of the script.
|
void |
setEvent(String value)
Reserved for future use.
|
void |
setScript(com.aspose.html.dom.runtime.modules.Script value)
Gets or sets the associated script.
|
void |
setSrc(String value) |
void |
setText(String value)
The script content of the element.
|
void |
setType(String value)
The content type of the script language.
|
getAttributeOrDefault, getChildOfType, getClassName_Rename_Namesake, getDir, getId_Rename_Namesake, getLang, getParentOfType, getRowIndexInScopeOfCollection, getStyle, getTitle, setAttribute, setAttribute, setAttribute, setClassName_Rename_Namesake, setDir, setId_Rename_Namesake, setLang, setTitle, toggleAttribute
attachShadow, equals, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getChildren, getClassName, getComputedStyle, getComputedStyle, getData, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getLocalName, getNamespaceURI, getNextElementSibling, getNodeName, getNodeType, getOuterHTML, getPrefix, getPreviousElementSibling, getSchemaTypeInfo, getShadowRoot, getStyleContainer, getTag, getTagName, getTextContent, hasAttribute, hasAttributeNS, hasAttributes, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setData, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setOuterHTML, setTextContent
adoptNode, appendChild, cloneNode, deepClone, getBaseURI, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRegisteredObservers, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceAll, replaceChild, setNodeValue, setParentNode, setPrefix, toString
addEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListener
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public HTMLScriptElement(com.aspose.html.dom.DOMName name, Document doc)
Initializes a new instance of the HTMLScriptElement
class.
name
- The DOM name.doc
- The document.@DOMNameAttribute(name="text") public String getText()
The script content of the element.
@DOMNameAttribute(name="text") public void setText(String value)
The script content of the element.
@DOMNameAttribute(name="event") public String getEvent()
Reserved for future use.
@DOMNameAttribute(name="event") public void setEvent(String value)
Reserved for future use.
@DOMNameAttribute(name="charset") public String getCharset()
The character encoding of the linked resource. See the charset attribute definition in HTML 4.01.
@DOMNameAttribute(name="charset") public void setCharset(String value)
The character encoding of the linked resource. See the charset attribute definition in HTML 4.01.
@DOMNameAttribute(name="defer") public boolean getDefer()
Indicates that the user agent can defer processing of the script. See the defer attribute definition in HTML 4.01.
@DOMNameAttribute(name="defer") public void setDefer(boolean value)
Indicates that the user agent can defer processing of the script. See the defer attribute definition in HTML 4.01.
@DOMNameAttribute(name="src") public String getSrc()
@DOMNameAttribute(name="src") public void setSrc(String value)
@DOMNameAttribute(name="type") public String getType()
The content type of the script language. See the type attribute definition in HTML 4.01.
@DOMNameAttribute(name="type") public void setType(String value)
The content type of the script language. See the type attribute definition in HTML 4.01.
public com.aspose.html.dom.runtime.modules.Script getScript()
Gets or sets the associated script.
getScript
in interface com.aspose.html.dom.runtime.modules.ILinkScript
public void setScript(com.aspose.html.dom.runtime.modules.Script value)
Gets or sets the associated script.
setScript
in interface com.aspose.html.dom.runtime.modules.ILinkScript