com.ozacc.blog.feed
インタフェース FeedGenerator

既知の実装クラスの一覧:
FeedGeneratorImpl

public interface FeedGenerator

フィードの出力インターフェース。

導入されたバージョン:
1.0
バージョン:
$Id: FeedGenerator.java 197 2005-08-10 01:43:23Z otsuka $
作成者:
Tomohiro Otsuka

メソッドの概要
 org.jdom.Document convertIntoJDOMDocument(Channel channel, FeedFormat rssVersion)
          推奨されていません。  
 String convertIntoString(Channel channel, FeedFormat rssVersion)
          Channelを指定されたバージョンのRSS XMLの文字列に変換して返します。
 void write(Channel channel, File file, FeedFormat rssVersion)
          Channelを指定されたファイルに出力します。
 

メソッドの詳細

write

void write(Channel channel,
           File file,
           FeedFormat rssVersion)
           throws IOException
Channelを指定されたファイルに出力します。

パラメータ:
channel - 出力するChannel
file - 出力先ファイル
rssVersion - 出力されるRSSフォーマットのバージョン
例外:
IOException - ファイルの書き出しに失敗した場合

convertIntoString

String convertIntoString(Channel channel,
                         FeedFormat rssVersion)
Channelを指定されたバージョンのRSS XMLの文字列に変換して返します。

パラメータ:
channel - XML文字列として出力するChannel
rssVersion - 出力されるRSSフォーマットのバージョン
戻り値:
RSS XMLの文字列
導入されたバージョン:
1.2.6

convertIntoJDOMDocument

org.jdom.Document convertIntoJDOMDocument(Channel channel,
                                          FeedFormat rssVersion)
推奨されていません。 

ChannelをJDOM Documentに変換します。

パラメータ:
channel - 変換元のChannel
rssVersion - RSSフォーマットのバージョン
戻り値:
JDOM Document


Copyright © 2004-2006 OZACC. All Rights Reserved.