Package com.independentsoft.office.odf
Class Script
java.lang.Object
com.independentsoft.office.odf.Script
Represents a script.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the content of the script.Gets the language of the script.voidsetContent(String content)Sets the content of the script.voidsetLanguage(String language)Sets the language of the script.toString()Converts the value of the current Script object to its equivalent string representation.
-
Constructor Details
-
Script
public Script()Initializes a new instance of the Script class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current Script object to its equivalent string representation. -
getContent
Gets the content of the script.- Returns:
- the content
-
setContent
Sets the content of the script.- Parameters:
content- the new content
-
getLanguage
Gets the language of the script.- Returns:
- the language
-
setLanguage
Sets the language of the script.- Parameters:
language- the new language
-