public class RSS091UserlandGenerator extends RSS090Generator
| Modifier | Constructor and Description |
|---|---|
|
RSS091UserlandGenerator() |
protected |
RSS091UserlandGenerator(java.lang.String type,
java.lang.String version) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChannel(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(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(Channel channel,
org.jdom.Element eChannel)
Populates the given channel with parsed data from the ROME element that holds the
channel data.
|
protected void |
populateFeed(Channel channel,
org.jdom.Element parent) |
protected void |
populateImage(Image image,
org.jdom.Element eImage) |
protected void |
populateItem(Item item,
org.jdom.Element eItem,
int index) |
addImage, addItem, addItems, addTextInput, checkItemsConstraints, checkLength, checkNotNullAndLength, generate, generateSimpleElement, getContentNamespace, getRDFNamespace, getTextInputLabel, populateTextInputgenerateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarationspublic RSS091UserlandGenerator()
protected RSS091UserlandGenerator(java.lang.String type,
java.lang.String version)
protected java.lang.String getVersion()
protected org.jdom.Namespace getFeedNamespace()
getFeedNamespace in class RSS090Generatorprotected org.jdom.Document createDocument(org.jdom.Element root)
createDocument in class RSS090Generatorprotected org.jdom.Element createRootElement(Channel channel)
createRootElement in class RSS090Generatorprotected void populateFeed(Channel channel, org.jdom.Element parent) throws FeedException
populateFeed in class RSS090GeneratorFeedExceptionprotected void addChannel(Channel channel, org.jdom.Element parent) throws FeedException
addChannel in class RSS090GeneratorFeedExceptionprotected void populateChannel(Channel channel, org.jdom.Element eChannel)
RSS090GeneratorpopulateChannel in class RSS090Generatorchannel - the channel into which parsed data will be added.eChannel - the XML element that holds the data for the channel.protected org.jdom.Element generateSkipHoursElement(java.util.List hours)
protected org.jdom.Element generateSkipDaysElement(java.util.List days)
protected void populateImage(Image image, org.jdom.Element eImage)
populateImage in class RSS090Generatorprotected void populateItem(Item item, org.jdom.Element eItem, int index)
populateItem in class RSS090Generatorprotected boolean isHourFormat24()
protected void checkChannelConstraints(org.jdom.Element eChannel)
throws FeedException
checkChannelConstraints in class RSS090GeneratorFeedExceptionprotected void checkImageConstraints(org.jdom.Element eImage)
throws FeedException
checkImageConstraints in class RSS090GeneratorFeedExceptionprotected void checkTextInputConstraints(org.jdom.Element eTextInput)
throws FeedException
checkTextInputConstraints in class RSS090GeneratorFeedExceptionprotected void checkItemConstraints(org.jdom.Element eItem)
throws FeedException
checkItemConstraints in class RSS090GeneratorFeedException