public class CellEntry extends BaseEntry<CellEntry>
BaseEntry.AtomHandler, BaseEntry.EntryStateExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandler| Modifier and Type | Field and Description |
|---|---|
static Category |
CATEGORY
Category used to label entries that contain cell data.
|
static java.lang.String |
KIND
Kind category term used to label the entries that contains cell data.
|
xmlBloblocalName, namespace| Constructor and Description |
|---|
CellEntry()
Constructs an empty CellEntry to be populated by the XML parsing process.
|
CellEntry(BaseEntry sourceEntry)
Constructs from a copy.
|
CellEntry(Cell cell)
Constructs a CellEntry with a new cell.
|
CellEntry(int row,
int col,
java.lang.String newInputValue)
Constructs a CellEntry that can be posted to overwrite an existing cell.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeInputValueLocal(java.lang.String newInputValue)
Updates the cell's formula so it can be sent back to the server.
|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the extensions used by the XML parser in the given profile object.
|
Cell |
getCell()
Yields the <gd:cell> element that makes up this Cell Entry.
|
void |
setAutomaticallyGeneratedContent(Content v)
Lets the GData server set the content.
|
void |
setAutomaticallyGeneratedTitle(TextConstruct v)
Lets the GData server set the title.
|
void |
setContent(Content v)
Throws an exception, preventing setting the server-generated field.
|
void |
setContent(TextConstruct v)
Throws an exception, preventing setting the server-generated field.
|
void |
setSummary(TextConstruct v)
Throws an exception, preventing setting the server-generated field.
|
void |
setTitle(TextConstruct v)
Throws an exception, preventing setting the server-generated field.
|
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, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setUpdated, setVersionId, update, visitChildrenaddExtension, 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, visitChildconsumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validatepublic static final java.lang.String KIND
public static final Category CATEGORY
public CellEntry()
public CellEntry(int row,
int col,
java.lang.String newInputValue)
row - the row location of the cellcol - the column location of the cellnewInputValue - the string to write the cell with; if it starts with
an "=" sign it is a formula, otherwise it is a literal valuepublic CellEntry(Cell cell)
public CellEntry(BaseEntry sourceEntry)
sourceEntry - source to copy frompublic Cell getCell()
public void setTitle(TextConstruct v)
public void setContent(TextConstruct v)
setContent in class BaseEntry<CellEntry>public void setContent(Content v)
setContent in class BaseEntry<CellEntry>public void setSummary(TextConstruct v)
setSummary in class BaseEntry<CellEntry>public void changeInputValueLocal(java.lang.String newInputValue)
newInputValue - the new input value (starts with '=' if a formula)public void declareExtensions(ExtensionProfile extProfile)
declareExtensions in interface Kind.AdaptordeclareExtensions in class ExtensionPointextProfile - the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)public void setAutomaticallyGeneratedTitle(TextConstruct v)
public void setAutomaticallyGeneratedContent(Content v)