public class RSS10Parser extends RSS090Parser
Modifier | Constructor and Description |
---|---|
|
RSS10Parser() |
protected |
RSS10Parser(java.lang.String type,
org.jdom.Namespace ns) |
Modifier and Type | Method and Description |
---|---|
protected org.jdom.Namespace |
getRSSNamespace()
Returns the namespace used by RSS elements in document of the RSS 1.0
|
boolean |
isMyType(org.jdom.Document document)
Indicates if a JDom document is an RSS instance that can be parsed with the parser.
|
protected WireFeed |
parseChannel(org.jdom.Element rssRoot)
Parses the root element of an RSS document into a Channel bean.
|
protected Item |
parseItem(org.jdom.Element rssRoot,
org.jdom.Element eItem)
Parses an item element of an RSS document looking for item information.
|
protected Description |
parseItemDescription(org.jdom.Element rssRoot,
org.jdom.Element eDesc) |
getContentNamespace, getImage, getItems, getRDFNamespace, getTextInput, parse, parseImage, parseItems, parseTextInput, validateFeed
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
public RSS10Parser()
protected RSS10Parser(java.lang.String type, org.jdom.Namespace ns)
public boolean isMyType(org.jdom.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.jdom.Namespace getRSSNamespace()
getRSSNamespace
in class RSS090Parser
protected Item parseItem(org.jdom.Element rssRoot, org.jdom.Element eItem)
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.jdom.Element rssRoot)
RSS090Parser
parseChannel
in class RSS090Parser
rssRoot
- the root element of the RSS document to parse.protected Description parseItemDescription(org.jdom.Element rssRoot, org.jdom.Element eDesc)