java.lang.Object
com.sun.syndication.io.impl.BaseWireFeedParser
com.sun.syndication.io.impl.RSS090Parser
com.sun.syndication.io.impl.RSS091UserlandParser
com.sun.syndication.io.impl.RSS092Parser
com.sun.syndication.io.impl.RSS093Parser
com.sun.syndication.io.impl.RSS094Parser
com.sun.syndication.io.impl.RSS20Parser
com.sun.syndication.io.impl.RSS20wNSParser
- All Implemented Interfaces:
- com.sun.syndication.io.WireFeedParser
- public class RSS20wNSParser
- extends RSS20Parser
To address issue with certain feeds (brought up by Charles Miller):
"During the debacle that was the rollout of RSS2.0, this namespace was tried,
and even appeared in Dave Winer's Scripting News feed for a while. It was
then withdrawn, but the wonderful thing about standards is the moment you
roll one out, even if it's marked as unfinished and subject to change,
someone will end up stuck with it forever."
Note that there is not counter part on the generator, we only generate the final RSS2
| Fields inherited from class com.sun.syndication.io.impl.RSS090Parser |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RSS20_URI
private static java.lang.String RSS20_URI
RSS20wNSParser
public RSS20wNSParser()
RSS20wNSParser
protected RSS20wNSParser(java.lang.String type)
isMyType
public boolean isMyType(org.jdom.Document document)
- Description copied from interface:
com.sun.syndication.io.WireFeedParser
- Inspects an XML Document (JDOM) to check if it can parse it.
It checks if the given document if the type of feeds the parser understands.
- Specified by:
isMyType in interface com.sun.syndication.io.WireFeedParser- Overrides:
isMyType in class RSS091UserlandParser
getRSSNamespace
protected org.jdom.Namespace getRSSNamespace()
- Description copied from class:
RSS090Parser
- Returns the namespace used by RSS elements in document of the RSS version the parser supports.
This implementation returns the EMTPY namespace.
- Overrides:
getRSSNamespace in class RSS091UserlandParser
parseChannel
protected com.sun.syndication.feed.WireFeed parseChannel(org.jdom.Element rssRoot)
- After we parse the feed we put "rss_2.0" in it (so converters and generators work)
this parser is a phantom.
- Overrides:
parseChannel in class RSS094Parser