Interface ScriptElement

  • All Known Implementing Classes:
    HtmlScript

    public interface ScriptElement
    An element which can handle scripts.
    • Method Detail

      • isExecuted

        boolean isExecuted()
        Returns if executed.
        Returns:
        if executed
      • isDeferred

        boolean isDeferred()
        Returns true if this script is deferred.
        Returns:
        true if this script is deferred
      • setExecuted

        void setExecuted​(boolean executed)
        Sets if executed.
        Parameters:
        executed - if executed
      • getSrcAttribute

        java.lang.String getSrcAttribute()
        Returns the value of the attribute src. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute src or an empty string if that attribute isn't defined.
      • getCharsetAttribute

        java.lang.String getCharsetAttribute()
        Returns the value of the attribute charset. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute charset or an empty string if that attribute isn't defined.