Class SimpleVariableDeclaration
java.lang.Object
com.independentsoft.office.odf.fields.SimpleVariableDeclaration
Represents the name of a sheet that is currently being edited in a Spreadsheet document.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the SimpleVariableDeclaration class.Instantiates a new simple variable declaration. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.getName()Gets the name, subject to varying requirements.getType()Gets the value-type of a variable.voidSets the name, subject to varying requirements.voidsetType(VariableValueType type)Sets the value-type of a variable.toString()Converts the value of the current SimpleVariableDeclaration object to its equivalent string representation.
-
Constructor Details
-
SimpleVariableDeclaration
public SimpleVariableDeclaration()Initializes a new instance of the SimpleVariableDeclaration class. -
SimpleVariableDeclaration
Instantiates a new simple variable declaration.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current SimpleVariableDeclaration object to its equivalent string representation. -
getName
Gets the name, subject to varying requirements.- Returns:
- the name
-
setName
Sets the name, subject to varying requirements.- Parameters:
name- the new name
-
getType
Gets the value-type of a variable.- Returns:
- the type
-
setType
Sets the value-type of a variable.- Parameters:
type- the new type
-