public class RSS20wNSParser extends RSS20Parser
Modifier | Constructor and Description |
---|---|
|
RSS20wNSParser() |
protected |
RSS20wNSParser(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 version the parser
supports.
|
boolean |
isMyType(org.jdom2.Document document)
Inspects an XML Document (JDOM) to check if it can parse it.
|
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.
|
getRSSVersion, isHourFormat24, parseItemDescription
parseItem
parseCategories
getImage, getItems, getTextInput, getTextInputLabel, parseImage
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
extractForeignMarkup, getAttribute, getAttributeValue, getStyleSheet, getType, parseFeedModules, parseItemModules, parsePersonModules
public RSS20wNSParser()
protected RSS20wNSParser(String type)
public boolean isMyType(org.jdom2.Document document)
WireFeedParser
It checks if the given document if the type of feeds the parser understands.
isMyType
in interface WireFeedParser
isMyType
in class RSS20Parser
document
- XML Document (JDOM) to check if it can be parsed by this parser.protected org.jdom2.Namespace getRSSNamespace()
RSS090Parser
This implementation returns the EMTPY namespace.
getRSSNamespace
in class RSS091UserlandParser
protected WireFeed parseChannel(org.jdom2.Element rssRoot, Locale locale)
parseChannel
in class RSS094Parser
rssRoot
- the root element of the RSS document to parse.Copyright © 2016. All rights reserved.