public class RSS20YahooParser extends RSS20Parser
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
RSS_URI |
Modifier | Constructor and Description |
---|---|
|
RSS20YahooParser() |
protected |
RSS20YahooParser(java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
protected org.jdom2.Namespace |
getRSSNamespace()
Returns the namespace used by RSS elements in document of the RSS 1.0
|
boolean |
isMyType(org.jdom2.Document document)
Indicates if a JDom document is an RSS instance that can be parsed with the parser.
|
protected WireFeed |
parseChannel(org.jdom2.Element rssRoot,
java.util.Locale locale)
After we parse the feed we put "rss_2.0" in it (so converters and generators work) this
parser is a phantom.
|
getRSSVersion, isHourFormat24, parseItemDescription
parseItem
parseCategories
getImage, getItems, getTextInput, getTextInputLabel, parseImage
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
extractForeignMarkup, getAttribute, getAttributeValue, getStyleSheet, getType, parseFeedModules, parseItemModules, parsePersonModules
private static final java.lang.String RSS_URI
public RSS20YahooParser()
protected RSS20YahooParser(java.lang.String type)
public boolean isMyType(org.jdom2.Document document)
isMyType
in interface WireFeedParser
isMyType
in class RSS20Parser
document
- document to check if it can be parsed with this parser implementation.protected org.jdom2.Namespace getRSSNamespace()
getRSSNamespace
in class RSS091UserlandParser
protected WireFeed parseChannel(org.jdom2.Element rssRoot, java.util.Locale locale)
parseChannel
in class RSS094Parser
rssRoot
- the root element of the RSS document to parse.