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, populateTextInput
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
protected org.jdom2.Namespace getFeedNamespace()
getFeedNamespace
in class RSS090Generator
protected boolean isHourFormat24()
protected String getVersion()
protected void addChannel(Channel channel, org.jdom2.Element parent) throws FeedException
addChannel
in class RSS090Generator
FeedException
protected void checkChannelConstraints(org.jdom2.Element eChannel) throws FeedException
checkChannelConstraints
in class RSS090Generator
FeedException
protected void checkImageConstraints(org.jdom2.Element eImage) throws FeedException
checkImageConstraints
in class RSS090Generator
FeedException
protected void checkItemConstraints(org.jdom2.Element eItem) throws FeedException
checkItemConstraints
in class RSS090Generator
FeedException
protected void checkTextInputConstraints(org.jdom2.Element eTextInput) throws FeedException
checkTextInputConstraints
in class RSS090Generator
FeedException
protected org.jdom2.Document createDocument(org.jdom2.Element root)
createDocument
in class RSS090Generator
protected org.jdom2.Element createRootElement(Channel channel)
createRootElement
in class RSS090Generator
protected void populateChannel(Channel channel, org.jdom2.Element eChannel)
RSS090Generator
populateChannel
in class RSS090Generator
channel
- 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 RSS090Generator
FeedException
protected void populateImage(Image image, org.jdom2.Element eImage)
populateImage
in class RSS090Generator
protected void populateItem(Item item, org.jdom2.Element eItem, int index)
populateItem
in class RSS090Generator
Copyright © 2018. All rights reserved.