|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.BaseEntry<WorksheetEntry>
com.google.gdata.data.spreadsheet.WorksheetEntry
public class WorksheetEntry
One worksheet, when listing all worksheets within a spreadsheet. For instance, this might list Sheet1, Sheet2, Sheet3, etc.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
BaseEntry.AtomHandler, BaseEntry.EntryState |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
AbstractExtension.AttributesHandler |
Field Summary | |
---|---|
static Category |
CATEGORY
Category used to label entries that contain worksheet data. |
static java.lang.String |
KIND
Kind category term used to label the entries that contains worksheet data. |
Fields inherited from class com.google.gdata.data.BaseEntry |
---|
state |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Constructor Summary | |
---|---|
WorksheetEntry()
Constructs a new uninitialized entry to be populated by the GData parsers. |
|
WorksheetEntry(BaseEntry sourceEntry)
Constructs a new entry by doing a shallow copy from another BaseEntry instance. |
|
WorksheetEntry(int rowCount,
int colCount)
Constructs a new entry with the given row count and column count |
Method Summary | |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares any extensions. |
java.net.URL |
getCellFeedUrl()
Gets the URL for this worksheet's cells feed. |
int |
getColCount()
Gets the total number of columns. |
java.net.URL |
getListFeedUrl()
Gets the URL for this worksheet's list feed. |
int |
getRowCount()
Gets the total number of rows. |
void |
setColCount(int count)
Sets the total number of columns. |
void |
setRowCount(int count)
Sets the total number of rows. |
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KIND
public static final Category CATEGORY
Constructor Detail |
---|
public WorksheetEntry()
public WorksheetEntry(int rowCount, int colCount)
rowCount
- the number of rows in the worksheetcolCount
- the number of columns in a worksheetpublic WorksheetEntry(BaseEntry sourceEntry)
Method Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public java.net.URL getListFeedUrl()
You can then create a query using this URL to query this worksheet's rows, using the very powerful query model.
public java.net.URL getCellFeedUrl()
With this feed, you can query for arbitrary ranges of cells.
public int getRowCount()
public void setRowCount(int count)
count
- the new row count.public int getColCount()
public void setColCount(int count)
count
- the new column count.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |