| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.spreadsheet.Data | ||
Describes a data region of a table.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Data.InsertionMode | Insertion mode. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | INSERTIONMODE | XML "insertionMode" attribute name | |||||||||
| String | NUMROWS | XML "numRows" attribute name | |||||||||
| String | STARTROW | XML "startRow" attribute name | |||||||||
| String | XML_NAME | XML element name | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| INSERTIONMODE_ENUM_TO_ATTRIBUTE_VALUE | |||||||||||
| insertionMode | Insertion mode | ||||||||||
| numberOfRows | Number of rows in the data section | ||||||||||
| startIndex | Index of the first row of the data section (inclusive) | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Immutable constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a new column.
| |||||||||||
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
| |||||||||||
Returns the columns.
| |||||||||||
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
| |||||||||||
Returns the insertion mode.
| |||||||||||
Returns the number of rows in the data section.
| |||||||||||
Returns the index of the first row of the data section (inclusive).
| |||||||||||
Returns whether it has the columns.
| |||||||||||
Returns whether it has the insertion mode.
| |||||||||||
Returns whether it has the number of rows in the data section.
| |||||||||||
Returns whether it has the index of the first row of the data section
(inclusive).
| |||||||||||
Sets the insertion mode.
| |||||||||||
Sets the number of rows in the data section.
| |||||||||||
Sets the index of the first row of the data section (inclusive).
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Consumes attributes from the attribute helper.
| |||||||||||
Puts attributes into the attribute generator.
| |||||||||||
Checks the attributes to see if there are any problems.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
XML "insertionMode" attribute name
XML "numRows" attribute name
XML "startRow" attribute name
XML element name
Number of rows in the data section
Index of the first row of the data section (inclusive)
Default mutable constructor.
Immutable constructor.
| insertionMode | Insertion mode. |
|---|---|
| numberOfRows | Number of rows in the data section. |
| startIndex | Index of the first row of the data section (inclusive). |
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.
| extProfile | The ExtensionProfile to initialize. |
|---|
Returns the extension description, specifying whether it is required, and whether it is repeatable.
| required | Whether it is required |
|---|---|
| repeatable | Whether it is repeatable |
Returns the number of rows in the data section.
Returns the index of the first row of the data section (inclusive).
Returns whether it has the columns.
Returns whether it has the insertion mode.
Returns whether it has the number of rows in the data section.
Returns whether it has the index of the first row of the data section (inclusive).
Sets the insertion mode.
| insertionMode | Insertion mode or null to reset
|
|---|
Sets the number of rows in the data section.
| numberOfRows | Number of rows in the data section or null
to reset
|
|---|
Sets the index of the first row of the data section (inclusive).
| startIndex | Index of the first row of the data section (inclusive) or
null to reset
|
|---|
Consumes attributes from the attribute helper. May also use
consumeContent(boolean) to consume the element's text
content. Called from getHandler(ExtensionProfile, String, String, Attributes). Default implementation does
nothing, though generally this is discouraged unless there really are no
attributes.
| helper | Attribute helper |
|---|
| ParseException |
|---|
Puts attributes into the attribute generator. Called from
generate(XmlWriter, ExtensionProfile). Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.
| generator | Attribute generator |
|---|
Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.