Package com.rometools.rome.io.impl
Class RSS20Parser
-
- All Implemented Interfaces:
WireFeedParser
- Direct Known Subclasses:
RSS20wNSParser
public class RSS20Parser extends RSS094Parser
-
-
Constructor Summary
Constructors Modifier Constructor Description RSS20Parser()protectedRSS20Parser(String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetRSSVersion()protected booleanisHourFormat24(org.jdom2.Element rssRoot)To be overriden by RSS 0.91 Netscape and RSS 0.94booleanisMyType(org.jdom2.Document document)Inspects an XML Document (JDOM) to check if it can parse it.protected DescriptionparseItemDescription(org.jdom2.Element rssRoot, org.jdom2.Element eDesc)-
Methods inherited from class com.rometools.rome.io.impl.RSS094Parser
parseChannel, parseItem
-
Methods inherited from class com.rometools.rome.io.impl.RSS092Parser
parseCategories
-
Methods inherited from class com.rometools.rome.io.impl.RSS091UserlandParser
getImage, getItems, getRSSNamespace, getTextInput, getTextInputLabel, parseImage
-
Methods inherited from class com.rometools.rome.io.impl.RSS090Parser
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
-
Methods inherited from class com.rometools.rome.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getStyleSheet, getType, parseFeedModules, parseItemModules, parsePersonModules
-
-
-
-
Constructor Detail
-
RSS20Parser
public RSS20Parser()
-
RSS20Parser
protected RSS20Parser(String type)
-
-
Method Detail
-
getRSSVersion
protected String getRSSVersion()
- Overrides:
getRSSVersionin classRSS094Parser
-
isHourFormat24
protected boolean isHourFormat24(org.jdom2.Element rssRoot)
Description copied from class:RSS091UserlandParserTo be overriden by RSS 0.91 Netscape and RSS 0.94- Overrides:
isHourFormat24in classRSS091UserlandParser
-
parseItemDescription
protected Description parseItemDescription(org.jdom2.Element rssRoot, org.jdom2.Element eDesc)
- Overrides:
parseItemDescriptionin classRSS092Parser
-
isMyType
public boolean isMyType(org.jdom2.Document document)
Description copied from interface:WireFeedParserInspects an XML Document (JDOM) to check if it can parse it.It checks if the given document if the type of feeds the parser understands.
- Specified by:
isMyTypein interfaceWireFeedParser- Overrides:
isMyTypein classRSS091UserlandParser- Parameters:
document- XML Document (JDOM) to check if it can be parsed by this parser.- Returns:
- true if the parser know how to parser this feed, false otherwise.
-
-