public class RSS091UserlandParser extends RSS090Parser
| Modifier | Constructor and Description |
|---|---|
|
RSS091UserlandParser() |
protected |
RSS091UserlandParser(String type) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jdom2.Element |
getImage(org.jdom2.Element rssRoot)
It looks for the 'image' elements under the 'channel' elemment.
|
protected List<org.jdom2.Element> |
getItems(org.jdom2.Element rssRoot)
It looks for the 'item' elements under the 'channel' elemment.
|
protected org.jdom2.Namespace |
getRSSNamespace()
Returns the namespace used by RSS elements in document of the RSS version the parser
supports.
|
protected String |
getRSSVersion() |
protected org.jdom2.Element |
getTextInput(org.jdom2.Element rssRoot)
It looks for the 'textinput' elements under the 'channel' elemment.
|
protected String |
getTextInputLabel()
To be overriden by RSS 0.91 Netscape parser
|
protected boolean |
isHourFormat24(org.jdom2.Element rssRoot)
To be overriden by RSS 0.91 Netscape and RSS 0.94
|
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)
Parses the root element of an RSS document into a Channel bean.
|
protected Image |
parseImage(org.jdom2.Element rssRoot)
Parses the root element of an RSS document looking for image information.
|
protected Item |
parseItem(org.jdom2.Element rssRoot,
org.jdom2.Element eItem,
Locale locale)
Parses an item element of an RSS document looking for item information.
|
protected Description |
parseItemDescription(org.jdom2.Element rssRoot,
org.jdom2.Element eDesc) |
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeedextractForeignMarkup, getAttribute, getAttributeValue, getStyleSheet, getType, parseFeedModules, parseItemModules, parsePersonModulespublic RSS091UserlandParser()
protected RSS091UserlandParser(String type)
public boolean isMyType(org.jdom2.Document document)
WireFeedParserIt checks if the given document if the type of feeds the parser understands.
isMyType in interface WireFeedParserisMyType in class RSS090Parserdocument - XML Document (JDOM) to check if it can be parsed by this parser.protected String getRSSVersion()
protected org.jdom2.Namespace getRSSNamespace()
RSS090ParserThis implementation returns the EMTPY namespace.
getRSSNamespace in class RSS090Parserprotected boolean isHourFormat24(org.jdom2.Element rssRoot)
protected WireFeed parseChannel(org.jdom2.Element rssRoot, Locale locale)
parseChannel in class RSS090ParserrssRoot - the root element of the RSS document to parse.protected Image parseImage(org.jdom2.Element rssRoot)
parseImage in class RSS090ParserrssRoot - the root element of the RSS document to parse for image information.protected List<org.jdom2.Element> getItems(org.jdom2.Element rssRoot)
getItems in class RSS090Parserprotected org.jdom2.Element getImage(org.jdom2.Element rssRoot)
getImage in class RSS090Parserprotected String getTextInputLabel()
protected org.jdom2.Element getTextInput(org.jdom2.Element rssRoot)
getTextInput in class RSS090Parserprotected Item parseItem(org.jdom2.Element rssRoot, org.jdom2.Element eItem, Locale locale)
parseItem in class RSS090ParserrssRoot - the root element of the RSS document in case it's needed for context.eItem - the item element to parse.protected Description parseItemDescription(org.jdom2.Element rssRoot, org.jdom2.Element eDesc)
Copyright © 2015. All Rights Reserved.