public class FeedSource extends AbstractFeedElement
| Constructor and Description |
|---|
FeedSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthor(FeedPerson aAuthor) |
void |
addCategory(FeedCategory aCategory) |
void |
addContributor(FeedPerson aContributor) |
void |
addLink(FeedLink aLink) |
protected void |
fillElement(com.helger.xml.microdom.IMicroElement aElement) |
com.helger.xml.microdom.IMicroElement |
getAsElement(String sElementName)
Convert this news feed element to an MicroElement with the given element
name.
|
com.helger.commons.collection.ext.ICommonsList<FeedPerson> |
getAuthors() |
com.helger.commons.collection.ext.ICommonsList<FeedCategory> |
getCategories() |
com.helger.commons.collection.ext.ICommonsList<FeedPerson> |
getContributors() |
FeedGenerator |
getGenerator() |
String |
getIcon() |
String |
getID() |
com.helger.commons.collection.ext.ICommonsList<FeedLink> |
getLinks() |
String |
getLogo() |
IFeedTextConstruct |
getRights() |
IFeedTextConstruct |
getSubtitle() |
IFeedTextConstruct |
getTitle() |
FeedDate |
getUpdated() |
boolean |
isValid()
Check if this element matches the specification.
|
void |
setGenerator(FeedGenerator aGenerator) |
void |
setIcon(String sIcon) |
void |
setID(String sID) |
void |
setLogo(String sLogo) |
void |
setRights(IFeedTextConstruct aRights) |
void |
setSubtitle(IFeedTextConstruct aSubtitle) |
void |
setTitle(IFeedTextConstruct aTitle) |
void |
setUpdated(FeedDate aUpdated) |
getLanguage, setLanguage, setLanguagepublic final void addAuthor(@Nonnull FeedPerson aAuthor)
@Nonnull @ReturnsMutableCopy public final com.helger.commons.collection.ext.ICommonsList<FeedPerson> getAuthors()
public final void addCategory(@Nonnull FeedCategory aCategory)
@Nonnull @ReturnsMutableCopy public final com.helger.commons.collection.ext.ICommonsList<FeedCategory> getCategories()
public final void addContributor(@Nonnull FeedPerson aContributor)
@Nonnull @ReturnsMutableCopy public final com.helger.commons.collection.ext.ICommonsList<FeedPerson> getContributors()
public final void setGenerator(@Nullable FeedGenerator aGenerator)
@Nullable public final FeedGenerator getGenerator()
@Nonnull @ReturnsMutableCopy public final com.helger.commons.collection.ext.ICommonsList<FeedLink> getLinks()
public final void setRights(@Nullable IFeedTextConstruct aRights)
@Nullable public final IFeedTextConstruct getRights()
public final void setSubtitle(@Nullable IFeedTextConstruct aSubtitle)
@Nullable public final IFeedTextConstruct getSubtitle()
public final void setTitle(@Nullable IFeedTextConstruct aTitle)
@Nullable public final IFeedTextConstruct getTitle()
protected final void fillElement(@Nonnull com.helger.xml.microdom.IMicroElement aElement)
@Nonnull public com.helger.xml.microdom.IMicroElement getAsElement(@Nonnull @Nonempty 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–2017 Philip Helger. All rights reserved.