public class GoogleBaseEntry extends BaseEntry<GoogleBaseEntry>
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.BaseEntry.AtomHandler, BaseEntry.EntryState
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
AbstractExtension.AttributesHandler
xmlBlob
localName, namespace
Constructor and Description |
---|
GoogleBaseEntry()
Creates a new entry.
|
Modifier and Type | Method and Description |
---|---|
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. |
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 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)