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

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

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

ReaderConfig.doSupportNamespaces介绍

暂无

代码示例

代码示例来源: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

mConfig.doSupportNamespaces(value);
} else if (stdFeat == SAXFeature.NAMESPACE_PREFIXES) {
  mFeatNsPrefixes = value;

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

mStaxFactory.getConfig().doSupportNamespaces(value);
} else if (stdFeat == SAXFeature.NAMESPACE_PREFIXES) {
  mFeatNsPrefixes = value;

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

doSupportNamespaces(ArgUtil.convertToBoolean(propName, value));
break;

代码示例来源: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

/**
 * 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: 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: com.fasterxml.woodstox/woodstox-core

mConfig.doSupportNamespaces(value);
} else if (stdFeat == SAXFeature.NAMESPACE_PREFIXES) {
  mFeatNsPrefixes = value;

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

mConfig.doSupportNamespaces(value);
} else if (stdFeat == SAXFeature.NAMESPACE_PREFIXES) {
  mFeatNsPrefixes = value;

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

mConfig.doSupportNamespaces(value);
} else if (stdFeat == SAXFeature.NAMESPACE_PREFIXES) {
  mFeatNsPrefixes = value;

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

mConfig.doSupportNamespaces(value);
} else if (stdFeat == SAXFeature.NAMESPACE_PREFIXES) {
  mFeatNsPrefixes = value;

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

mConfig.doSupportNamespaces(value);
} else if (stdFeat == SAXFeature.NAMESPACE_PREFIXES) {
  mFeatNsPrefixes = value;

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

mConfig.doSupportNamespaces(value);
} else if (stdFeat == SAXFeature.NAMESPACE_PREFIXES) {
  mFeatNsPrefixes = value;

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

doSupportNamespaces(true);
doSupportDTDs(true);
doSupportExternalEntities(true);

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

doSupportNamespaces(true);
doSupportDTDs(true);
doSupportExternalEntities(true);

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

doSupportNamespaces(true);
doSupportDTDs(true);
doSupportExternalEntities(true);

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

mStaxFactory.getConfig().doSupportNamespaces(value);
} else if (stdFeat == SAXFeature.NAMESPACE_PREFIXES) {
  mFeatNsPrefixes = value;

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

mStaxFactory.getConfig().doSupportNamespaces(value);
} else if (stdFeat == SAXFeature.NAMESPACE_PREFIXES) {
  mFeatNsPrefixes = value;

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

mStaxFactory.getConfig().doSupportNamespaces(value);
} else if (stdFeat == SAXFeature.NAMESPACE_PREFIXES) {
  mFeatNsPrefixes = value;

相关文章

微信公众号

最新文章

更多

ReaderConfig类方法