|
void
|
addAdaptor(Kind.Adaptor adaptor)
|
|
E
|
createEntry()
Creates a new entry for the feed.
|
|
void
|
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
The implementation of this method for BaseFeed will declare any
extensions associated with the contained entry type.
|
|
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
|
generateFeedEnd(XmlWriter w)
|
|
void
|
generateFeedStart(ExtensionProfile extProfile, XmlWriter w, Collection<XmlNamespace> namespaces)
Generates everything that's in the feed up to and not including the
entries.
|
|
void
|
generateRss(XmlWriter w, ExtensionProfile extProfile)
Generates XML in the RSS format.
|
|
BaseFeed<?, ?>
|
getAdaptedFeed()
Locates and returns the most specific Kind.Adaptor feed
subtype for this feed.
|
|
<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.
|
|
boolean
|
getCanPost()
Gets the property that indicates if it is possible to post new entries
to the feed.
|
|
<T extends BaseEntry>
List<T>
|
getEntries(Class<T> returnClass)
Gets a list of entries of a particular kind.
|
|
List<E>
|
getEntries()
Returns the list of entries in this feed
|
|
Link
|
getEntryPostLink()
Returns the entry post link for the feed.
|
|
String
|
getEtag()
Returns the current entity tag value for this feed.
|
|
Link
|
getFeedBatchLink()
Returns the link that provides the URI that can be used to batch operations
to query, insert, update and delete entries on this feed.
|
|
XmlParser.ElementHandler
|
getHandler(ExtensionProfile p, String namespace, String localName, Attributes attrs)
|
|
int
|
getItemsPerPage()
Gets the number of items that will be returned per page for paged feeds.
|
|
String
|
getKind()
Returns the current gd:kind attribute value for this feed.
|
|
Link
|
getNextLink()
Returns the link that provides the URI of next page in a paged feed.
|
|
Link
|
getPreviousLink()
Returns the link that provides the URI of previous page in a paged feed.
|
|
String
|
getSelectedFields()
Returns the current fields selection for this partial feed.
|
|
F
|
getSelf()
Returns the current representation of the feed by requesting it from
the associated service using the feed's self link.
|
|
Link
|
getSelfLink()
Returns the self link for the feed.
|
|
Service
|
getService()
Returns that GData Service instance associated with this feed.
|
|
int
|
getStartIndex()
Gets the starting index of the contained entries for paged feeds.
|
|
int
|
getTotalResults()
Gets the total number of results associated with this feed.
|
|
String
|
getVersionId()
Returns the entity version for this feed.
|
|
<T extends E extends BaseEntry>
T
|
insert(T newEntry)
Inserts a new Entry into the feed, if the feed is currently
associated with a Service.
|
|
void
|
parseAtom(ExtensionProfile extProfile, XmlEventSource source)
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
<F extends BaseFeed>
F
|
readFeed(ParseSource source, Class<F> feedClass, ExtensionProfile extProfile)
This method provides the base implementation of feed reading using either
static or dynamic typing.
|
|
static
BaseFeed<?, ?>
|
readFeed(ParseSource source)
Reads a feed representation from the provided ParseSource.
|
|
void
|
setCanPost(boolean v)
Sets the property that indicates if it is possible to post new entries
to the feed.
|
|
void
|
setEntries(List<E> entryList)
Sets the list to use for storing the entry list
|
|
void
|
setEtag(String v)
Sets the current entity tag value for this feed.
|
|
void
|
setItemsPerPage(int v)
Sets the number of items that will be returned per page for paged feeds.
|
|
void
|
setKind(String v)
Sets the current gd:kind attribute value for this feed.
|
|
void
|
setSelectedFields(String fields)
Sets the current fields selection for this partial feed.
|
|
void
|
setService(Service v)
Sets that GData Service instance associated with this feed.
|
|
void
|
setStartIndex(int v)
Sets the starting index of the contained entries for paged feeds.
|
|
void
|
setTotalResults(int v)
Sets the total number of results associated with this feed.
|
|
void
|
setVersionId(String v)
Sets the entity version for this feed.
|
|
void
|
visitChildren(ExtensionVisitor ev)
Called to visit all children of this extension point.
|