Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.io.impl
Class RSS091UserlandGenerator  view RSS091UserlandGenerator download RSS091UserlandGenerator.java

java.lang.Object
  extended bycom.sun.syndication.io.impl.BaseWireFeedGenerator
      extended bycom.sun.syndication.io.impl.RSS090Generator
          extended bycom.sun.syndication.io.impl.RSS091UserlandGenerator
All Implemented Interfaces:
com.sun.syndication.io.WireFeedGenerator
Direct Known Subclasses:
RSS091NetscapeGenerator, RSS092Generator

public class RSS091UserlandGenerator
extends RSS090Generator

Feed Generator for RSS 0.91


Field Summary
private  java.lang.String _version
           
 
Fields inherited from class com.sun.syndication.io.impl.RSS090Generator
 
Fields inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
 
Constructor Summary
  RSS091UserlandGenerator()
           
protected RSS091UserlandGenerator(java.lang.String type, java.lang.String version)
           
 
Method Summary
protected  void addChannel(com.sun.syndication.feed.rss.Channel channel, org.jdom.Element parent)
           
protected  void checkChannelConstraints(org.jdom.Element eChannel)
           
protected  void checkImageConstraints(org.jdom.Element eImage)
           
protected  void checkItemConstraints(org.jdom.Element eItem)
           
protected  void checkTextInputConstraints(org.jdom.Element eTextInput)
           
protected  org.jdom.Document createDocument(org.jdom.Element root)
           
protected  org.jdom.Element createRootElement(com.sun.syndication.feed.rss.Channel channel)
           
protected  org.jdom.Element generateSkipDaysElement(java.util.List days)
           
protected  org.jdom.Element generateSkipHoursElement(java.util.List hours)
           
protected  org.jdom.Namespace getFeedNamespace()
           
protected  java.lang.String getVersion()
           
protected  boolean isHourFormat24()
          To be overriden by RSS 0.91 Netscape and RSS 0.94
protected  void populateChannel(com.sun.syndication.feed.rss.Channel channel, org.jdom.Element eChannel)
           
protected  void populateFeed(com.sun.syndication.feed.rss.Channel channel, org.jdom.Element parent)
           
protected  void populateImage(com.sun.syndication.feed.rss.Image image, org.jdom.Element eImage)
           
protected  void populateItem(com.sun.syndication.feed.rss.Item item, org.jdom.Element eItem, int index)
           
 
Methods inherited from class com.sun.syndication.io.impl.RSS090Generator
addImage, addItem, addItems, addTextInput, checkItemsConstraints, checkLength, checkNotNullAndLength, generate, generateSimpleElement, getRDFNamespace, getTextInputLabel, populateTextInput
 
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateItemModules, generateModuleNamespaceDefs, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_version

private java.lang.String _version
Constructor Detail

RSS091UserlandGenerator

public RSS091UserlandGenerator()

RSS091UserlandGenerator

protected RSS091UserlandGenerator(java.lang.String type,
                                  java.lang.String version)
Method Detail

getVersion

protected java.lang.String getVersion()

getFeedNamespace

protected org.jdom.Namespace getFeedNamespace()
Overrides:
getFeedNamespace in class RSS090Generator

createDocument

protected org.jdom.Document createDocument(org.jdom.Element root)
Overrides:
createDocument in class RSS090Generator

createRootElement

protected org.jdom.Element createRootElement(com.sun.syndication.feed.rss.Channel channel)
Overrides:
createRootElement in class RSS090Generator

populateFeed

protected void populateFeed(com.sun.syndication.feed.rss.Channel channel,
                            org.jdom.Element parent)
                     throws com.sun.syndication.io.FeedException
Overrides:
populateFeed in class RSS090Generator

addChannel

protected void addChannel(com.sun.syndication.feed.rss.Channel channel,
                          org.jdom.Element parent)
                   throws com.sun.syndication.io.FeedException
Overrides:
addChannel in class RSS090Generator

populateChannel

protected void populateChannel(com.sun.syndication.feed.rss.Channel channel,
                               org.jdom.Element eChannel)
Overrides:
populateChannel in class RSS090Generator

generateSkipHoursElement

protected org.jdom.Element generateSkipHoursElement(java.util.List hours)

generateSkipDaysElement

protected org.jdom.Element generateSkipDaysElement(java.util.List days)

populateImage

protected void populateImage(com.sun.syndication.feed.rss.Image image,
                             org.jdom.Element eImage)
Overrides:
populateImage in class RSS090Generator

populateItem

protected void populateItem(com.sun.syndication.feed.rss.Item item,
                            org.jdom.Element eItem,
                            int index)
Overrides:
populateItem in class RSS090Generator

isHourFormat24

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


checkChannelConstraints

protected void checkChannelConstraints(org.jdom.Element eChannel)
                                throws com.sun.syndication.io.FeedException
Overrides:
checkChannelConstraints in class RSS090Generator

checkImageConstraints

protected void checkImageConstraints(org.jdom.Element eImage)
                              throws com.sun.syndication.io.FeedException
Overrides:
checkImageConstraints in class RSS090Generator

checkTextInputConstraints

protected void checkTextInputConstraints(org.jdom.Element eTextInput)
                                  throws com.sun.syndication.io.FeedException
Overrides:
checkTextInputConstraints in class RSS090Generator

checkItemConstraints

protected void checkItemConstraints(org.jdom.Element eItem)
                             throws com.sun.syndication.io.FeedException
Overrides:
checkItemConstraints in class RSS090Generator