|
Copyright (c) 2000-2002 ChurchillObjects.com | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--churchillobjects.rss4j.generator.RssGenerator | +--churchillobjects.rss4j.generator.RssGeneratorImpl090 | +--churchillobjects.rss4j.generator.RssGeneratorImpl091
A generator to create XML code conformant to the RSS 0.91 standard. Limits on lengths of text and numerical values is enforced. More information on the 0.91 standard can be found at the following links:
Field Summary | |
private static java.lang.String |
DOCTYPE
Document type identifier, required |
private static java.lang.String |
DTD
Document type definition, required |
private static java.lang.String |
VERSION
RSS version identifier, required |
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) |
RssGeneratorImpl091()
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 |
handleChannelBuildDate(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleChannelCopyright(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleChannelDescription(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleChannelDocs(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleChannelLanguage(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleChannelLink(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleChannelManagingEditor(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleChannelPicsRating(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleChannelPubDate(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleChannelTitle(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleChannelWebmaster(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleImage(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleImageDescription(churchillobjects.rss4j.RssChannelImage image,
org.w3c.dom.Element imageElement)
|
protected void |
handleImageHeight(churchillobjects.rss4j.RssChannelImage image,
org.w3c.dom.Element imageElement)
|
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 |
handleImageWidth(churchillobjects.rss4j.RssChannelImage image,
org.w3c.dom.Element imageElement)
|
protected void |
handleItemDescription(churchillobjects.rss4j.RssChannelItem item,
org.w3c.dom.Element itemElement)
|
protected void |
handleItemLink(churchillobjects.rss4j.RssChannelItem item,
org.w3c.dom.Element itemElement)
|
protected void |
handleItems(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleItemTitle(churchillobjects.rss4j.RssChannelItem item,
org.w3c.dom.Element itemElement)
|
protected void |
handleSkipDays(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleSkipHours(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected 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.91. |
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 |
Field Detail |
private static final java.lang.String DOCTYPE
private static final java.lang.String DTD
private static final java.lang.String VERSION
Constructor Detail |
RssGeneratorImpl091() throws RssGenerationException
RssGenerationException
Method Detail |
protected void setMaxLengths()
setMaxLengths
in class RssGeneratorImpl090
protected void createRssDocument(churchillobjects.rss4j.RssDocument data)
RssGeneratorImpl090
createRssDocument
in class RssGeneratorImpl090
data
- protected void handleChannel(churchillobjects.rss4j.RssChannel channel) throws RssGenerationException
handleChannel
in class RssGeneratorImpl090
RssGenerationException
protected void handleSkipDays(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement)
protected void handleSkipHours(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement)
protected void handleImage(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleItems(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleTextInput(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleChannelLanguage(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleChannelPicsRating(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleChannelPubDate(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleChannelBuildDate(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleChannelManagingEditor(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleChannelWebmaster(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleChannelCopyright(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleChannelDocs(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleImageDescription(churchillobjects.rss4j.RssChannelImage image, org.w3c.dom.Element imageElement) throws RssGenerationException
RssGenerationException
protected void handleImageHeight(churchillobjects.rss4j.RssChannelImage image, org.w3c.dom.Element imageElement) throws RssGenerationException
RssGenerationException
protected void handleImageWidth(churchillobjects.rss4j.RssChannelImage image, org.w3c.dom.Element imageElement) throws RssGenerationException
RssGenerationException
protected void handleItemDescription(churchillobjects.rss4j.RssChannelItem item, org.w3c.dom.Element itemElement) throws RssGenerationException
RssGenerationException
protected void finishDocument() throws RssGenerationException
finishDocument
in class RssGenerator
RssGenerationException
protected void handleChannelTitle(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleChannelDescription(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleChannelLink(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleImageTitle(churchillobjects.rss4j.RssChannelImage image, org.w3c.dom.Element imageElement) throws RssGenerationException
RssGenerationException
protected void handleImageUrl(churchillobjects.rss4j.RssChannelImage image, org.w3c.dom.Element imageElement) throws RssGenerationException
RssGenerationException
protected void handleImageLink(churchillobjects.rss4j.RssChannelImage image, org.w3c.dom.Element imageElement) throws RssGenerationException
RssGenerationException
protected void handleItemTitle(churchillobjects.rss4j.RssChannelItem item, org.w3c.dom.Element itemElement) throws RssGenerationException
RssGenerationException
protected void handleItemLink(churchillobjects.rss4j.RssChannelItem item, org.w3c.dom.Element itemElement) throws RssGenerationException
RssGenerationException
protected void handleTextInputTitle(churchillobjects.rss4j.RssChannelTextInput textInput, org.w3c.dom.Element textInputElement) throws RssGenerationException
RssGenerationException
protected void handleTextInputDescription(churchillobjects.rss4j.RssChannelTextInput textInput, org.w3c.dom.Element textInputElement) throws RssGenerationException
RssGenerationException
protected void handleTextInputName(churchillobjects.rss4j.RssChannelTextInput textInput, org.w3c.dom.Element textInputElement) throws RssGenerationException
RssGenerationException
protected void handleTextInputLink(churchillobjects.rss4j.RssChannelTextInput textInput, org.w3c.dom.Element textInputElement) throws RssGenerationException
RssGenerationException
|
Copyright (c) 2000-2002 ChurchillObjects.com | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |