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

java.lang.Object
  上位を拡張 com.sun.syndication.io.impl.BaseWireFeedParser
      上位を拡張 com.sun.syndication.io.impl.RSS090Parser
          上位を拡張 com.sun.syndication.io.impl.RSS091UserlandParser
              上位を拡張 com.sun.syndication.io.impl.RSS092Parser
                  上位を拡張 com.sun.syndication.io.impl.RSS093Parser
                      上位を拡張 com.sun.syndication.io.impl.RSS094Parser
                          上位を拡張 com.sun.syndication.io.impl.RSS20Parser
                              上位を拡張 com.sun.syndication.io.impl.RSS20wNSParser
すべての実装されたインタフェース:
WireFeedParser

public class RSS20wNSParser
extends RSS20Parser

To address issue with certain feeds (brought up by Charles Miller): "During the debacle that was the rollout of RSS2.0, this namespace was tried, and even appeared in Dave Winer's Scripting News feed for a while. It was then withdrawn, but the wonderful thing about standards is the moment you roll one out, even if it's marked as unfinished and subject to change, someone will end up stuck with it forever." Note that there is not counter part on the generator, we only generate the final RSS2


コンストラクタの概要
  RSS20wNSParser()
           
protected RSS20wNSParser(java.lang.String type)
           
 
メソッドの概要
protected  Namespace getRSSNamespace()
          Returns the namespace used by RSS elements in document of the RSS version the parser supports.
 boolean isMyType(Document document)
          Inspects an XML Document (JDOM) to check if it can parse it.
protected  WireFeed parseChannel(Element rssRoot)
          After we parse the feed we put "rss_2.0" in it (so converters and generators work) this parser is a phantom.
 
クラス com.sun.syndication.io.impl.RSS20Parser から継承されたメソッド
getRSSVersion, isHourFormat24, parseItemDescription
 
クラス com.sun.syndication.io.impl.RSS094Parser から継承されたメソッド
parseItem
 
クラス com.sun.syndication.io.impl.RSS092Parser から継承されたメソッド
parseCategories
 
クラス com.sun.syndication.io.impl.RSS091UserlandParser から継承されたメソッド
getImage, getItems, getTextInput, getTextInputLabel, parseImage
 
クラス com.sun.syndication.io.impl.RSS090Parser から継承されたメソッド
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
 
クラス com.sun.syndication.io.impl.BaseWireFeedParser から継承されたメソッド
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RSS20wNSParser

public RSS20wNSParser()

RSS20wNSParser

protected RSS20wNSParser(java.lang.String type)
メソッドの詳細

isMyType

public boolean isMyType(Document document)
インタフェース WireFeedParser の記述:
Inspects an XML Document (JDOM) to check if it can parse it.

It checks if the given document if the type of feeds the parser understands.

定義:
インタフェース WireFeedParser 内の isMyType
オーバーライド:
クラス RSS20Parser 内の isMyType
パラメータ:
document - XML Document (JDOM) to check if it can be parsed by this parser.
戻り値:
true if the parser know how to parser this feed, false otherwise.

getRSSNamespace

protected Namespace getRSSNamespace()
クラス RSS090Parser の記述:
Returns the namespace used by RSS elements in document of the RSS version the parser supports.

This implementation returns the EMTPY namespace.

オーバーライド:
クラス RSS091UserlandParser 内の getRSSNamespace
戻り値:
returns the EMPTY namespace.

parseChannel

protected WireFeed parseChannel(Element rssRoot)
After we parse the feed we put "rss_2.0" in it (so converters and generators work) this parser is a phantom.

オーバーライド:
クラス RSS094Parser 内の parseChannel
パラメータ:
rssRoot - the root element of the RSS document to parse.
戻り値:
the parsed Channel bean.