| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private final Class | |
| private List | |
| private String | |
| private List | |
| private List | |
| public static final Set | CONVENIENCE_PROPERTIES
Unmodifiable Set containing the convenience properties of this class. |
| private final Set | |
| private static final CopyFromHelper | |
| private SyndContent | |
| private List | |
| private List | |
| private static final Set | |
| private String | |
| private List | |
| private List | |
| private static final long | |
| private SyndFeed | |
| private SyndContent | |
| private Date | |
| private String | |
| private Object |
| Access | Constructor and Description |
|---|---|
| protected | SyndEntryImpl(final Class<?> beanClass, final Set<String>
set containing the convenience properties of the SyndEntryImpl
(the are ignored during cloning, check CloneableBean for details). convenienceProperties)For implementations extending SyndEntryImpl to be able to use the ObjectBean functionality with extended interfaces. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: a clone of the object.Overrides java. Implements com. |
| public void | copyFrom(final CopyFrom
the instance to copy properties from. obj)Implements com. |
| public boolean | Returns: true if 'this' object is equal to the 'other' object.he reference object with which to compare. other)Overrides java. |
| public SyndLink | findRelatedLink(final String relation)
Implements com. |
| public String | getAuthor()
Implements com. |
| public List | getAuthors()
Implements com. |
| public List | Returns: a list of SyndCategoryImpl elements with the entry categories, an empty list if none.Implements com. |
| public String | getComments()
Implements com. |
| public List | Returns: a list of SyndContentImpl elements with the entry contents, an empty list if none.Implements com. |
| public List | getContributors()
Implements com. |
| private DCModule | |
| public SyndContent | Returns: the entry description, null if none.Implements com. |
| public List | Returns: a list of SyndEnclosure elements with the entry enclosures, an empty list if none.Implements com. |
| public List | Returns: list of JDOM nodes containing channel-level foreign markup, an empty list if none.Implements com. |
| public Class | getInterface()
Implements com. |
| public String | Returns: the entry link, null if none.Implements com. |
| public List | Returns: Returns the links.Implements com.
|
| public Module | Returns: The module with the given URI, null if none.the URI of the ModuleImpl. uri)Implements com. |
| public List | Returns: a list of ModuleImpl elements with the entry modules, an empty list if none.Implements com. |
| public Date | Returns: the entry published date, null if none.Implements com. |
| public SyndFeed | |
| public String | Returns: the entry title, null if none.Implements com. |
| public SyndContent | Returns: the entry title, null if none.Implements com. |
| public Date | Returns: Returns the updatedDate.Implements com.
|
| public String | Returns: the entry URI, null if none.Implements com. |
| public Object | getWireEntry()
Implements com. |
| public int | Returns: the hashcode of the bean object.Overrides java. |
| public void | setAuthor(final String
the entry author to set, null if none. author)Implements com. |
| public void | setAuthors(final List<SyndPerson>
the feed authors to set, null if none. authors)Implements com. |
| public void | setCategories(final List<SyndCategory>
the list of SyndCategoryImpl elements with the entry categories to set, an
empty list or null if none. categories)Implements com. |
| public void | setComments(final String
URL comments)Implements com. |
| public void | setContents(final List<SyndContent>
the list of SyndContentImpl elements with the entry contents to set, an empty
list or null if none. contents)Implements com. |
| public void | setContributors(final List<SyndPerson>
the feed contributors to set, null if none. contributors)Implements com. |
| public void | setDescription(final SyndContent
the entry description to set, null if none. description)Implements com. |
| public void | setEnclosures(final List<SyndEnclosure>
the list of SyndEnclosure elements with the entry enclosures to set, an
empty list or null if none. enclosures)Implements com. |
| public void | setForeignMarkup(final List<Element>
list of JDOM nodes containing channel-level foreign markup, an empty
list if none. foreignMarkup)Implements com. |
| public void | setLink(final String
the entry link to set, null if none. link)Implements com. |
| public void | setLinks(final List<SyndLink>
The links to set. links)Implements com.
|
| public void | setModules(final List<Module>
the list of ModuleImpl elements with the entry modules to set, an empty list
or null if none. modules)Implements com. |
| public void | setPublishedDate(final Date
the entry published date to set, null if none. publishedDate)Implements com. |
| public void | setSource(final SyndFeed
the original SyndFeed that contained this article source)Implements com.
|
| public void | setTitle(final String
the entry title to set, null if none. title)Implements com. |
| public void | setTitleEx(final SyndContent
the entry title to set, null if none. title)Implements com. |
| public void | setUpdatedDate(final Date
The updatedDate to set. updatedDate)Implements com.
|
| public void | setUri(final String
the entry URI to set, null if none. uri)Implements com. |
| public void | |
| public String | Returns: String representation for the object.Overrides java. |
| authors | back to summary |
|---|---|
| private List<SyndPerson> authors | |
| beanClass | back to summary |
|---|---|
| private final Class<?> beanClass | |
| categories | back to summary |
|---|---|
| private List<SyndCategory> categories | |
| comments | back to summary |
|---|---|
| private String comments | |
| contents | back to summary |
|---|---|
| private List<SyndContent> contents | |
| contributors | back to summary |
|---|---|
| private List<SyndPerson> contributors | |
| CONVENIENCE_PROPERTIES | back to summary |
|---|---|
| public static final Set<String> CONVENIENCE_PROPERTIES Unmodifiable Set containing the convenience properties of this class. Convenience properties are mapped to Modules, for cloning the convenience properties can be ignored as the will be copied as part of the module cloning. | |
| convenienceProperties | back to summary |
|---|---|
| private final Set<String> convenienceProperties | |
| COPY_FROM_HELPER | back to summary |
|---|---|
| private static final CopyFromHelper COPY_FROM_HELPER | |
| description | back to summary |
|---|---|
| private SyndContent description | |
| enclosures | back to summary |
|---|---|
| private List<SyndEnclosure> enclosures | |
| foreignMarkup | back to summary |
|---|---|
| private List<Element> foreignMarkup | |
| IGNORE_PROPERTIES | back to summary |
|---|---|
| private static final Set<String> IGNORE_PROPERTIES | |
| link | back to summary |
|---|---|
| private String link | |
| links | back to summary |
|---|---|
| private List<SyndLink> links | |
| modules | back to summary |
|---|---|
| private List<Module> modules | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| source | back to summary |
|---|---|
| private SyndFeed source | |
| title | back to summary |
|---|---|
| private SyndContent title | |
| updatedDate | back to summary |
|---|---|
| private Date updatedDate | |
| uri | back to summary |
|---|---|
| private String uri | |
| wireEntry | back to summary |
|---|---|
| private Object wireEntry | |
| SyndEntryImpl | back to summary |
|---|---|
| protected SyndEntryImpl(final Class<?> beanClass, final Set<String> convenienceProperties) For implementations extending SyndEntryImpl to be able to use the ObjectBean functionality with extended interfaces.
| |
| SyndEntryImpl | back to summary |
|---|---|
| public SyndEntryImpl() | |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides java. Implements com. Creates a deep 'bean' clone of the object.
| |
| copyFrom | back to summary |
|---|---|
| public void copyFrom(final CopyFrom obj) Implements com. Doc from com. Copies all the properties of the given bean into this one. Any existing properties in this bean are lost. This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeed bean implementation to a Hibernate ready implementation.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object other) Overrides java. Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
| |
| findRelatedLink | back to summary |
|---|---|
| public SyndLink findRelatedLink(final String relation) Implements com. Doc from com. Returns the first instance of a SyndLink with the specified relation, or null
| |
| getAuthor | back to summary |
|---|---|
| public String getAuthor() Implements com. Doc from com. Returns the name of the first entry author in the collection of authors. For Atom feeds, this returns the authors as a list of SyndPerson objects, for RSS feeds this method is a convenience method, it maps to the Dublin Core module creator.
| |
| getAuthors | back to summary |
|---|---|
| public List Implements com. Doc from com. Returns the entry authors. For Atom feeds, this returns the authors as a list of SyndPerson objects.
| |
| getCategories | back to summary |
|---|---|
| public List Implements com. Returns the entry categories.
| |
| getComments | back to summary |
|---|---|
| public String getComments() Implements com. Doc from com. URL of a page for comments relating to the item. | |
| getContents | back to summary |
|---|---|
| public List Implements com. Returns the entry contents.
| |
| getContributors | back to summary |
|---|---|
| public List Implements com. Doc from com. Returns the feed author. For Atom feeds, this returns the contributors as a list of SyndPerson objects
| |
| getDCModule | back to summary |
|---|---|
| private DCModule getDCModule() Returns the Dublin Core module of the feed.
| |
| getDescription | back to summary |
|---|---|
| public SyndContent getDescription() Implements com. Returns the entry description.
| |
| getEnclosures | back to summary |
|---|---|
| public List Implements com. Returns the entry enclosures.
| |
| getForeignMarkup | back to summary |
|---|---|
| public List Implements com. Returns foreign markup found at channel level.
| |
| getInterface | back to summary |
|---|---|
| public Class Implements com. Doc from com. Returns the interface the copyFrom works on. This is useful when dealing with properties that may have multiple implementations. For example, Module.
| |
| getLink | back to summary |
|---|---|
| public String getLink() Implements com. Returns the entry link.
| |
| getLinks | back to summary |
|---|---|
| public List Implements com. Returns the links
| |
| getModule | back to summary |
|---|---|
| public Module getModule(final String uri) Implements com. Returns the module identified by a given URI.
| |
| getModules | back to summary |
|---|---|
| public List Implements com. Returns the entry modules.
| |
| getPublishedDate | back to summary |
|---|---|
| public Date getPublishedDate() Implements com. Returns the entry published date. This method is a convenience method, it maps to the Dublin Core module date.
| |
| getSource | back to summary |
|---|---|
| public SyndFeed getSource() Implements com. Doc from com. Returns the entry source. This returns the entry source as a SyndFeed
| |
| getTitle | back to summary |
|---|---|
| public String getTitle() Implements com. Returns the entry title.
| |
| getTitleEx | back to summary |
|---|---|
| public SyndContent getTitleEx() Implements com. Returns the entry title as a text construct.
| |
| getUpdatedDate | back to summary |
|---|---|
| public Date getUpdatedDate() Implements com. Returns the updatedDate
| |
| getUri | back to summary |
|---|---|
| public String getUri() Implements com. Returns the entry URI. How the entry URI maps to a concrete feed type (RSS or Atom) depends on the concrete feed type. This is explained in detail in Rome documentation, Feed and entry URI mapping. The returned URI is a normalized URI as specified in RFC 2396bis.
| |
| getWireEntry | back to summary |
|---|---|
| public Object getWireEntry() Implements com. Doc from com. Return the original item this SyndEntry is generated from. The type of the object returned depends on the original type of the feed. Atom 0.3/1.0 will return com.rometools.rome.feed.atom.Entry, while RSS will return com.rometools.rome.feed.rss.Item.java. If this entry was not generated from a WireFeed, or the SyndFeed was not set to preserve the WireFeed then it will return null | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hashcode value for the object. It follows the contract defined by the Object hashCode() method.
| |
| setAuthor | back to summary |
|---|---|
| public void setAuthor(final String author) Implements com. Sets the entry author. This method is a convenience method, it maps to the Dublin Core module creator.
| |
| setAuthors | back to summary |
|---|---|
| public void setAuthors(final List<SyndPerson> authors) Implements com. Doc from com. Sets the entry authors. For Atom feeds, this sets the authors as a list of SyndPerson objects.
| |
| setCategories | back to summary |
|---|---|
| public void setCategories(final List<SyndCategory> categories) Implements com. Sets the entry categories. This method is a convenience method, it maps to the Dublin Core module subjects.
| |
| setComments | back to summary |
|---|---|
| public void setComments(final String comments) Implements com. Doc from com. URL of a page for comments relating to the item. | |
| setContents | back to summary |
|---|---|
| public void setContents(final List<SyndContent> contents) Implements com. Sets the entry contents.
| |
| setContributors | back to summary |
|---|---|
| public void setContributors(final List<SyndPerson> contributors) Implements com. Doc from com. Sets the feed contributors. Returns contributors as a list of SyndPerson objects.
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(final SyndContent description) Implements com. Sets the entry description.
| |
| setEnclosures | back to summary |
|---|---|
| public void setEnclosures(final List<SyndEnclosure> enclosures) Implements com. Sets the entry enclosures.
| |
| setForeignMarkup | back to summary |
|---|---|
| public void setForeignMarkup(final List<Element> foreignMarkup) Implements com. Sets foreign markup found at channel level.
| |
| setLink | back to summary |
|---|---|
| public void setLink(final String link) Implements com. Sets the entry link.
| |
| setLinks | back to summary |
|---|---|
| public void setLinks(final List<SyndLink> links) Implements com. Set the links
| |
| setModules | back to summary |
|---|---|
| public void setModules(final List<Module> modules) Implements com. Sets the entry modules.
| |
| setPublishedDate | back to summary |
|---|---|
| public void setPublishedDate(final Date publishedDate) Implements com. Sets the entry published date. This method is a convenience method, it maps to the Dublin Core module date.
| |
| setSource | back to summary |
|---|---|
| public void setSource(final SyndFeed source) Implements com. Doc from com. Sets the entry source feed (for use if different from containing feed)
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(final String title) Implements com. Sets the entry title.
| |
| setTitleEx | back to summary |
|---|---|
| public void setTitleEx(final SyndContent title) Implements com. Sets the entry title as a text construct.
| |
| setUpdatedDate | back to summary |
|---|---|
| public void setUpdatedDate(final Date updatedDate) Implements com. Set the updatedDate
| |
| setUri | back to summary |
|---|---|
| public void setUri(final String uri) Implements com. Sets the entry URI. How the entry URI maps to a concrete feed type (RSS or Atom) depends on the concrete feed type. This is explained in detail in Rome documentation, Feed and entry URI mapping.
| |
| setWireEntry | back to summary |
|---|---|
| public void setWireEntry(final Object wireEntry) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns the String representation for the object.
| |