|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.io.impl.BaseWireFeedParser
com.sun.syndication.io.impl.RSS090Parser
com.sun.syndication.io.impl.RSS091UserlandParser
public class RSS091UserlandParser
Constructor Summary | |
---|---|
|
RSS091UserlandParser()
|
protected |
RSS091UserlandParser(java.lang.String type)
|
Method Summary | |
---|---|
protected Element |
getImage(Element rssRoot)
It looks for the 'image' elements under the 'channel' elemment. |
protected java.util.List |
getItems(Element rssRoot)
It looks for the 'item' elements under the 'channel' elemment. |
protected Namespace |
getRSSNamespace()
Returns the namespace used by RSS elements in document of the RSS version the parser supports. |
protected java.lang.String |
getRSSVersion()
|
protected Element |
getTextInput(Element rssRoot)
It looks for the 'textinput' elements under the 'channel' elemment. |
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. |
protected WireFeed |
parseChannel(Element rssRoot)
Parses the root element of an RSS document into a Channel bean. |
protected Image |
parseImage(Element rssRoot)
Parses the root element of an RSS document looking for image information. |
protected Item |
parseItem(Element rssRoot,
Element eItem)
Parses an item element of an RSS document looking for item information. |
protected Description |
parseItemDescription(Element rssRoot,
Element eDesc)
|
Methods inherited from class com.sun.syndication.io.impl.RSS090Parser |
---|
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed |
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser |
---|
extractForeignMarkup, getType, parseFeedModules, parseItemModules |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSS091UserlandParser()
protected RSS091UserlandParser(java.lang.String type)
Method Detail |
---|
public boolean isMyType(Document document)
WireFeedParser
It checks if the given document if the type of feeds the parser understands.
isMyType
in interface WireFeedParser
isMyType
in class RSS090Parser
document
- XML Document (JDOM) to check if it can be parsed by this parser.
protected java.lang.String getRSSVersion()
protected Namespace getRSSNamespace()
RSS090Parser
This implementation returns the EMTPY namespace.
getRSSNamespace
in class RSS090Parser
protected boolean isHourFormat24(Element rssRoot)
protected WireFeed parseChannel(Element rssRoot)
parseChannel
in class RSS090Parser
rssRoot
- the root element of the RSS document to parse.
protected Image parseImage(Element rssRoot)
parseImage
in class RSS090Parser
rssRoot
- the root element of the RSS document to parse for image information.
protected java.util.List getItems(Element rssRoot)
getItems
in class RSS090Parser
protected Element getImage(Element rssRoot)
getImage
in class RSS090Parser
protected java.lang.String getTextInputLabel()
protected Element getTextInput(Element rssRoot)
getTextInput
in class RSS090Parser
protected Item parseItem(Element rssRoot, 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 Description parseItemDescription(Element rssRoot, Element eDesc)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |