本文整理了Java中com.rometools.rome.feed.WireFeed.setFeedType()
方法的一些代码示例,展示了WireFeed.setFeedType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WireFeed.setFeedType()
方法的具体详情如下:
包路径:com.rometools.rome.feed.WireFeed
类名称:WireFeed
方法名:setFeedType
[英]Sets the feedType of a the feed. Do not use, for bean cloning purposes only.
[中]设置馈送的馈送类型。请勿使用,仅用于bean克隆目的。
代码示例来源:origin: rometools/rome
/**
* After we parse the feed we put "rss_2.0" in it (so converters and generators work) this
* parser is a phantom.
*
*/
@Override
protected WireFeed parseChannel(final Element rssRoot, final Locale locale) {
final WireFeed wFeed = super.parseChannel(rssRoot, locale);
wFeed.setFeedType("rss_2.0");
return wFeed;
}
代码示例来源:origin: rometools/rome
/**
* After we parse the feed we put "rss_2.0" in it (so converters and generators work) this
* parser is a phantom.
*
*/
@Override
protected WireFeed parseChannel(final Element rssRoot, final Locale locale) {
final WireFeed wFeed = super.parseChannel(rssRoot, locale);
wFeed.setFeedType("rss_2.0");
return wFeed;
}
}
代码示例来源:origin: com.rometools/rome
/**
* After we parse the feed we put "rss_2.0" in it (so converters and generators work) this
* parser is a phantom.
*
*/
@Override
protected WireFeed parseChannel(final Element rssRoot, final Locale locale) {
final WireFeed wFeed = super.parseChannel(rssRoot, locale);
wFeed.setFeedType("rss_2.0");
return wFeed;
}
代码示例来源:origin: com.rometools/rome-modules
/**
* After we parse the feed we put "rss_2.0" in it (so converters and generators work) this
* parser is a phantom.
*
*/
@Override
protected WireFeed parseChannel(final Element rssRoot, final Locale locale) {
final WireFeed wFeed = super.parseChannel(rssRoot, locale);
wFeed.setFeedType("rss_2.0");
return wFeed;
}
}
内容来源于网络,如有侵权,请联系作者删除!