|
void
|
addAdaptor(Kind.Adaptor adaptor)
|
|
void
|
addHtmlLink(String htmlUri, String lang, String title)
Adds a link pointing to an HTML representation.
|
|
void
|
addLink(Link link)
|
|
Link
|
addLink(String rel, String type, String href)
Adds a link with the given rel, type, and href.
|
|
void
|
delete()
Deletes this entry by sending a request to the associated GData
service.
|
|
void
|
generate(XmlWriter w, ExtensionProfile p)
Generates an XML representation for the extension.
|
|
void
|
generateAtom(XmlWriter w, ExtensionProfile extProfile)
Generates XML in the Atom format.
|
|
void
|
generateRss(XmlWriter w, ExtensionProfile extProfile)
Generates XML in the RSS format.
|
|
BaseEntry<?>
|
getAdaptedEntry()
Locates and returns the most specific Kind.Adaptor BaseEntry
subtype for this entry.
|
|
<A extends Kind.Adaptor>
A
|
getAdaptor(Class<A> adaptorClass)
|
|
Collection<Kind.Adaptor>
|
getAdaptors()
Returns the collection of Kind.Adaptor instances associated with the
this Adaptable instance.
|
|
List<Person>
|
getAuthors()
Returns the list of all authors on this resource.
|
|
boolean
|
getCanEdit()
Returns true if the entry can be modified by a client.
|
|
Set<Category>
|
getCategories()
Returns a set of categories on this resource.
|
|
Content
|
getContent()
Gets the content of this entry.
|
|
Content.ChildHandlerInfo
|
getContentHandlerInfo(ExtensionProfile extProfile, Attributes attrs)
Returns information about the content element processing.
|
|
List<Person>
|
getContributors()
|
|
Link
|
getEditLink()
Retrieves the resource edit link.
|
|
DateTime
|
getEdited()
Get a DateTime instance representing the last time this entry was
edited.
|
|
String
|
getEtag()
Gets the value of the gd:etag attribute for this resource.
|
|
XmlParser.ElementHandler
|
getHandler(ExtensionProfile p, String namespace, String localName, Attributes attrs)
|
|
Link
|
getHtmlLink()
Retrieves the first HTML link.
|
|
String
|
getId()
Get the unique id for this resource.
|
|
String
|
getKind()
Returns the value of the gd:kind attribute for this resource.
|
|
Link
|
getLink(String rel, String type)
Retrieves the first link with the supplied rel and/or
type value.
|
|
List<Link>
|
getLinks()
Returns a list of atom:link elements on this resource.
|
|
List<Link>
|
getLinks(String relToMatch, String typeToMatch)
Return the links that match the given rel and type values.
|
|
Link
|
getMediaEditLink()
Retrieves the media resource edit link.
|
|
String
|
getPlainTextContent()
Assumes the element's contents are plain-text and
returns its value as a string
|
|
PubControl
|
getPubControl()
Gets the app:control tag.
|
|
DateTime
|
getPublished()
Get a DateTime instance representing the time that this entry was
created.
|
|
Link
|
getResumableEditMediaLink()
Retrieves the media resource resumable upload link.
|
|
TextConstruct
|
getRights()
|
|
String
|
getSelectedFields()
Returns the current fields selection for this partial entry.
|
|
E
|
getSelf()
Retrieves the current version of this Entry by requesting it from
the associated GData service.
|
|
Link
|
getSelfLink()
Retrieves the resource access link.
|
|
Service
|
getService()
|
|
Source
|
getSource()
|
|
TextConstruct
|
getSummary()
Returns the atom:summary element of this entry.
|
|
TextContent
|
getTextContent()
Assumes the content element's contents are text and
returns them as a TextContent.
|
|
TextConstruct
|
getTitle()
Returns the atom:title element of this resource.
|
|
DateTime
|
getUpdated()
Get a DateTime instance representing the last time this resource
was updated.
|
|
String
|
getVersionId()
Version ID.
|
|
boolean
|
isDraft()
Draft status.
|
|
void
|
parseAtom(ExtensionProfile extProfile, XmlEventSource eventSource)
Parses XML in the Atom format from a parser-defined content source.
|
|
void
|
parseAtom(ExtensionProfile extProfile, InputStream input)
Parses XML in the Atom format.
|
|
void
|
parseAtom(ExtensionProfile extProfile, Reader reader)
Parses XML in the Atom format.
|
|
static
<T extends BaseEntry>
T
|
readEntry(ParseSource source, Class<T> entryClass, ExtensionProfile extProfile)
Reads an entry of type T using the given extension profile.
|
|
static
BaseEntry<?>
|
readEntry(ParseSource source)
Reads an entry representation from the provided ParseSource.
|
|
void
|
removeLinks()
Remove all links.
|
|
void
|
removeLinks(String relToMatch, String typeToMatch)
Remove all links that match the given rel and type values.
|
|
void
|
setCanEdit(boolean v)
Sets whether the server allows this entry to be modified by the client.
|
|
void
|
setContent(Content v)
|
|
void
|
setContent(TextConstruct tc)
|
|
void
|
setDraft(Boolean v)
Set draft status.
|
|
void
|
setEdited(DateTime v)
Set the last time this entry was edited using the app:edited element.
|
|
void
|
setEtag(String v)
Sets the value of the gd:etag attribute for this resource.
|
|
void
|
setId(String v)
Sets the unique id for this resource.
|
|
void
|
setKind(String v)
Sets the value of the gd:kind attribute for this resource.
|
|
void
|
setPubControl(PubControl value)
Sets the app:control tag, which usually contains app:draft.
|
|
void
|
setPublished(DateTime v)
Sets the date of publishing for this entry.
|
|
void
|
setRights(TextConstruct v)
|
|
void
|
setSelectedFields(String v)
Sets the current fields selection for this partial entry.
|
|
void
|
setService(Service s)
Sets the service that this resource is being used with.
|
|
void
|
setSource(Source v)
|
|
void
|
setSummary(TextConstruct v)
|
|
void
|
setTitle(TextConstruct v)
|
|
void
|
setUpdated(DateTime v)
Sets the last time this resource was updated.
|
|
void
|
setVersionId(String v)
Sets the versionId.
|
|
E
|
update()
Updates this entry by sending the current representation to the
associated GData service.
|
|
void
|
visitChildren(ExtensionVisitor ev)
Called to visit all children of this extension point.
|