Package org.odftoolkit.odfdom.type
Class CellRangeAddressList
java.lang.Object
org.odftoolkit.odfdom.type.CellRangeAddressList
- All Implemented Interfaces:
OdfDataType
This class represents the in OpenDocument format used data type cellRangeAddressList
-
Constructor Summary
ConstructorDescriptionCellRangeAddressList
(List<CellRangeAddress> cellRangeAddressList) Construct CellRangeAddressList by the parsing the given string -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of CellRangeAddress from the CellRangeAddressList Objectstatic boolean
check if the specified String is a valid cellRangeAddressList data typetoString()
Returns a space separated String Object representing this CellRangeAddressList's valuestatic CellRangeAddressList
Returns a CellRangeAddressList instance representing the specified String value
-
Constructor Details
-
CellRangeAddressList
public CellRangeAddressList(List<CellRangeAddress> cellRangeAddressList) throws IllegalArgumentException Construct CellRangeAddressList by the parsing the given string- Parameters:
cellRangeAddressList
- The String to be parsed into CellRangeAddressList- Throws:
IllegalArgumentException
- if the given argument is not a valid CellRangeAddressList
-
-
Method Details
-
toString
Returns a space separated String Object representing this CellRangeAddressList's value -
valueOf
Returns a CellRangeAddressList instance representing the specified String value- Parameters:
stringValue
- a String value- Returns:
- return a CellRangeAddressList instance representing stringValue
- Throws:
IllegalArgumentException
- if the given argument is not a valid CellRangeAddressList
-
getCellRangesAddressList
Returns a list of CellRangeAddress from the CellRangeAddressList Object- Returns:
- a list of CellRangeAddress
-
isValid
check if the specified String is a valid cellRangeAddressList data type- Parameters:
stringValue
- the value to be tested- Returns:
- true if the value of argument is valid for cellRangeAddressList data type false otherwise
-