Package com.rometools.rome.io.impl
Class RSS092Generator
- java.lang.Object
-
- com.rometools.rome.io.impl.BaseWireFeedGenerator
-
- com.rometools.rome.io.impl.RSS090Generator
-
- com.rometools.rome.io.impl.RSS091UserlandGenerator
-
- com.rometools.rome.io.impl.RSS092Generator
-
- All Implemented Interfaces:
WireFeedGenerator
- Direct Known Subclasses:
RSS093Generator
public class RSS092Generator extends RSS091UserlandGenerator
Feed Generator for RSS 0.92
-
-
Constructor Summary
Constructors Modifier Constructor Description RSS092Generator()protectedRSS092Generator(String type, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckChannelConstraints(org.jdom2.Element eChannel)protected voidcheckImageConstraints(org.jdom2.Element eImage)protected voidcheckItemConstraints(org.jdom2.Element eItem)protected voidcheckItemsConstraints(org.jdom2.Element parent)protected voidcheckTextInputConstraints(org.jdom2.Element eTextInput)protected org.jdom2.ElementgenerateCategoryElement(Category category)protected org.jdom2.ElementgenerateCloud(Cloud cloud)protected org.jdom2.ElementgenerateEnclosure(Enclosure enclosure)protected org.jdom2.ElementgenerateSourceElement(Source source)protected intgetNumberOfEnclosures(List<Enclosure> enclosures)protected voidpopulateChannel(Channel channel, org.jdom2.Element eChannel)Populates the given channel with parsed data from the ROME element that holds the channel data.protected voidpopulateItem(Item item, org.jdom2.Element eItem, int index)-
Methods inherited from class com.rometools.rome.io.impl.RSS091UserlandGenerator
addChannel, createDocument, createRootElement, generateSkipDaysElement, generateSkipHoursElement, getFeedNamespace, getVersion, isHourFormat24, populateFeed, populateImage
-
Methods inherited from class com.rometools.rome.io.impl.RSS090Generator
addImage, addItem, addItems, addTextInput, checkLength, checkNotNullAndLength, generate, generateSimpleElement, getContentNamespace, getRDFNamespace, getTextInputLabel, populateTextInput
-
Methods inherited from class com.rometools.rome.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
-
-
-
-
Method Detail
-
populateChannel
protected void populateChannel(Channel channel, org.jdom2.Element eChannel)
Description copied from class:RSS090GeneratorPopulates the given channel with parsed data from the ROME element that holds the channel data.- Overrides:
populateChannelin classRSS091UserlandGenerator- Parameters:
channel- the channel into which parsed data will be added.eChannel- the XML element that holds the data for the channel.
-
generateCloud
protected org.jdom2.Element generateCloud(Cloud cloud)
-
populateItem
protected void populateItem(Item item, org.jdom2.Element eItem, int index)
- Overrides:
populateItemin classRSS091UserlandGenerator
-
generateSourceElement
protected org.jdom2.Element generateSourceElement(Source source)
-
generateEnclosure
protected org.jdom2.Element generateEnclosure(Enclosure enclosure)
-
generateCategoryElement
protected org.jdom2.Element generateCategoryElement(Category category)
-
checkChannelConstraints
protected void checkChannelConstraints(org.jdom2.Element eChannel) throws FeedException- Overrides:
checkChannelConstraintsin classRSS091UserlandGenerator- Throws:
FeedException
-
checkImageConstraints
protected void checkImageConstraints(org.jdom2.Element eImage) throws FeedException- Overrides:
checkImageConstraintsin classRSS091UserlandGenerator- Throws:
FeedException
-
checkTextInputConstraints
protected void checkTextInputConstraints(org.jdom2.Element eTextInput) throws FeedException- Overrides:
checkTextInputConstraintsin classRSS091UserlandGenerator- Throws:
FeedException
-
checkItemsConstraints
protected void checkItemsConstraints(org.jdom2.Element parent) throws FeedException- Overrides:
checkItemsConstraintsin classRSS090Generator- Throws:
FeedException
-
checkItemConstraints
protected void checkItemConstraints(org.jdom2.Element eItem) throws FeedException- Overrides:
checkItemConstraintsin classRSS091UserlandGenerator- Throws:
FeedException
-
-