public interface FeedAdapter<E>
This interface allows data structure of any form to be exposed as RSS feeds, just by writing a stateless singleton adapter code that implements this interface.
Modifier and Type | Method and Description |
---|---|
String |
getEntryAuthor(E entry)
Author of this entry.
|
String |
getEntryDescription(E entry)
(Potentially lengthy) plain text to be attached to the feed.
|
String |
getEntryID(E entry)
Unique ID of each entry.
|
Calendar |
getEntryTimestamp(E entry)
Timestamp of the last change in this entry.
|
String |
getEntryTitle(E entry)
Gets the human readable title of the entry.
|
String |
getEntryUrl(E entry)
Gets the URL that represents this entry.
|
String getEntryTitle(E entry)
String getEntryUrl(E entry)
String getEntryID(E entry)
String getEntryDescription(E entry)
Copyright © 2004–2022. All rights reserved.