public class FeedSource extends AbstractFeedElement
| Constructor and Description |
|---|
FeedSource() |
getLanguage, setLanguage, setLanguagepublic final void addAuthor(@Nonnull FeedPerson aAuthor)
@Nonnull @ReturnsMutableCopy public final List<FeedPerson> getAuthors()
public final void addCategory(@Nonnull FeedCategory aCategory)
@Nonnull @ReturnsMutableCopy public final List<FeedCategory> getCategories()
public final void addContributor(@Nonnull FeedPerson aContributor)
@Nonnull @ReturnsMutableCopy public final List<FeedPerson> getContributors()
public final void setGenerator(@Nullable FeedGenerator aGenerator)
@Nullable public final FeedGenerator getGenerator()
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.commons.microdom.IMicroElement aElement)
@Nonnull public com.helger.commons.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–2015 Philip Helger. All rights reserved.