| java.lang.Object | |
| ↳ | com.google.gdata.data.spreadsheet.CustomElementCollection |
Extension that globs together all "gsx:" tags into one. Designed for row-based access to spreadsheets. extra tags. Another option is overriding ListEntry's getExtensionHandler method. Finally, this might be embedded as a private class inside of ListEntry.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| values | All values, indexed by the header column. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Locally clears the particular value.
| |||||||||||
Writes this cell as XML, omitting any unspecified fields.
| |||||||||||
Returns the suggested extension description.
| |||||||||||
Yields an XML handler for parsing a Cell element.
| |||||||||||
Gets a list of all tags that are set for this entry.
| |||||||||||
Gets the text at the cell, whose column is named columnHeader.
| |||||||||||
Locally clears all existing values and copies the contents of the other
element collection over.
| |||||||||||
Locally sets the value at the particular cell, specified by the
column name.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
All values, indexed by the header column. For instance, the pair "name", "bill" would mean that the cell in the column labelled "name" has the text "bill".
Locally clears the particular value. Note that if the entire row is cleared, the entry will be rejected. You must actually delete the row.
| columnHeader | The column header to clear. |
|---|
Writes this cell as XML, omitting any unspecified fields.
| w | XML writer |
|---|---|
| extProfile | Extension profile |
| IOException |
|---|
Returns the suggested extension description.
Yields an XML handler for parsing a Cell element.
| extProfile | Extension profile |
|---|---|
| namespace | Extension namespace |
| localName | Tag name, without the namespace prefix |
| attrs | Tag attributes |
| IOException | |
|---|---|
| ParseException |
Gets a list of all tags that are set for this entry. The initial order of the tags is preserved. For instance, this might return an iterable with "name", "address", "manager", "employeeid".
Gets the text at the cell, whose column is named columnHeader. For instance, if the spreadsheet has a column "Name", then calling getValue("name") will return the selected row's cell in that name column.
| columnHeader | The lowercase, stripped version of the column header |
|---|
Locally clears all existing values and copies the contents of the other element collection over.
| other | The custom element collection |
|---|
Locally sets the value at the particular cell, specified by the column name. For instance, setValueLocal("name", "Ensulato") will change the name column of this row to "Ensulato". To commit the change, you must . The particular column you specify must already exist in the spreadsheet; new columns are not automatically added.
| columnHeader | The header column (must already exist) |
|---|---|
| newContents | The new contents; may not start with an '=' sign |
| IllegalArgumentException | if the contents begins with an equals sign if a non-existent columnHeader is used. But, when adding a new entry, there needs to be a way to locally know the schema. |
|---|