Package org.odftoolkit.odfdom.type
Class CellRangeAddressList
- java.lang.Object
-
- org.odftoolkit.odfdom.type.CellRangeAddressList
-
- All Implemented Interfaces:
OdfDataType
public class CellRangeAddressList extends Object implements OdfDataType
This class represents the in OpenDocument format used data type cellRangeAddressList
-
-
Constructor Summary
Constructors Constructor Description CellRangeAddressList(List<CellRangeAddress> cellRangeAddressList)
Construct CellRangeAddressList by the parsing the given string
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CellRangeAddress>
getCellRangesAddressList()
Returns a list of CellRangeAddress from the CellRangeAddressList Objectstatic boolean
isValid(String stringValue)
check if the specified String is a valid cellRangeAddressList data typeString
toString()
Returns a space separated String Object representing this CellRangeAddressList's valuestatic CellRangeAddressList
valueOf(String stringValue)
Returns a CellRangeAddressList instance representing the specified String value
-
-
-
Constructor Detail
-
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 Detail
-
toString
public String toString()
Returns a space separated String Object representing this CellRangeAddressList's value
-
valueOf
public static CellRangeAddressList valueOf(String stringValue) throws IllegalArgumentException
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
public List<CellRangeAddress> getCellRangesAddressList()
Returns a list of CellRangeAddress from the CellRangeAddressList Object- Returns:
- a list of CellRangeAddress
-
isValid
public static boolean isValid(String stringValue)
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
-
-