com.aspose.html

Class HTMLScriptElement

    • Constructor Detail

      • HTMLScriptElement

        public HTMLScriptElement(DOMName name,
                                 Document doc)

        Initializes a new instance of the HTMLScriptElement class.

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

      • getCharset

        @DOMNameAttribute(name="charset")
        public String getCharset()

        The character encoding of the linked resource. See the charset attribute definition in HTML 4.01.

      • setCharset

        @DOMNameAttribute(name="charset")
        public void setCharset(String value)

        The character encoding of the linked resource. See the charset attribute definition in HTML 4.01.

      • getDefer

        @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.

      • setDefer

        @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.

      • getType

        @DOMNameAttribute(name="type")
        public String getType()

        The content type of the script language. See the type attribute definition in HTML 4.01.

      • setType

        @DOMNameAttribute(name="type")
        public void setType(String value)

        The content type of the script language. See the type attribute definition in HTML 4.01.