com.sun.syndication.io.WireFeedInput.setXmlHealerOn()方法的使用及代码示例

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

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

WireFeedInput.setXmlHealerOn介绍

[英]Enables XML healing in the WiredFeedInput instance.

Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog.

Healing resolves HTML entities (from literal to code number) in the reader.

The healing is done only with the build(File) and build(Reader) signatures.

By default is TRUE.
[中]在WiredFeedInput实例中启用XML修复。
Healing会将流中的前导字符(空格和注释)修剪到XML序言。
修复在读卡器中解析HTML实体(从文字到代码)。
修复只通过构建(文件)和构建(读取器)签名完成。
默认情况下是正确的。

代码示例

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

/**
 * Enables XML healing in the WiredFeedInput instance.
 * <p>
 * Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog.
 * <p>
 * Healing resolves HTML entities (from literal to code number) in the reader.
 * <p>
 * The healing is done only with the build(File) and build(Reader) signatures.
 * <p>
 * By default is TRUE.
 * <p>
 * @param heals TRUE enables stream healing, FALSE disables it.
 *
 */
public void setXmlHealerOn(boolean heals) {
  _feedInput.setXmlHealerOn(heals);
}

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

/**
 * Enables XML healing in the WiredFeedInput instance.
 * <p>
 * Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog.
 * <p>
 * Healing resolves HTML entities (from literal to code number) in the reader.
 * <p>
 * The healing is done only with the build(File) and build(Reader) signatures.
 * <p>
 * By default is TRUE.
 * <p>
 * @param heals TRUE enables stream healing, FALSE disables it.
 *
 */
public void setXmlHealerOn(boolean heals) {
  _feedInput.setXmlHealerOn(heals);
}

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

/**
 * Enables XML healing in the WiredFeedInput instance.
 * <p>
 * Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog.
 * <p>
 * Healing resolves HTML entities (from literal to code number) in the reader.
 * <p>
 * The healing is done only with the build(File) and build(Reader) signatures.
 * <p>
 * By default is TRUE.
 * <p>
 * @param heals TRUE enables stream healing, FALSE disables it.
 *
 */
public void setXmlHealerOn(boolean heals) {
  _feedInput.setXmlHealerOn(heals);
}

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

/**
 * Enables XML healing in the WiredFeedInput instance.
 * <p>
 * Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog.
 * <p>
 * Healing resolves HTML entities (from literal to code number) in the reader.
 * <p>
 * The healing is done only with the build(File) and build(Reader) signatures.
 * <p>
 * By default is TRUE.
 * <p>
 * @param heals TRUE enables stream healing, FALSE disables it.
 *
 */
public void setXmlHealerOn(boolean heals) {
  _feedInput.setXmlHealerOn(heals);
}

相关文章