Copyright (c) 2000-2002 ChurchillObjects.com

churchillobjects.rss4j.generator
Class RssGeneratorImpl090

java.lang.Object
  |
  +--churchillobjects.rss4j.generator.RssGenerator
        |
        +--churchillobjects.rss4j.generator.RssGeneratorImpl090
Direct Known Subclasses:
RssGeneratorImpl091

class RssGeneratorImpl090
extends RssGenerator

A RssGenerator implementation for creating RSS 0.90 compliant documents.


Field Summary
 
Fields inherited from class churchillobjects.rss4j.generator.RssGenerator
channelBuildDate, channelCopyrightMax, channelDescriptionMax, channelDocsMax, channelLinkMax, channelManagingEditorMax, channelPubDate, channelTitleMax, channelWebmasterMax, doc, domImpl, format, imageDescriptionMax, imageLinkMax, imageTitleMax, imageUrlMax, itemDescriptionMax, itemLinkMax, itemTitleMax, outputStream, outputWriter, rootElement, textInputDescriptionMax, textInputLinkMax, textInputNameMax, textInputTitleMax
 
Constructor Summary
(package private) RssGeneratorImpl090()
          Constructor.
 
Method Summary
protected  void createRssDocument(churchillobjects.rss4j.RssDocument data)
          Starts the document with RSS 0.90 fields.
protected  void finishDocument()
          This method is used for any post-processing or clean-up activities.
protected  void handleChannel(churchillobjects.rss4j.RssChannel channel)
           
protected  void handleChannelDescription(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement)
           
protected  void handleChannelLink(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement)
           
protected  void handleChannelTitle(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement)
           
private  void handleImage(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement)
           
protected  void handleImageLink(churchillobjects.rss4j.RssChannelImage image, org.w3c.dom.Element imageElement)
           
protected  void handleImageTitle(churchillobjects.rss4j.RssChannelImage image, org.w3c.dom.Element imageElement)
           
protected  void handleImageUrl(churchillobjects.rss4j.RssChannelImage image, org.w3c.dom.Element imageElement)
           
protected  void handleItemLink(churchillobjects.rss4j.RssChannelItem item, org.w3c.dom.Element itemElement)
           
private  void handleItems(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement)
           
protected  void handleItemTitle(churchillobjects.rss4j.RssChannelItem item, org.w3c.dom.Element itemElement)
           
private  void handleTextInput(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement)
           
protected  void handleTextInputDescription(churchillobjects.rss4j.RssChannelTextInput textInput, org.w3c.dom.Element textInputElement)
           
protected  void handleTextInputLink(churchillobjects.rss4j.RssChannelTextInput textInput, org.w3c.dom.Element textInputElement)
           
protected  void handleTextInputName(churchillobjects.rss4j.RssChannelTextInput textInput, org.w3c.dom.Element textInputElement)
           
protected  void handleTextInputTitle(churchillobjects.rss4j.RssChannelTextInput textInput, org.w3c.dom.Element textInputElement)
           
protected  void setMaxLengths()
          Sets the maximum field lengths for elements in RSS 0.90.
 
Methods inherited from class churchillobjects.rss4j.generator.RssGenerator
add, embedHtml, generateRss, generateRss, generateRss, generateRss, isTruncateText, setTruncateText, truncate, validateUri, validateValueOptional, validateValueOptional, validateValueRequired, validateValueRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RssGeneratorImpl090

RssGeneratorImpl090()
              throws RssGenerationException
Constructor.

Throws:
RssGenerationException
Method Detail

setMaxLengths

protected void setMaxLengths()
Sets the maximum field lengths for elements in RSS 0.90.

Specified by:
setMaxLengths in class RssGenerator

finishDocument

protected void finishDocument()
                       throws RssGenerationException
This method is used for any post-processing or clean-up activities. There is nothing to do here for RSS 0.90, but superclasses do.

Specified by:
finishDocument in class RssGenerator
Throws:
RssGenerationException

createRssDocument

protected void createRssDocument(churchillobjects.rss4j.RssDocument data)
Starts the document with RSS 0.90 fields.

Specified by:
createRssDocument in class RssGenerator
Parameters:
data -

handleChannel

protected void handleChannel(churchillobjects.rss4j.RssChannel channel)
                      throws RssGenerationException
Specified by:
handleChannel in class RssGenerator
RssGenerationException

handleImage

private void handleImage(churchillobjects.rss4j.RssChannel channel,
                         org.w3c.dom.Element channelElement)
                  throws RssGenerationException
RssGenerationException

handleItems

private void handleItems(churchillobjects.rss4j.RssChannel channel,
                         org.w3c.dom.Element channelElement)
                  throws RssGenerationException
RssGenerationException

handleTextInput

private void handleTextInput(churchillobjects.rss4j.RssChannel channel,
                             org.w3c.dom.Element channelElement)
                      throws RssGenerationException
RssGenerationException

handleChannelTitle

protected void handleChannelTitle(churchillobjects.rss4j.RssChannel channel,
                                  org.w3c.dom.Element channelElement)
                           throws RssGenerationException
RssGenerationException

handleChannelDescription

protected void handleChannelDescription(churchillobjects.rss4j.RssChannel channel,
                                        org.w3c.dom.Element channelElement)
                                 throws RssGenerationException
RssGenerationException

handleChannelLink

protected void handleChannelLink(churchillobjects.rss4j.RssChannel channel,
                                 org.w3c.dom.Element channelElement)
                          throws RssGenerationException
RssGenerationException

handleImageTitle

protected void handleImageTitle(churchillobjects.rss4j.RssChannelImage image,
                                org.w3c.dom.Element imageElement)
                         throws RssGenerationException
RssGenerationException

handleImageUrl

protected void handleImageUrl(churchillobjects.rss4j.RssChannelImage image,
                              org.w3c.dom.Element imageElement)
                       throws RssGenerationException
RssGenerationException

handleImageLink

protected void handleImageLink(churchillobjects.rss4j.RssChannelImage image,
                               org.w3c.dom.Element imageElement)
                        throws RssGenerationException
RssGenerationException

handleItemTitle

protected void handleItemTitle(churchillobjects.rss4j.RssChannelItem item,
                               org.w3c.dom.Element itemElement)
                        throws RssGenerationException
RssGenerationException

handleItemLink

protected void handleItemLink(churchillobjects.rss4j.RssChannelItem item,
                              org.w3c.dom.Element itemElement)
                       throws RssGenerationException
RssGenerationException

handleTextInputTitle

protected void handleTextInputTitle(churchillobjects.rss4j.RssChannelTextInput textInput,
                                    org.w3c.dom.Element textInputElement)
                             throws RssGenerationException
RssGenerationException

handleTextInputDescription

protected void handleTextInputDescription(churchillobjects.rss4j.RssChannelTextInput textInput,
                                          org.w3c.dom.Element textInputElement)
                                   throws RssGenerationException
RssGenerationException

handleTextInputName

protected void handleTextInputName(churchillobjects.rss4j.RssChannelTextInput textInput,
                                   org.w3c.dom.Element textInputElement)
                            throws RssGenerationException
RssGenerationException

handleTextInputLink

protected void handleTextInputLink(churchillobjects.rss4j.RssChannelTextInput textInput,
                                   org.w3c.dom.Element textInputElement)
                            throws RssGenerationException
RssGenerationException

Copyright (c) 2000-2002 ChurchillObjects.com