Package com.rometools.rome.io.impl
Class RSS092Parser
- java.lang.Object
-
- com.rometools.rome.io.impl.BaseWireFeedParser
-
- com.rometools.rome.io.impl.RSS090Parser
-
- com.rometools.rome.io.impl.RSS091UserlandParser
-
- com.rometools.rome.io.impl.RSS092Parser
-
- All Implemented Interfaces:
WireFeedParser
- Direct Known Subclasses:
RSS093Parser
public class RSS092Parser extends RSS091UserlandParser
-
-
Constructor Summary
Constructors Modifier Constructor Description RSS092Parser()protectedRSS092Parser(String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetRSSVersion()protected List<Category>parseCategories(List<org.jdom2.Element> eCats)protected WireFeedparseChannel(org.jdom2.Element rssRoot, Locale locale)Parses the root element of an RSS document into a Channel bean.protected ItemparseItem(org.jdom2.Element rssRoot, org.jdom2.Element eItem, Locale locale)Parses an item element of an RSS document looking for item information.protected DescriptionparseItemDescription(org.jdom2.Element rssRoot, org.jdom2.Element eDesc)-
Methods inherited from class com.rometools.rome.io.impl.RSS091UserlandParser
getImage, getItems, getRSSNamespace, getTextInput, getTextInputLabel, isHourFormat24, isMyType, parseImage
-
Methods inherited from class com.rometools.rome.io.impl.RSS090Parser
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
-
Methods inherited from class com.rometools.rome.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getStyleSheet, getType, parseFeedModules, parseItemModules, parsePersonModules
-
-
-
-
Constructor Detail
-
RSS092Parser
public RSS092Parser()
-
RSS092Parser
protected RSS092Parser(String type)
-
-
Method Detail
-
getRSSVersion
protected String getRSSVersion()
- Overrides:
getRSSVersionin classRSS091UserlandParser
-
parseChannel
protected WireFeed parseChannel(org.jdom2.Element rssRoot, Locale locale)
Description copied from class:RSS091UserlandParserParses the root element of an RSS document into a Channel bean. It first invokes super.parseChannel and then parses and injects the following properties if present: language, pubDate, rating and copyright.- Overrides:
parseChannelin classRSS091UserlandParser- Parameters:
rssRoot- the root element of the RSS document to parse.- Returns:
- the parsed Channel bean.
-
parseItem
protected Item parseItem(org.jdom2.Element rssRoot, org.jdom2.Element eItem, Locale locale)
Description copied from class:RSS091UserlandParserParses an item element of an RSS document looking for item information. It first invokes super.parseItem and then parses and injects the description property if present.- Overrides:
parseItemin classRSS091UserlandParser- Parameters:
rssRoot- the root element of the RSS document in case it's needed for context.eItem- the item element to parse.- Returns:
- the parsed RSSItem bean.
-
parseItemDescription
protected Description parseItemDescription(org.jdom2.Element rssRoot, org.jdom2.Element eDesc)
- Overrides:
parseItemDescriptionin classRSS091UserlandParser
-
-