public class RSS10Parser extends RSS090Parser
Modifier | Constructor and Description |
---|---|
|
RSS10Parser() |
protected |
RSS10Parser(String type,
org.jdom2.Namespace ns) |
Modifier and Type | Method and Description |
---|---|
protected org.jdom2.Namespace |
getRSSNamespace()
Returns the namespace used by RSS elements in document of the RSS 1.0
|
boolean |
isMyType(org.jdom2.Document document)
Indicates if a JDom document is an RSS instance that can be parsed with the parser.
|
protected WireFeed |
parseChannel(org.jdom2.Element rssRoot,
Locale locale)
Parses the root element of an RSS document into a Channel bean.
|
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, getImage, getItems, getRDFNamespace, getTextInput, parse, parseImage, parseItems, parseTextInput, validateFeed
extractForeignMarkup, getAttribute, getAttributeValue, getStyleSheet, getType, parseFeedModules, parseItemModules, parsePersonModules
public RSS10Parser()
protected RSS10Parser(String type, org.jdom2.Namespace ns)
public boolean isMyType(org.jdom2.Document document)
isMyType
in interface WireFeedParser
isMyType
in class RSS090Parser
document
- document to check if it can be parsed with this parser implementation.protected org.jdom2.Namespace getRSSNamespace()
getRSSNamespace
in class RSS090Parser
protected Item parseItem(org.jdom2.Element rssRoot, org.jdom2.Element eItem, Locale locale)
parseItem
in class RSS090Parser
rssRoot
- the root element of the RSS document in case it's needed for context.eItem
- the item element to parse.protected WireFeed parseChannel(org.jdom2.Element rssRoot, Locale locale)
RSS090Parser
parseChannel
in class RSS090Parser
rssRoot
- the root element of the RSS document to parse.protected Description parseItemDescription(org.jdom2.Element rssRoot, org.jdom2.Element eDesc)
Copyright © 2024. All rights reserved.