com.sun.syndication.io.impl

Class RSS091UserlandGenerator

public class RSS091UserlandGenerator extends RSS090Generator

Feed Generator for RSS 0.91

Author: Elaine Chien

Field Summary
String_version
Constructor Summary
RSS091UserlandGenerator()
protected RSS091UserlandGenerator(String type, String version)
Method Summary
protected voidaddChannel(Channel channel, Element parent)
protected voidcheckChannelConstraints(Element eChannel)
protected voidcheckImageConstraints(Element eImage)
protected voidcheckItemConstraints(Element eItem)
protected voidcheckTextInputConstraints(Element eTextInput)
protected DocumentcreateDocument(Element root)
protected ElementcreateRootElement(Channel channel)
protected ElementgenerateSkipDaysElement(List days)
protected ElementgenerateSkipHoursElement(List hours)
protected NamespacegetFeedNamespace()
protected StringgetVersion()
protected booleanisHourFormat24()
To be overriden by RSS 0.91 Netscape and RSS 0.94
protected voidpopulateChannel(Channel channel, Element eChannel)
protected voidpopulateFeed(Channel channel, Element parent)
protected voidpopulateImage(Image image, Element eImage)
protected voidpopulateItem(Item item, Element eItem, int index)

Field Detail

_version

private String _version

Constructor Detail

RSS091UserlandGenerator

public RSS091UserlandGenerator()

RSS091UserlandGenerator

protected RSS091UserlandGenerator(String type, String version)

Method Detail

addChannel

protected void addChannel(Channel channel, Element parent)

checkChannelConstraints

protected void checkChannelConstraints(Element eChannel)

checkImageConstraints

protected void checkImageConstraints(Element eImage)

checkItemConstraints

protected void checkItemConstraints(Element eItem)

checkTextInputConstraints

protected void checkTextInputConstraints(Element eTextInput)

createDocument

protected Document createDocument(Element root)

createRootElement

protected Element createRootElement(Channel channel)

generateSkipDaysElement

protected Element generateSkipDaysElement(List days)

generateSkipHoursElement

protected Element generateSkipHoursElement(List hours)

getFeedNamespace

protected Namespace getFeedNamespace()

getVersion

protected String getVersion()

isHourFormat24

protected boolean isHourFormat24()
To be overriden by RSS 0.91 Netscape and RSS 0.94

populateChannel

protected void populateChannel(Channel channel, Element eChannel)

populateFeed

protected void populateFeed(Channel channel, Element parent)

populateImage

protected void populateImage(Image image, Element eImage)

populateItem

protected void populateItem(Item item, Element eItem, int index)
Copyright © Sun Microsystems. All Rights Reserved.