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

public Class RSS091UserlandGenerator

extends RSS090Generator
Class Inheritance
Known Direct Subclasses
com.rometools.rome.io.impl.RSS092Generator, com.rometools.rome.io.impl.RSS091NetscapeGenerator
Imports
java.util.Date, .List, .Locale, org.jdom2.Attribute, .Document, .Element, .Namespace, com.rometools.rome.feed.rss.Channel, .Content, .Description, .Image, .Item, com.rometools.rome.io.FeedException

Feed Generator for RSS 0.91

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
protected void
protected void
protected void
protected Document
protected Element
protected Element
protected Element
protected Namespace
protected String
protected boolean
isHourFormat24()

To be overriden by RSS 0.91 Netscape and RSS 0.94

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.RSS090Generator.populateChannel.

Populates the given channel with parsed data from the ROME element that holds the channel data.
protected void
protected void
protected void
populateItem(final Item item, final Element eItem, final int index)

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

Inherited from com.rometools.rome.io.impl.RSS090Generator:
addImageaddItemaddItemsaddTextInputcheckItemsConstraintscheckLengthcheckNotNullAndLengthgenerategenerateSimpleElementgetContentNamespacegetRDFNamespacegetTextInputLabelpopulateTextInput

Field Detail

versionback to summary
private final String version

Constructor Detail

RSS091UserlandGeneratorback to summary
public RSS091UserlandGenerator()
RSS091UserlandGeneratorback to summary
protected RSS091UserlandGenerator(final String type, final String version)

Method Detail

addChannelback to summary
protected void addChannel(final Channel channel, final Element parent) throws FeedException

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

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

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

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

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

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

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

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

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

Annotations
@Override
createDocumentback to summary
protected Document createDocument(final Element root)

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

Annotations
@Override
createRootElementback to summary
protected Element createRootElement(final Channel channel)

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

Annotations
@Override
generateSkipDaysElementback to summary
protected Element generateSkipDaysElement(final List<String> days)
generateSkipHoursElementback to summary
protected Element generateSkipHoursElement(final List<Integer> hours)
getFeedNamespaceback to summary
protected Namespace getFeedNamespace()

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

Annotations
@Override
getVersionback to summary
protected String getVersion()
isHourFormat24back to summary
protected boolean isHourFormat24()

To be overriden by RSS 0.91 Netscape and RSS 0.94

populateChannelback to summary
protected void populateChannel(final Channel channel, final Element eChannel)

Overrides com.rometools.rome.io.impl.RSS090Generator.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
populateFeedback to summary
protected void populateFeed(final Channel channel, final Element parent) throws FeedException

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

Annotations
@Override
populateImageback to summary
protected void populateImage(final Image image, final Element eImage)

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

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

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

Annotations
@Override