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

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

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

ReaderConfig.getSpecialProperty介绍

暂无

代码示例

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

public XMLResolver getUndeclaredEntityResolver() {
  return (XMLResolver) getSpecialProperty(SP_IX_UNDECL_ENT_RESOLVER);
}

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

public DTDEventListener getDTDEventListener() {
  return (DTDEventListener) getSpecialProperty(SP_IX_DTD_EVENT_LISTENER);
}

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

public DTDEventListener getDTDEventListener() {
  return (DTDEventListener) getSpecialProperty(SP_IX_DTD_EVENT_LISTENER);
}

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

public XMLResolver getUndeclaredEntityResolver() {
  return (XMLResolver) getSpecialProperty(SP_IX_UNDECL_ENT_RESOLVER);
}

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

public DTDEventListener getDTDEventListener() {
  return (DTDEventListener) getSpecialProperty(SP_IX_DTD_EVENT_LISTENER);
}

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

public XMLResolver getUndeclaredEntityResolver() {
  return (XMLResolver) getSpecialProperty(SP_IX_UNDECL_ENT_RESOLVER);
}

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

public Map getCustomInternalEntities()
{
  Map custEnt = (Map) getSpecialProperty(SP_IX_CUSTOM_ENTITIES);
  if (custEnt == null) {
    return JdkFeatures.getInstance().getEmptyMap();
  }
  // Better be defensive and just return a copy...
  int len = custEnt.size();
  HashMap m = new HashMap(len + (len >> 2), 0.81f);
  Iterator it = custEnt.entrySet().iterator();
  while (it.hasNext()) {
    Map.Entry me = (Map.Entry) it.next();
    /* Cast is there just as a safe-guard (assertion), and to
     * document the type...
     */
    m.put(me.getKey(), (EntityDecl) me.getValue());
  }
  return m;
}

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

public Map getCustomInternalEntities()
{
  Map custEnt = (Map) getSpecialProperty(SP_IX_CUSTOM_ENTITIES);
  if (custEnt == null) {
    return JdkFeatures.getInstance().getEmptyMap();
  }
  // Better be defensive and just return a copy...
  int len = custEnt.size();
  HashMap m = new HashMap(len + (len >> 2), 0.81f);
  Iterator it = custEnt.entrySet().iterator();
  while (it.hasNext()) {
    Map.Entry me = (Map.Entry) it.next();
    /* Cast is there just as a safe-guard (assertion), and to
     * document the type...
     */
    m.put(me.getKey(), (EntityDecl) me.getValue());
  }
  return m;
}

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

public Map getCustomInternalEntities()
{
  Map custEnt = (Map) getSpecialProperty(SP_IX_CUSTOM_ENTITIES);
  if (custEnt == null) {
    return JdkFeatures.getInstance().getEmptyMap();
  }
  // Better be defensive and just return a copy...
  int len = custEnt.size();
  HashMap m = new HashMap(len + (len >> 2), 0.81f);
  Iterator it = custEnt.entrySet().iterator();
  while (it.hasNext()) {
    Map.Entry me = (Map.Entry) it.next();
    /* Cast is there just as a safe-guard (assertion), and to
     * document the type...
     */
    m.put(me.getKey(), (EntityDecl) me.getValue());
  }
  return m;
}

相关文章

微信公众号

最新文章

更多

ReaderConfig类方法