Interface ScriptElement
-
- All Known Implementing Classes:
HtmlScript
public interface ScriptElementAn element which can handle scripts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCharsetAttribute()Returns the value of the attributecharset.java.lang.StringgetSrcAttribute()Returns the value of the attributesrc.booleanisDeferred()Returnstrueif this script is deferred.booleanisExecuted()Returns if executed.voidsetExecuted(boolean executed)Sets if executed.
-
-
-
Method Detail
-
isExecuted
boolean isExecuted()
Returns if executed.- Returns:
- if executed
-
isDeferred
boolean isDeferred()
Returnstrueif this script is deferred.- Returns:
trueif 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 attributesrc. Refer to the HTML 4.01 documentation for details on the use of this attribute.- Returns:
- the value of the attribute
srcor an empty string if that attribute isn't defined.
-
getCharsetAttribute
java.lang.String getCharsetAttribute()
Returns the value of the attributecharset. Refer to the HTML 4.01 documentation for details on the use of this attribute.- Returns:
- the value of the attribute
charsetor an empty string if that attribute isn't defined.
-
-