com.sun.syndication.io.impl
Class RSS094Parser

java.lang.Object
  extended bycom.sun.syndication.io.impl.RSS090Parser
      extended bycom.sun.syndication.io.impl.RSS091Parser
          extended bycom.sun.syndication.io.impl.RSS092Parser
              extended bycom.sun.syndication.io.impl.RSS093Parser
                  extended bycom.sun.syndication.io.impl.RSS094Parser
All Implemented Interfaces:
FeedParser
Direct Known Subclasses:
RSS20Parser

public class RSS094Parser
extends RSS093Parser


Constructor Summary
  RSS094Parser()
           
protected RSS094Parser(java.lang.String type)
           
 
Method Summary
protected  java.lang.String getRSSVersion()
           
protected  AbstractFeed parseChannel(org.jdom.Element rssRoot)
          Parses the root element of an RSS document into a Channel bean.
protected  Item parseItem(org.jdom.Element rssRoot, org.jdom.Element eItem)
          Parses an item element of an RSS document looking for item information.
protected  Description parseItemDescription(org.jdom.Element rssRoot, org.jdom.Element eDesc)
           
 
Methods inherited from class com.sun.syndication.io.impl.RSS092Parser
parseCategories
 
Methods inherited from class com.sun.syndication.io.impl.RSS091Parser
getImage, getItems, getRSSNamespace, getTextInput, isHourFormat24, isMyType, parseImage
 
Methods inherited from class com.sun.syndication.io.impl.RSS090Parser
getType, parse, parseItems, parseTextInput, validateFeed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSS094Parser

public RSS094Parser()

RSS094Parser

protected RSS094Parser(java.lang.String type)
Method Detail

getRSSVersion

protected java.lang.String getRSSVersion()
Overrides:
getRSSVersion in class RSS093Parser

parseChannel

protected AbstractFeed parseChannel(org.jdom.Element rssRoot)
Description copied from class: RSS091Parser
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.

Overrides:
parseChannel in class RSS092Parser

parseItem

protected Item parseItem(org.jdom.Element rssRoot,
                         org.jdom.Element eItem)
Description copied from class: RSS091Parser
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.

Overrides:
parseItem in class RSS093Parser

parseItemDescription

protected Description parseItemDescription(org.jdom.Element rssRoot,
                                           org.jdom.Element eDesc)
Overrides:
parseItemDescription in class RSS092Parser


Copyright © 2004 Sun Microsystems. All Rights Reserved.