|
|||||||||
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<GoogleBaseEntry>
com.google.api.gbase.client.GoogleBaseEntry
public class GoogleBaseEntry
An object corresponding to one entry in a Google Base Atom XML file.
This kind of entries supports tags in the g: namespace.
GoogleBaseEntries are usually returned by
BaseFeed.getEntries()
,
GoogleBaseService.getEntry(java.net.URL)
, but they can also
be created independently.
Depending on the feed or URL you got the Entry from, it can contain:
getGoogleBaseAttributes()
, if it
is an item feed or a URL specifying an item.getGoogleBaseMetadata()
, if it
is a histogram or an item type.
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 |
---|
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 | |
---|---|
GoogleBaseEntry()
Creates a new entry. |
Method Summary | |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares extensions for the g: and gm: namespaces to an extension profile. |
GoogleBaseAttributesExtension |
getGoogleBaseAttributes()
Accesses tags in the g: namespace. |
MetadataEntryExtension |
getGoogleBaseMetadata()
Accesses tags in the gm: namespace (attribute histogram and item type descriptions). |
FeedLink<GoogleBaseMediaFeed> |
getMediaFeedLink()
Returns the FeedLink object pointing to the media feed,
or null if the media feed link is not provided (e.g. |
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, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getRights, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setPubControl, setPublished, setRights, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GoogleBaseEntry()
Method Detail |
---|
public GoogleBaseAttributesExtension getGoogleBaseAttributes()
public MetadataEntryExtension getGoogleBaseMetadata()
public FeedLink<GoogleBaseMediaFeed> getMediaFeedLink()
FeedLink
object pointing to the media feed,
or null if the media feed link is not provided (e.g. the entry
is obtained from the /snippets
feed).
public void declareExtensions(ExtensionProfile extProfile)
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- extension profile where the extensions will be declaredExtensionProfile.addDeclarations(Kind.Adaptor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |