Package com.rometools.rome.io.impl
Class RSS10Generator
- java.lang.Object
-
- com.rometools.rome.io.impl.BaseWireFeedGenerator
-
- com.rometools.rome.io.impl.RSS090Generator
-
- com.rometools.rome.io.impl.RSS10Generator
-
- All Implemented Interfaces:
WireFeedGenerator
public class RSS10Generator extends RSS090Generator
Feed Generator for RSS 1.0
-
-
Constructor Summary
Constructors Modifier Constructor Description RSS10Generator()protectedRSS10Generator(String feedType)
-
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.NamespacegetFeedNamespace()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.RSS090Generator
addChannel, addImage, addItem, addItems, addTextInput, checkLength, checkNotNullAndLength, createDocument, createRootElement, generate, generateSimpleElement, getContentNamespace, getRDFNamespace, getTextInputLabel, populateFeed, populateImage, populateTextInput
-
Methods inherited from class com.rometools.rome.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
-
-
-
-
Constructor Detail
-
RSS10Generator
public RSS10Generator()
-
RSS10Generator
protected RSS10Generator(String feedType)
-
-
Method Detail
-
getFeedNamespace
protected org.jdom2.Namespace getFeedNamespace()
- Overrides:
getFeedNamespacein classRSS090Generator
-
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 classRSS090Generator- Parameters:
channel- the channel into which parsed data will be added.eChannel- the XML element that holds the data for the channel.
-
populateItem
protected void populateItem(Item item, org.jdom2.Element eItem, int index)
- Overrides:
populateItemin classRSS090Generator
-
checkChannelConstraints
protected void checkChannelConstraints(org.jdom2.Element eChannel) throws FeedException- Overrides:
checkChannelConstraintsin classRSS090Generator- Throws:
FeedException
-
checkImageConstraints
protected void checkImageConstraints(org.jdom2.Element eImage) throws FeedException- Overrides:
checkImageConstraintsin classRSS090Generator- Throws:
FeedException
-
checkTextInputConstraints
protected void checkTextInputConstraints(org.jdom2.Element eTextInput) throws FeedException- Overrides:
checkTextInputConstraintsin classRSS090Generator- 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 classRSS090Generator- Throws:
FeedException
-
-