| java.lang.Object com.sun.syndication.io.impl.BaseWireFeedParser com.sun.syndication.io.impl.RSS090Parser com.sun.syndication.io.impl.RSS10Parser
Method Summary | |
protected Namespace | getRSSNamespace() | public boolean | isMyType(Document document) Indicates if a JDom document is an RSS instance that can be parsed with the parser.
It checks for RDF ("http://www.w3.org/1999/02/22-rdf-syntax-ns#") and
RSS ("http://purl.org/rss/1.0/") namespaces being defined in the root element.
Parameters: document - document to check if it can be parsed with this parser implementation. | protected WireFeed | parseChannel(Element rssRoot) | 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) |
RSS10Parser | public RSS10Parser()(Code) | | |
getRSSNamespace | protected Namespace getRSSNamespace()(Code) | | Returns the namespace used by RSS elements in document of the RSS 1.0
returns "http://purl.org/rss/1.0/". |
isMyType | public boolean isMyType(Document document)(Code) | | Indicates if a JDom document is an RSS instance that can be parsed with the parser.
It checks for RDF ("http://www.w3.org/1999/02/22-rdf-syntax-ns#") and
RSS ("http://purl.org/rss/1.0/") namespaces being defined in the root element.
Parameters: document - document to check if it can be parsed with this parser implementation. true if the document is RSS1., false otherwise. |
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) | | |
|
|