Package com.rometools.rome.io.impl
Class RSS091NetscapeParser
- java.lang.Object
-
- com.rometools.rome.io.impl.BaseWireFeedParser
-
- com.rometools.rome.io.impl.RSS090Parser
-
- com.rometools.rome.io.impl.RSS091UserlandParser
-
- com.rometools.rome.io.impl.RSS091NetscapeParser
-
- All Implemented Interfaces:
WireFeedParser
public class RSS091NetscapeParser extends RSS091UserlandParser
-
-
Constructor Summary
Constructors Modifier Constructor Description RSS091NetscapeParser()protectedRSS091NetscapeParser(String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetTextInputLabel()To be overriden by RSS 0.91 Netscape parserprotected 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.-
Methods inherited from class com.rometools.rome.io.impl.RSS091UserlandParser
getImage, getItems, getRSSNamespace, getRSSVersion, getTextInput, parseChannel, parseImage, parseItem, parseItemDescription
-
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
-
RSS091NetscapeParser
public RSS091NetscapeParser()
-
RSS091NetscapeParser
protected RSS091NetscapeParser(String type)
-
-
Method Detail
-
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.
-
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
-
getTextInputLabel
protected String getTextInputLabel()
Description copied from class:RSS091UserlandParserTo be overriden by RSS 0.91 Netscape parser- Overrides:
getTextInputLabelin classRSS091UserlandParser
-
-