com.sun.syndication.io.impl
Class RSS091NetscapeParser
java.lang.Object
com.sun.syndication.io.impl.BaseWireFeedParser
com.sun.syndication.io.impl.RSS090Parser
com.sun.syndication.io.impl.RSS091UserlandParser
com.sun.syndication.io.impl.RSS091NetscapeParser
- All Implemented Interfaces:
- WireFeedParser
public class RSS091NetscapeParser
- extends RSS091UserlandParser
Field Summary |
(package private) static java.lang.String |
ELEMENT_NAME
|
(package private) static java.lang.String |
PUBLIC_ID
|
(package private) static java.lang.String |
SYSTEM_ID
|
Method Summary |
protected java.lang.String |
getTextInputLabel()
To be overriden by RSS 0.91 Netscape parser |
protected boolean |
isHourFormat24(Element rssRoot)
To be overriden by RSS 0.91 Netscape and RSS 0.94 |
boolean |
isMyType(Document document)
Inspects an XML Document (JDOM) to check if it can parse it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
static final java.lang.String ELEMENT_NAME
- See Also:
- Constant Field Values
PUBLIC_ID
static final java.lang.String PUBLIC_ID
- See Also:
- Constant Field Values
SYSTEM_ID
static final java.lang.String SYSTEM_ID
- See Also:
- Constant Field Values
RSS091NetscapeParser
public RSS091NetscapeParser()
RSS091NetscapeParser
protected RSS091NetscapeParser(java.lang.String type)
isMyType
public boolean isMyType(Document document)
- Description copied from interface:
WireFeedParser
- Inspects 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:
isMyType
in interface WireFeedParser
- Overrides:
isMyType
in class RSS091UserlandParser
- 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(Element rssRoot)
- Description copied from class:
RSS091UserlandParser
- To be overriden by RSS 0.91 Netscape and RSS 0.94
- Overrides:
isHourFormat24
in class RSS091UserlandParser
getTextInputLabel
protected java.lang.String getTextInputLabel()
- Description copied from class:
RSS091UserlandParser
- To be overriden by RSS 0.91 Netscape parser
- Overrides:
getTextInputLabel
in class RSS091UserlandParser
Copyright © Sun Microsystems. All Rights Reserved.