public class FeedEntry extends AbstractFeedElement
| Constructor and Description |
|---|
FeedEntry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthor(FeedPerson aAuthor) |
void |
addCategory(FeedCategory aCategory) |
void |
addContributor(FeedPerson aContributor) |
void |
addLink(FeedLink aLink) |
List<FeedPerson> |
getAllAuthors() |
List<FeedCategory> |
getAllCategories() |
List<FeedPerson> |
getAllContributors() |
List<FeedLink> |
getAllLinks() |
com.helger.commons.microdom.IMicroElement |
getAsElement(String sElementName)
Convert this news feed element to an MicroElement with the given element
name.
|
IFeedContent |
getContent() |
com.helger.commons.url.ISimpleURL |
getID() |
FeedDate |
getPublished() |
IFeedTextConstruct |
getRights() |
FeedSource |
getSource() |
IFeedTextConstruct |
getSummary() |
IFeedTextConstruct |
getTitle() |
FeedDate |
getUpdated() |
boolean |
isValid()
Check if this element matches the specification.
|
void |
setContent(IFeedContent aContent) |
void |
setID(com.helger.commons.url.ISimpleURL aID) |
void |
setPublished(FeedDate aPublished) |
void |
setRights(IFeedTextConstruct aRights) |
void |
setSource(FeedSource aSource) |
void |
setSummary(IFeedTextConstruct aSummary) |
void |
setTitle(IFeedTextConstruct aTitle) |
void |
setUpdated(FeedDate aUpdated) |
getLanguage, setLanguage, setLanguagepublic void addAuthor(@Nonnull FeedPerson aAuthor)
@Nonnull @ReturnsMutableCopy public List<FeedPerson> getAllAuthors()
public void addCategory(@Nonnull FeedCategory aCategory)
@Nonnull @ReturnsMutableCopy public List<FeedCategory> getAllCategories()
public void setContent(@Nullable IFeedContent aContent)
@Nullable public IFeedContent getContent()
public void addContributor(@Nonnull FeedPerson aContributor)
@Nonnull @ReturnsMutableCopy public List<FeedPerson> getAllContributors()
public void setID(@Nullable com.helger.commons.url.ISimpleURL aID)
@Nullable public com.helger.commons.url.ISimpleURL getID()
public void setRights(@Nullable IFeedTextConstruct aRights)
@Nullable public IFeedTextConstruct getRights()
public void setSource(@Nullable FeedSource aSource)
@Nullable public FeedSource getSource()
public void setSummary(@Nullable IFeedTextConstruct aSummary)
@Nullable public IFeedTextConstruct getSummary()
public void setTitle(@Nullable IFeedTextConstruct aTitle)
@Nullable public IFeedTextConstruct getTitle()
public com.helger.commons.microdom.IMicroElement getAsElement(String sElementName)
IFeedElementIFeedElement.isValid() it
should be safe anyway to create an element.sElementName - The element name to use. May neither be null nor empty.IMicroElement and never null.public boolean isValid()
IFeedElementtrue if the element is valid, and false
otherwise.Copyright © 2014–2015 Philip Helger. All rights reserved.