public class SpreadsheetEntry extends BaseEntry<SpreadsheetEntry>
BaseEntry.AtomHandler, BaseEntry.EntryState
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
AbstractExtension.AttributesHandler
Modifier and Type | Field and Description |
---|---|
static Category |
CATEGORY
Category used to label entries that contain spreadsheet data.
|
static java.lang.String |
KIND
Kind category term used to label the entries that contains spreadsheet
data.
|
xmlBlob
localName, namespace
Constructor and Description |
---|
SpreadsheetEntry()
Constructs a new uninitialized entry, to be populated by the
GData parsers.
|
SpreadsheetEntry(BaseEntry sourceEntry)
Constructs a new entry by doing a shallow copy from another BaseEntry
instance.
|
Modifier and Type | Method and Description |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares extensions (although Spreadsheet Kind currently has none).
|
WorksheetEntry |
getDefaultWorksheet()
Gets the first worksheet in the spreadsheet.
|
java.lang.String |
getKey()
Gets the non-user-friendly key that is used to access the spreadsheet.
|
Link |
getSpreadsheetLink()
Gets the link with which you can open up the spreadsheet in a Web
browser, the full Google Spreadsheets user interface.
|
java.net.URL |
getWorksheetFeedUrl()
Gets the URL for this spreadsheet's worksheets feed.
|
java.util.List<WorksheetEntry> |
getWorksheets()
Gets all worksheet entries that are part of this spreadsheet.
|
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
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
public static final java.lang.String KIND
public static final Category CATEGORY
public SpreadsheetEntry()
public SpreadsheetEntry(BaseEntry sourceEntry)
public Link getSpreadsheetLink()
public java.net.URL getWorksheetFeedUrl()
public java.util.List<WorksheetEntry> getWorksheets() throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
public WorksheetEntry getDefaultWorksheet() throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
public java.lang.String getKey()
public void declareExtensions(ExtensionProfile extProfile)
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)