|
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 | +--churchillobjects.rss4j.generator.RssGeneratorImpl100
Field Summary | |
private java.util.Vector |
imageElements
|
private java.util.Vector |
itemElements
|
private static java.lang.String |
ROOT_ELEMENT
|
private java.util.Vector |
textInputElements
|
private boolean |
usesDublinCore
|
private boolean |
usesSyndication
|
private static java.lang.String |
XMLNS
|
private static java.lang.String |
XMLNS_RDF
|
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) |
RssGeneratorImpl100()
|
Method Summary | |
protected void |
checkExtensions(churchillobjects.rss4j.RssDocument data)
|
protected void |
createRssDocument(churchillobjects.rss4j.RssDocument data)
Starts a new RSS 1.0 document. |
protected void |
finishDocument()
Completes the document by adding the images, items and text inputs at the end of the document. |
protected void |
handleChannel(churchillobjects.rss4j.RssChannel channel)
Creates a channel element, digging down from that point in the object hierarchy and invoking the other handlers. |
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 |
handleDocumentImages()
Appends all of the images used by channels into the RDF document. |
protected void |
handleDocumentItems()
|
protected void |
handleDocumentTextInputs()
Adds the text input(s) to the end of the document, referencing them to the ones included within the channel(s). |
protected void |
handleDublinCore(churchillobjects.rss4j.RssDublinCore dc,
org.w3c.dom.Element channelElement)
|
protected void |
handleImage(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
Appends the image resource to the channel, adding it to the list of image elements for inclusion later. |
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)
Adds the items to the channel element, referencing them to the image elements that will be appended to the document. |
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 |
handleSyndication(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
|
protected void |
handleTextInput(churchillobjects.rss4j.RssChannel channel,
org.w3c.dom.Element channelElement)
Adds the text input to the channel element, referencing it to the text input element that will be appended to the document. |
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()
Keep all max lenghts at zero; limits are suggested but not enforced with RSS 1.0. |
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 XMLNS_RDF
private static final java.lang.String XMLNS
private static final java.lang.String ROOT_ELEMENT
private boolean usesSyndication
private boolean usesDublinCore
private java.util.Vector imageElements
private java.util.Vector itemElements
private java.util.Vector textInputElements
Constructor Detail |
RssGeneratorImpl100() throws RssGenerationException
Method Detail |
protected void setMaxLengths()
setMaxLengths
in class RssGeneratorImpl091
protected void createRssDocument(churchillobjects.rss4j.RssDocument data)
createRssDocument
in class RssGeneratorImpl091
data
- protected void handleChannel(churchillobjects.rss4j.RssChannel channel) throws RssGenerationException
handleChannel
in class RssGeneratorImpl091
channel
-
RssGenerationException
protected void finishDocument() throws RssGenerationException
finishDocument
in class RssGeneratorImpl090
RssGenerationException
protected void handleTextInput(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement)
handleTextInput
in class RssGeneratorImpl091
channel
- channelElement
- protected void handleDocumentTextInputs() throws RssGenerationException
RssGenerationException
protected void handleItems(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
handleItems
in class RssGeneratorImpl091
channel
- channelElement
-
RssGenerationException
protected void handleDocumentItems() throws RssGenerationException
RssGenerationException
protected void handleImage(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement)
handleImage
in class RssGeneratorImpl091
channel
- channelElement
- protected void handleDocumentImages() throws RssGenerationException
RssGenerationException
protected void checkExtensions(churchillobjects.rss4j.RssDocument data)
protected void handleSyndication(churchillobjects.rss4j.RssChannel channel, org.w3c.dom.Element channelElement) throws RssGenerationException
RssGenerationException
protected void handleDublinCore(churchillobjects.rss4j.RssDublinCore dc, org.w3c.dom.Element channelElement)
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 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 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 |