| java.lang.Object com.sun.syndication.io.impl.BaseWireFeedParser com.sun.syndication.io.impl.RSS090Parser com.sun.syndication.io.impl.RSS091UserlandParser
All known Subclasses: com.sun.syndication.io.impl.RSS092Parser, com.sun.syndication.io.impl.RSS091NetscapeParser,
Method Summary | |
protected Element | getImage(Element rssRoot) It looks for the 'image' elements under the 'channel' elemment. | protected List | getItems(Element rssRoot) It looks for the 'item' elements under the 'channel' elemment. | protected Namespace | getRSSNamespace() | protected String | getRSSVersion() | protected Element | getTextInput(Element rssRoot) It looks for the 'textinput' elements under the 'channel' elemment. | protected String | getTextInputLabel() | protected boolean | isHourFormat24(Element rssRoot) | public boolean | isMyType(Document document) | protected WireFeed | parseChannel(Element rssRoot) Parses the root element of an RSS document into a Channel bean.
It first invokes super.parseChannel and then parses and injects the following
properties if present: language, pubDate, rating and copyright.
Parameters: rssRoot - the root element of the RSS document to parse. | protected Image | parseImage(Element rssRoot) Parses the root element of an RSS document looking for image information.
It first invokes super.parseImage and then parses and injects the following
properties if present: url, link, width, height and description.
Parameters: rssRoot - the root element of the RSS document to parse for image information. | protected Item | parseItem(Element rssRoot, Element eItem) Parses an item element of an RSS document looking for item information.
It first invokes super.parseItem and then parses and injects the description property if present.
Parameters: rssRoot - the root element of the RSS document in case it's needed for context. Parameters: eItem - the item element to parse. | protected Description | parseItemDescription(Element rssRoot, Element eDesc) |
RSS091UserlandParser | public RSS091UserlandParser()(Code) | | |
RSS091UserlandParser | protected RSS091UserlandParser(String type)(Code) | | |
getImage | protected Element getImage(Element rssRoot)(Code) | | It looks for the 'image' elements under the 'channel' elemment.
|
getItems | protected List getItems(Element rssRoot)(Code) | | It looks for the 'item' elements under the 'channel' elemment.
|
getRSSNamespace | protected Namespace getRSSNamespace()(Code) | | |
getTextInput | protected Element getTextInput(Element rssRoot)(Code) | | It looks for the 'textinput' elements under the 'channel' elemment.
|
getTextInputLabel | protected String getTextInputLabel()(Code) | | To be overriden by RSS 0.91 Netscape parser
|
isHourFormat24 | protected boolean isHourFormat24(Element rssRoot)(Code) | | To be overriden by RSS 0.91 Netscape and RSS 0.94
|
isMyType | public boolean isMyType(Document document)(Code) | | |
parseChannel | protected WireFeed parseChannel(Element rssRoot)(Code) | | Parses the root element of an RSS document into a Channel bean.
It first invokes super.parseChannel and then parses and injects the following
properties if present: language, pubDate, rating and copyright.
Parameters: rssRoot - the root element of the RSS document to parse. the parsed Channel bean. |
parseImage | protected Image parseImage(Element rssRoot)(Code) | | Parses the root element of an RSS document looking for image information.
It first invokes super.parseImage and then parses and injects the following
properties if present: url, link, width, height and description.
Parameters: rssRoot - the root element of the RSS document to parse for image information. the parsed RSSImage bean. |
parseItem | protected Item parseItem(Element rssRoot, Element eItem)(Code) | | Parses an item element of an RSS document looking for item information.
It first invokes super.parseItem and then parses and injects the description property if present.
Parameters: rssRoot - the root element of the RSS document in case it's needed for context. Parameters: eItem - the item element to parse. the parsed RSSItem bean. |
parseItemDescription | protected Description parseItemDescription(Element rssRoot, Element eDesc)(Code) | | |
|
|