/** * Loads the scripts contained in the <script> elements. */ public void loadScripts() { NodeList scripts = document.getElementsByTagNameNS (SVGConstants.SVG_NAMESPACE_URI, SVGConstants.SVG_SCRIPT_TAG); int len = scripts.getLength(); for (int i = 0; i < len; i++) { AbstractElement script = (AbstractElement) scripts.item(i); loadScript(script); } }
/** * Loads the scripts contained in the <script> elements. */ public void loadScripts() { NodeList scripts = document.getElementsByTagNameNS (SVGConstants.SVG_NAMESPACE_URI, SVGConstants.SVG_SCRIPT_TAG); int len = scripts.getLength(); for (int i = 0; i < len; i++) { AbstractElement script = (AbstractElement) scripts.item(i); loadScript(script); } }
/** * Loads the scripts contained in the <script> elements. */ public void loadScripts() { NodeList scripts = document.getElementsByTagNameNS (SVGConstants.SVG_NAMESPACE_URI, SVGConstants.SVG_SCRIPT_TAG); int len = scripts.getLength(); for (int i = 0; i < len; i++) { AbstractElement script = (AbstractElement) scripts.item(i); loadScript(script); } }