public class RSS091UserlandGenerator extends RSS090Generator
| Modifier | Constructor and Description |
|---|---|
|
RSS091UserlandGenerator() |
protected |
RSS091UserlandGenerator(String type,
String version) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChannel(Channel channel,
org.jdom2.Element parent) |
protected void |
checkChannelConstraints(org.jdom2.Element eChannel) |
protected void |
checkImageConstraints(org.jdom2.Element eImage) |
protected void |
checkItemConstraints(org.jdom2.Element eItem) |
protected void |
checkTextInputConstraints(org.jdom2.Element eTextInput) |
protected org.jdom2.Document |
createDocument(org.jdom2.Element root) |
protected org.jdom2.Element |
createRootElement(Channel channel) |
protected org.jdom2.Element |
generateSkipDaysElement(List<String> days) |
protected org.jdom2.Element |
generateSkipHoursElement(List<Integer> hours) |
protected org.jdom2.Namespace |
getFeedNamespace() |
protected String |
getVersion() |
protected boolean |
isHourFormat24()
To be overriden by RSS 0.91 Netscape and RSS 0.94
|
protected void |
populateChannel(Channel channel,
org.jdom2.Element eChannel)
Populates the given channel with parsed data from the ROME element that holds the channel
data.
|
protected void |
populateFeed(Channel channel,
org.jdom2.Element parent) |
protected void |
populateImage(Image image,
org.jdom2.Element eImage) |
protected void |
populateItem(Item item,
org.jdom2.Element eItem,
int index) |
addImage, addItem, addItems, addTextInput, checkItemsConstraints, checkLength, checkNotNullAndLength, generate, generateSimpleElement, getContentNamespace, getRDFNamespace, getTextInputLabel, populateTextInputgenerateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarationsprotected org.jdom2.Namespace getFeedNamespace()
getFeedNamespace in class RSS090Generatorprotected boolean isHourFormat24()
protected String getVersion()
protected void addChannel(Channel channel, org.jdom2.Element parent) throws FeedException
addChannel in class RSS090GeneratorFeedExceptionprotected void checkChannelConstraints(org.jdom2.Element eChannel)
throws FeedException
checkChannelConstraints in class RSS090GeneratorFeedExceptionprotected void checkImageConstraints(org.jdom2.Element eImage)
throws FeedException
checkImageConstraints in class RSS090GeneratorFeedExceptionprotected void checkItemConstraints(org.jdom2.Element eItem)
throws FeedException
checkItemConstraints in class RSS090GeneratorFeedExceptionprotected void checkTextInputConstraints(org.jdom2.Element eTextInput)
throws FeedException
checkTextInputConstraints in class RSS090GeneratorFeedExceptionprotected org.jdom2.Document createDocument(org.jdom2.Element root)
createDocument in class RSS090Generatorprotected org.jdom2.Element createRootElement(Channel channel)
createRootElement in class RSS090Generatorprotected void populateChannel(Channel channel, org.jdom2.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 void populateFeed(Channel channel, org.jdom2.Element parent) throws FeedException
populateFeed in class RSS090GeneratorFeedExceptionprotected void populateImage(Image image, org.jdom2.Element eImage)
populateImage in class RSS090Generatorprotected void populateItem(Item item, org.jdom2.Element eItem, int index)
populateItem in class RSS090GeneratorCopyright © 2015. All Rights Reserved.