org.odftoolkit.odfdom.type
Class CellRangeAddressList

java.lang.Object
  extended by org.odftoolkit.odfdom.type.CellRangeAddressList
All Implemented Interfaces:
OdfDataType

public class CellRangeAddressList
extends java.lang.Object
implements OdfDataType

This class represents the in OpenDocument format used data type


Constructor Summary
CellRangeAddressList(java.util.List<CellRangeAddress> cellRangeAddressList)
          Construct CellRangeAddressList by the parsing the given string
 
Method Summary
 java.util.List<CellRangeAddress> getCellRangesAddressList()
          Returns a list of CellRangeAddress from the CellRangeAddressList Object
static boolean isValid(java.lang.String stringValue)
          check if the specified String is a valid data type
 java.lang.String toString()
          Returns a space separated String Object representing this CellRangeAddressList's value
static CellRangeAddressList valueOf(java.lang.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(java.util.List<CellRangeAddress> cellRangeAddressList)
                     throws java.lang.IllegalArgumentException
Construct CellRangeAddressList by the parsing the given string

Parameters:
cellRangeAddressList - The String to be parsed into CellRangeAddressList
Throws:
java.lang.IllegalArgumentException - if the given argument is not a valid CellRangeAddressList
Method Detail

toString

public java.lang.String toString()
Returns a space separated String Object representing this CellRangeAddressList's value

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

valueOf

public static CellRangeAddressList valueOf(java.lang.String stringValue)
                                    throws java.lang.IllegalArgumentException
Returns a CellRangeAddressList instance representing the specified String value

Parameters:
stringValue - a String value
Returns:
return a CellRangeAddressList instance representing stringValue
Throws:
java.lang.IllegalArgumentException - if the given argument is not a valid CellRangeAddressList

getCellRangesAddressList

public java.util.List<CellRangeAddress> getCellRangesAddressList()
Returns a list of CellRangeAddress from the CellRangeAddressList Object

Returns:
a list of CellRangeAddress

isValid

public static boolean isValid(java.lang.String stringValue)
check if the specified String is a valid data type

Parameters:
stringValue - the value to be tested
Returns:
true if the value of argument is valid for data type false otherwise


Copyright © 2008-2010 ODF Toolkit Project. All Rights Reserved.