@DOMObjectAttribute @DOMNameAttribute(name="SVGScriptElement") public class SVGScriptElement extends SVGElement implements com.aspose.html.dom.runtime.modules.ILinkScript, ISVGURIReference
The SVGScriptElement interface corresponds to the ‘script’ element.
SVGElement
,
ISVGURIReference
Node.Flags
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 |
---|
SVGScriptElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the
SVGElement class. |
Modifier and Type | Method and Description |
---|---|
String |
getCrossOrigin()
Corresponds to attribute ‘crossorigin’ on the given ‘script’ element.
|
SVGAnimatedString |
getHref()
Corresponds to attribute ‘xlink:href’ on the given element.
|
com.aspose.html.dom.runtime.modules.Script |
getScript()
Gets or sets the associated script.
|
String |
getType()
Corresponds to attribute ‘type’ on the given ‘script’ element.
|
void |
setCrossOrigin(String value)
Corresponds to attribute ‘crossorigin’ on the given ‘script’ element.
|
void |
setScript(com.aspose.html.dom.runtime.modules.Script value)
Gets or sets the associated script.
|
void |
setType(String value)
Corresponds to attribute ‘type’ on the given ‘script’ element.
|
addSVGAttributeBinding, blur, focus, getClassName_SVGElement_New, getId_SVGElement_New, getOwnerSVGElement, getStyle, getSVGAttributeBindings, getSVGContext, getTabIndex, getViewportElement, isReadOnly, isRendered, setId_SVGElement_New, setTabIndex
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 SVGScriptElement(com.aspose.html.dom.DOMName name, Document doc)
Initializes a new instance of the SVGElement
class.
name
- The element name.doc
- The document.public SVGAnimatedString getHref()
Corresponds to attribute ‘xlink:href’ on the given element.
Value: The ‘xlink:href’ of the given element.getHref
in interface ISVGURIReference
@DOMNameAttribute(name="type") public String getType()
Corresponds to attribute ‘type’ on the given ‘script’ element.
DOMException
- Code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The attribute ‘type’ of the given ‘script’ element.@DOMNameAttribute(name="type") public void setType(String value)
Corresponds to attribute ‘type’ on the given ‘script’ element.
DOMException
- Code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The attribute ‘type’ of the given ‘script’ element.@DOMNameAttribute(name="crossOrigin") public String getCrossOrigin()
Corresponds to attribute ‘crossorigin’ on the given ‘script’ element.
DOMException
- Code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The attribute ‘crossorigin’ of the given ‘script’ element.@DOMNameAttribute(name="crossOrigin") public void setCrossOrigin(String value)
Corresponds to attribute ‘crossorigin’ on the given ‘script’ element.
DOMException
- Code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The attribute ‘crossorigin’ of the given ‘script’ element.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