com.sun.syndication.feed.WireFeed.setFeedType()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.7k)|赞(0)|评价(0)|浏览(106)

本文整理了Java中com.sun.syndication.feed.WireFeed.setFeedType()方法的一些代码示例,展示了WireFeed.setFeedType()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WireFeed.setFeedType()方法的具体详情如下:
包路径:com.sun.syndication.feed.WireFeed
类名称:WireFeed
方法名:setFeedType

WireFeed.setFeedType介绍

[英]Sets the feedType of a the feed. Do not use, for bean cloning purposes only.
[中]设置馈送的馈送类型。请勿使用,仅用于bean克隆目的。

代码示例

代码示例来源:origin: rome/rome

/**
 * After we parse the feed we put "rss_2.0" in it (so converters and generators work)
 * this parser is a phantom.
 *
 */
protected WireFeed parseChannel(Element rssRoot)  {
  WireFeed wFeed = super.parseChannel(rssRoot);
  wFeed.setFeedType("rss_2.0");
  return wFeed;
}

代码示例来源:origin: org.apache.marmotta/sesame-tools-rio-rss

/**
 * After we parse the feed we put "rss_2.0" in it (so converters and generators work)
 * this parser is a phantom.
 *
 */
protected WireFeed parseChannel(Element rssRoot)  {
  WireFeed wFeed = super.parseChannel(rssRoot);
  wFeed.setFeedType("rss_2.0");
  return wFeed;
}

代码示例来源:origin: org.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.
   *
   */
  protected WireFeed parseChannel(Element rssRoot) {
    WireFeed wFeed = super.parseChannel(rssRoot);
    wFeed.setFeedType("rss_2.0");

    return wFeed;
  }
}

代码示例来源:origin: com.sun.syndication/com.springsource.com.sun.syndication

/**
 * After we parse the feed we put "rss_2.0" in it (so converters and generators work)
 * this parser is a phantom.
 *
 */
protected WireFeed parseChannel(Element rssRoot)  {
  WireFeed wFeed = super.parseChannel(rssRoot);
  wFeed.setFeedType("rss_2.0");
  return wFeed;
}

代码示例来源:origin: rome/modules

/**
   * After we parse the feed we put "rss_2.0" in it (so converters and generators work)
   * this parser is a phantom.
   *
   */
  protected WireFeed parseChannel(Element rssRoot) {
    WireFeed wFeed = super.parseChannel(rssRoot);
    wFeed.setFeedType("rss_2.0");

    return wFeed;
  }
}

代码示例来源:origin: org.apache.marmotta/sesame-tools-rio-rss

/**
   * After we parse the feed we put "rss_2.0" in it (so converters and generators work)
   * this parser is a phantom.
   *
   */
  protected WireFeed parseChannel(Element rssRoot) {
    WireFeed wFeed = super.parseChannel(rssRoot);
    wFeed.setFeedType("rss_2.0");

    return wFeed;
  }
}

代码示例来源:origin: apache/marmotta

/**
   * After we parse the feed we put "rss_2.0" in it (so converters and generators work)
   * this parser is a phantom.
   *
   */
  protected WireFeed parseChannel(Element rssRoot) {
    WireFeed wFeed = super.parseChannel(rssRoot);
    wFeed.setFeedType("rss_2.0");

    return wFeed;
  }
}

代码示例来源:origin: apache/marmotta

/**
 * After we parse the feed we put "rss_2.0" in it (so converters and generators work)
 * this parser is a phantom.
 *
 */
protected WireFeed parseChannel(Element rssRoot)  {
  WireFeed wFeed = super.parseChannel(rssRoot);
  wFeed.setFeedType("rss_2.0");
  return wFeed;
}

相关文章