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
      • 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