org.odftoolkit.odfdom.type
Class CellRangeAddressList

java.lang.Object
  extended by 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
CellRangeAddressList(List<CellRangeAddress> cellRangeAddressList)
          Construct CellRangeAddressList by the parsing the given string
 
Method Summary
 List<CellRangeAddress> getCellRangesAddressList()
          Returns a list of CellRangeAddress from the CellRangeAddressList Object
static boolean isValid(String stringValue)
          check if the specified String is a valid cellRangeAddressList data type
 String toString()
          Returns a space separated String Object representing this CellRangeAddressList's value
static CellRangeAddressList valueOf(String stringValue)
          Returns a CellRangeAddressList instance representing the specified String value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

Overrides:
toString in class Object
Returns:
return a string representation of the value of this CellRangeAddressList object

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


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.