Class RSS20YahooParser
-
- All Implemented Interfaces:
WireFeedParser
public class RSS20YahooParser extends RSS20Parser
-
-
Constructor Summary
Constructors Modifier Constructor Description RSS20YahooParser()protectedRSS20YahooParser(String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jdom2.NamespacegetRSSNamespace()Returns the namespace used by RSS elements in document of the RSS 1.0booleanisMyType(org.jdom2.Document document)Indicates if a JDom document is an RSS instance that can be parsed with the parser.protected WireFeedparseChannel(org.jdom2.Element rssRoot, Locale locale)After we parse the feed we put "rss_2.0" in it (so converters and generators work) this parser is a phantom.-
Methods inherited from class com.rometools.rome.io.impl.RSS20Parser
getRSSVersion, isHourFormat24, parseItemDescription
-
Methods inherited from class com.rometools.rome.io.impl.RSS094Parser
parseItem
-
Methods inherited from class com.rometools.rome.io.impl.RSS092Parser
parseCategories
-
Methods inherited from class com.rometools.rome.io.impl.RSS091UserlandParser
getImage, getItems, getTextInput, getTextInputLabel, 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
-
RSS20YahooParser
public RSS20YahooParser()
-
RSS20YahooParser
protected RSS20YahooParser(String type)
-
-
Method Detail
-
isMyType
public boolean isMyType(org.jdom2.Document document)
Indicates if a JDom document is an RSS instance that can be parsed with the parser. It checks for RDF ("http://www.w3.org/1999/02/22-rdf-syntax-ns#") and RSS ("http://purl.org/rss/1.0/") namespaces being defined in the root element.- Specified by:
isMyTypein interfaceWireFeedParser- Overrides:
isMyTypein classRSS20Parser- Parameters:
document- document to check if it can be parsed with this parser implementation.- Returns:
- true if the document is RSS1., false otherwise.
-
getRSSNamespace
protected org.jdom2.Namespace getRSSNamespace()
Returns the namespace used by RSS elements in document of the RSS 1.0- Overrides:
getRSSNamespacein classRSS091UserlandParser- Returns:
- returns "http://purl.org/rss/1.0/".
-
parseChannel
protected WireFeed parseChannel(org.jdom2.Element rssRoot, Locale locale)
After we parse the feed we put "rss_2.0" in it (so converters and generators work) this parser is a phantom.- Overrides:
parseChannelin classRSS094Parser
-
-