com.sun.syndication.io.impl
クラス FeedParsers

java.lang.Object
  上位を拡張 com.sun.syndication.io.impl.PluginManager
      上位を拡張 com.sun.syndication.io.impl.FeedParsers

public class FeedParsers
extends PluginManager

Parses an XML document (JDOM Document) into a Feed.

It accepts all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and Atom 0.3 feeds.

The WireFeedParser is a liberal parser.

WireFeedParser instances are thread safe.

Parsers for a specific type must extend this class and register in the parser list. (Right now registration is hardcoded in the WireFeedParser constructor).


フィールドの概要
static java.lang.String FEED_PARSERS_KEY
          WireFeedParser.classes= [className] ...
 
コンストラクタの概要
FeedParsers()
          Creates a parser instance.
 
メソッドの概要
protected  java.lang.String getKey(java.lang.Object obj)
           
 WireFeedParser getParserFor(Document document)
          Finds the real parser type for the given document feed.
 java.util.List getSupportedFeedTypes()
           
 
クラス com.sun.syndication.io.impl.PluginManager から継承されたメソッド
getKeys, getPlugin, getPluginMap, getPlugins
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

FEED_PARSERS_KEY

public static final java.lang.String FEED_PARSERS_KEY
WireFeedParser.classes= [className] ...

関連項目:
定数フィールド値
コンストラクタの詳細

FeedParsers

public FeedParsers()
Creates a parser instance.

メソッドの詳細

getSupportedFeedTypes

public java.util.List getSupportedFeedTypes()

getParserFor

public WireFeedParser getParserFor(Document document)
Finds the real parser type for the given document feed.

パラメータ:
document - document feed to find the parser for.
戻り値:
the parser for the given document or null if there is no parser for that document.

getKey

protected java.lang.String getKey(java.lang.Object obj)
定義:
クラス PluginManager 内の getKey