It accepts all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and Atom 0.3 feeds.
The WireFeedParser is a liberal parser.
WireFeedParser instances are thread safe.
Parsers for a specific type must extend this class and register in the parser list. (Right now registration is hardcoded in the WireFeedParser constructor).
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FEED_PARSERS_KEY
WireFeedParser.classes= [className] ... |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | getKey(final WireFeedParser obj)
Implements abstract com. |
| public WireFeedParser | Returns: the parser for the given document or null if there is no parser for that document.document feed to find the parser for. document)Finds the real parser type for the given document feed. |
| public List |
| FEED_PARSERS_KEY | back to summary |
|---|---|
| public static final String FEED_PARSERS_KEY WireFeedParser.classes= [className] ... | |
| FeedParsers | back to summary |
|---|---|
| public FeedParsers() Creates a parser instance.
| |
| getKey | back to summary |
|---|---|
| protected String getKey(final WireFeedParser obj) Implements abstract com.
| |
| getParserFor | back to summary |
|---|---|
| public WireFeedParser getParserFor(final Document document) Finds the real parser type for the given document feed.
| |
| getSupportedFeedTypes | back to summary |
|---|---|
| public List | |