RegionMetadata.java 文件源码

java
阅读 46 收藏 0 点赞 0 评论 0

项目:myfaces-trinidad 作者:
private static void _readRegionMetadata(
  RegionMetadata bean, InputStream in, String publicId)
{
  if (_LOG.isFiner())
  {
    _LOG.finer("Loading region-metadata from file:{0}", publicId);
  }
  try
  {
    InputSource input = new InputSource();
    input.setByteStream(in);
    input.setPublicId(publicId);

    DefaultHandler handler = new Handler(bean);
    _SAX_PARSER_FACTORY.newSAXParser().parse(input, handler);
  }
  catch (IOException ioe)
  {
    _error(publicId, ioe);
  }
  catch (ParserConfigurationException pce)
  {
    _error(publicId, pce);
  }
  catch (SAXException saxe)
  {
    _error(publicId, saxe);
  }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号