Top Description Constructors Methods
com.rometools.rome.io.impl

public Class RSS092Generator

extends RSS091UserlandGenerator
Class Inheritance
Known Direct Subclasses
com.rometools.rome.io.impl.RSS093Generator
Imports
java.util.List, org.jdom2.Attribute, .Element, com.rometools.rome.feed.rss.Category, .Channel, .Cloud, .Enclosure, .Item, .Source, com.rometools.rome.io.FeedException

Feed Generator for RSS 0.92

Constructor Summary

AccessConstructor and Description
public
protected
RSS092Generator(final String type, final String version)

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
protected void
protected void
protected void
protected Element
protected Element
generateCloud(final Cloud cloud)

protected Element
generateEnclosure(final Enclosure enclosure)

protected Element
protected int
protected void
populateChannel(final Channel
the channel into which parsed data will be added.
channel
,
final Element
the XML element that holds the data for the channel.
eChannel
)

Overrides com.rometools.rome.io.impl.RSS091UserlandGenerator.populateChannel.

Populates the given channel with parsed data from the ROME element that holds the channel data.
protected void
Inherited from com.rometools.rome.io.impl.RSS091UserlandGenerator:
addChannelcreateDocumentcreateRootElementgenerateSkipDaysElementgenerateSkipHoursElementgetFeedNamespacegetVersionisHourFormat24populateFeedpopulateImage

Constructor Detail

RSS092Generatorback to summary
public RSS092Generator()
RSS092Generatorback to summary
protected RSS092Generator(final String type, final String version)

Method Detail

checkChannelConstraintsback to summary
protected void checkChannelConstraints(final Element eChannel) throws FeedException

Overrides com.rometools.rome.io.impl.RSS091UserlandGenerator.checkChannelConstraints.

Annotations
@Override
checkImageConstraintsback to summary
protected void checkImageConstraints(final Element eImage) throws FeedException

Overrides com.rometools.rome.io.impl.RSS091UserlandGenerator.checkImageConstraints.

Annotations
@Override
checkItemConstraintsback to summary
protected void checkItemConstraints(final Element eItem) throws FeedException

Overrides com.rometools.rome.io.impl.RSS091UserlandGenerator.checkItemConstraints.

Annotations
@Override
checkItemsConstraintsback to summary
protected void checkItemsConstraints(final Element parent) throws FeedException

Overrides com.rometools.rome.io.impl.RSS090Generator.checkItemsConstraints.

Annotations
@Override
checkTextInputConstraintsback to summary
protected void checkTextInputConstraints(final Element eTextInput) throws FeedException

Overrides com.rometools.rome.io.impl.RSS091UserlandGenerator.checkTextInputConstraints.

Annotations
@Override
generateCategoryElementback to summary
protected Element generateCategoryElement(final Category category)
generateCloudback to summary
protected Element generateCloud(final Cloud cloud)
generateEnclosureback to summary
protected Element generateEnclosure(final Enclosure enclosure)
generateSourceElementback to summary
protected Element generateSourceElement(final Source source)
getNumberOfEnclosuresback to summary
protected int getNumberOfEnclosures(final List<Enclosure> enclosures)
populateChannelback to summary
protected void populateChannel(final Channel channel, final Element eChannel)

Overrides com.rometools.rome.io.impl.RSS091UserlandGenerator.populateChannel.

Doc from com.rometools.rome.io.impl.RSS090Generator.populateChannel.

Populates the given channel with parsed data from the ROME element that holds the channel data.

Parameters
channel:Channel

the channel into which parsed data will be added.

eChannel:Element

the XML element that holds the data for the channel.

Annotations
@Override
populateItemback to summary
protected void populateItem(final Item item, final Element eItem, final int index)

Overrides com.rometools.rome.io.impl.RSS091UserlandGenerator.populateItem.

Annotations
@Override