com.ctc.wstx.api.ReaderConfig.doXmlIdUniqChecks()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(6.9k)|赞(0)|评价(0)|浏览(56)

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

ReaderConfig.doXmlIdUniqChecks介绍

暂无

代码示例

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

/**
 * Method to call to make Reader created conform as closely to XML
 * standard as possible, doing all checks and transformations mandated
 * (linefeed conversions, attr value normalizations).
 * See {@link XMLInputFactory2#configureForXmlConformance} for
 * required settings for standard StAX/StAX properties.
 *<p>
 * In addition to the standard settings, following Woodstox-specific
 * settings are also done:
 *<ul>
 * <b>None</b>.
 *</ul>
 *<p>
 * Notes: Does NOT change 'performance' settings (buffer sizes,
 * DTD caching, coalescing, interning, accurate location info).
 */
public void configureForXmlConformance()
{
  // // StAX 1.0 settings
  doSupportNamespaces(true);
  doSupportDTDs(true);
  doSupportExternalEntities(true);
  doReplaceEntityRefs(true);
  // // Stax2 additional settings
  // Better enable full xml:id checks:
  doXmlIdTyping(true);
  doXmlIdUniqChecks(true);
  // Woodstox-specific ones:
}

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

doXmlIdUniqChecks(false); // enabling would increase mem usage
setShortestReportedTextSegment(ReaderConfig.DEFAULT_SHORTEST_TEXT_SEGMENT);
setInputBufferLength(512); // 1k input buffer

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

doXmlIdUniqChecks(false);

代码示例来源:origin: com.fasterxml.woodstox/woodstox-core

/**
 * Method to call to make Reader created conform as closely to XML
 * standard as possible, doing all checks and transformations mandated
 * (linefeed conversions, attr value normalizations).
 * See {@link XMLInputFactory2#configureForXmlConformance} for
 * required settings for standard StAX/StAX properties.
 *<p>
 * In addition to the standard settings, following Woodstox-specific
 * settings are also done:
 *<ul>
 * <b>None</b>.
 *</ul>
 *<p>
 * Notes: Does NOT change 'performance' settings (buffer sizes,
 * DTD caching, coalescing, interning, accurate location info).
 */
public void configureForXmlConformance()
{
  // // StAX 1.0 settings
  doSupportNamespaces(true);
  doSupportDTDs(true);
  doSupportExternalEntities(true);
  doReplaceEntityRefs(true);
  // // Stax2 additional settings
  // Better enable full xml:id checks:
  doXmlIdTyping(true);
  doXmlIdUniqChecks(true);
  // Woodstox-specific ones:
}

代码示例来源:origin: FasterXML/woodstox

/**
 * Method to call to make Reader created conform as closely to XML
 * standard as possible, doing all checks and transformations mandated
 * (linefeed conversions, attr value normalizations).
 * See {@link XMLInputFactory2#configureForXmlConformance} for
 * required settings for standard StAX/StAX properties.
 *<p>
 * In addition to the standard settings, following Woodstox-specific
 * settings are also done:
 *<ul>
 * <b>None</b>.
 *</ul>
 *<p>
 * Notes: Does NOT change 'performance' settings (buffer sizes,
 * DTD caching, coalescing, interning, accurate location info).
 */
public void configureForXmlConformance()
{
  // // StAX 1.0 settings
  doSupportNamespaces(true);
  doSupportDTDs(true);
  doSupportExternalEntities(true);
  doReplaceEntityRefs(true);
  // // Stax2 additional settings
  // Better enable full xml:id checks:
  doXmlIdTyping(true);
  doXmlIdUniqChecks(true);
  // Woodstox-specific ones:
}

代码示例来源:origin: Nextdoor/bender

/**
 * Method to call to make Reader created conform as closely to XML
 * standard as possible, doing all checks and transformations mandated
 * (linefeed conversions, attr value normalizations).
 * See {@link XMLInputFactory2#configureForXmlConformance} for
 * required settings for standard StAX/StAX properties.
 *<p>
 * In addition to the standard settings, following Woodstox-specific
 * settings are also done:
 *<ul>
 * <b>None</b>.
 *</ul>
 *<p>
 * Notes: Does NOT change 'performance' settings (buffer sizes,
 * DTD caching, coalescing, interning, accurate location info).
 */
public void configureForXmlConformance()
{
  // // StAX 1.0 settings
  doSupportNamespaces(true);
  doSupportDTDs(true);
  doSupportExternalEntities(true);
  doReplaceEntityRefs(true);
  // // Stax2 additional settings
  // Better enable full xml:id checks:
  doXmlIdTyping(true);
  doXmlIdUniqChecks(true);
  // Woodstox-specific ones:
}

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-lgpl

/**
 * Method to call to make Reader created conform as closely to XML
 * standard as possible, doing all checks and transformations mandated
 * (linefeed conversions, attr value normalizations).
 * See {@link XMLInputFactory2#configureForXmlConformance} for
 * required settings for standard StAX/StAX properties.
 *<p>
 * In addition to the standard settings, following Woodstox-specific
 * settings are also done:
 *<ul>
 * <b>None</b>.
 *</ul>
 *<p>
 * Notes: Does NOT change 'performance' settings (buffer sizes,
 * DTD caching, coalescing, interning, accurate location info).
 */
public void configureForXmlConformance()
{
  // // StAX 1.0 settings
  doSupportNamespaces(true);
  doSupportDTDs(true);
  doSupportExternalEntities(true);
  doReplaceEntityRefs(true);
  // // Stax2 additional settings
  // Better enable full xml:id checks:
  doXmlIdTyping(true);
  doXmlIdUniqChecks(true);
  // Woodstox-specific ones:
}

代码示例来源:origin: com.fasterxml.woodstox/woodstox-core

doXmlIdUniqChecks(false); // enabling would increase mem usage
setShortestReportedTextSegment(ReaderConfig.DEFAULT_SHORTEST_TEXT_SEGMENT);
setInputBufferLength(512); // 1k input buffer

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-lgpl

doXmlIdUniqChecks(false); // enabling would increase mem usage
setShortestReportedTextSegment(ReaderConfig.DEFAULT_SHORTEST_TEXT_SEGMENT);
setInputBufferLength(512); // 1k input buffer

代码示例来源:origin: woodstox/wstx-asl

doXmlIdUniqChecks(false); // enabling would increase mem usage
setShortestReportedTextSegment(ReaderConfig.DEFAULT_SHORTEST_TEXT_SEGMENT);
setInputBufferLength(512); // 1k input buffer

代码示例来源:origin: Nextdoor/bender

doXmlIdUniqChecks(false); // enabling would increase mem usage
setShortestReportedTextSegment(ReaderConfig.DEFAULT_SHORTEST_TEXT_SEGMENT);
setInputBufferLength(512); // 1k input buffer

代码示例来源:origin: FasterXML/woodstox

doXmlIdUniqChecks(false); // enabling would increase mem usage
setShortestReportedTextSegment(ReaderConfig.DEFAULT_SHORTEST_TEXT_SEGMENT);
setInputBufferLength(512); // 1k input buffer

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

doXmlIdUniqChecks(false); // enabling would increase mem usage
setShortestReportedTextSegment(ReaderConfig.DEFAULT_SHORTEST_TEXT_SEGMENT);
setInputBufferLength(512); // 1k input buffer

代码示例来源:origin: woodstox/wstx-lgpl

doXmlIdUniqChecks(false); // enabling would increase mem usage
setShortestReportedTextSegment(ReaderConfig.DEFAULT_SHORTEST_TEXT_SEGMENT);
setInputBufferLength(512); // 1k input buffer

代码示例来源:origin: woodstox/wstx-asl

doXmlIdUniqChecks(true);

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

doXmlIdUniqChecks(true);

代码示例来源:origin: woodstox/wstx-lgpl

doXmlIdUniqChecks(true);

代码示例来源:origin: com.fasterxml.woodstox/woodstox-core

doXmlIdUniqChecks(false);

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-lgpl

doXmlIdUniqChecks(false);

代码示例来源:origin: FasterXML/woodstox

doXmlIdUniqChecks(false);

相关文章

微信公众号

最新文章

更多

ReaderConfig类方法