public class WorksheetEntry extends BaseEntry<WorksheetEntry>
BaseEntry.AtomHandler
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, 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
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
public static final java.lang.String KIND
public static final Category CATEGORY
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)
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.