org.xml.sax.helpers.XMLFilterImpl.resolveEntity()方法的使用及代码示例

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

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

XMLFilterImpl.resolveEntity介绍

[英]Filter an external entity resolution.
[中]筛选外部实体解析。

代码示例

代码示例来源:origin: net.sf.practicalxml/practicalxml

@Override
public InputSource resolveEntity(String publicId, String systemId)
throws IOException, SAXException
{
  return _filter.resolveEntity(publicId, systemId);
}

代码示例来源:origin: org.apache.tomee/openejb-core

public InputSource resolveEntity(final String publicId, final String systemId) throws SAXException, IOException {
  final Set<String> publicIds = currentPublicId.get();
  if (publicIds != null) {
    publicIds.add(publicId);
  }
  return super.resolveEntity(publicId, systemId);
}

代码示例来源:origin: org.apache.openejb/openejb-core

public InputSource resolveEntity(final String publicId, final String systemId) throws SAXException, IOException {
  final Set<String> publicIds = currentPublicId.get();
  if (publicIds != null) {
    publicIds.add(publicId);
  }
  return super.resolveEntity(publicId, systemId);
}

代码示例来源:origin: org.apache.geronimo.ext.openejb/openejb-core

public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
  Set<String> publicIds = currentPublicId.get();
  if (publicIds != null) {
    publicIds.add(publicId);
  }
  return super.resolveEntity(publicId, systemId);
}

相关文章

微信公众号

最新文章

更多