public class Feed extends FeedSource
| Constructor and Description |
|---|
Feed() |
| Modifier and Type | Method and Description |
|---|---|
Feed |
addEntry(FeedEntry aEntry) |
List<FeedEntry> |
getAllEntries() |
com.helger.commons.microdom.IMicroDocument |
getAsDocument() |
com.helger.commons.microdom.IMicroElement |
getAsElement(String sElementName)
Convert this news feed element to an MicroElement with the given element
name.
|
int |
getEntryCount() |
boolean |
isValid()
Check if this element matches the specification.
|
addAuthor, addCategory, addContributor, addLink, fillElement, getAuthors, getCategories, getContributors, getGenerator, getIcon, getID, getLinks, getLogo, getRights, getSubtitle, getTitle, getUpdated, setGenerator, setIcon, setID, setLogo, setRights, setSubtitle, setTitle, setUpdatedgetLanguage, setLanguage, setLanguage@Nonnegative public int getEntryCount()
@Nonnull public com.helger.commons.microdom.IMicroDocument getAsDocument()
public com.helger.commons.microdom.IMicroElement getAsElement(String sElementName)
IFeedElementIFeedElement.isValid() it
should be safe anyway to create an element.getAsElement in interface IFeedElementgetAsElement in class FeedSourcesElementName - The element name to use. May neither be null nor empty.IMicroElement and never null.public boolean isValid()
IFeedElementisValid in interface IFeedElementisValid in class FeedSourcetrue if the element is valid, and false
otherwise.Copyright © 2014–2015 Philip Helger. All rights reserved.