com.aspose.html.dom.svg

Class SVGScriptElement

    • Constructor Detail

      • SVGScriptElement

        public SVGScriptElement(com.aspose.html.dom.DOMName name,
                                Document doc)

        Initializes a new instance of the SVGElement class.

        Parameters:
        name - The element name.
        doc - The document.
    • Method Detail

      • getHref

        public SVGAnimatedString getHref()

        Corresponds to attribute ‘xlink:href’ on the given element.

        Value: The ‘xlink:href’ of the given element.
        Specified by:
        getHref in interface ISVGURIReference
      • getCrossOrigin

        @DOMNameAttribute(name="crossOrigin")
        public java.lang.String getCrossOrigin()

        Corresponds to attribute ‘crossorigin’ on the given ‘script’ element.

        Throws:
        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.
      • setCrossOrigin

        @DOMNameAttribute(name="crossOrigin")
        public void setCrossOrigin(java.lang.String value)

        Corresponds to attribute ‘crossorigin’ on the given ‘script’ element.

        Throws:
        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.
      • getScript

        public com.aspose.html.dom.runtime.modules.Script getScript()

        Gets or sets the associated script.

        Specified by:
        getScript in interface com.aspose.html.dom.runtime.modules.ILinkScript
      • setScript

        public void setScript(com.aspose.html.dom.runtime.modules.Script value)

        Gets or sets the associated script.

        Specified by:
        setScript in interface com.aspose.html.dom.runtime.modules.ILinkScript