首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 使dom4j可在Android设备

使dom4j可在Android设备

  • 资源大小:132.81 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: android 设备 可在 domj

资 源 简 介

Dom4j use the sax parser(driver) defined in javax.xml.parsers.SAXParserFactory. In android, the default sax parser is org.apache.harmony.xml.ExpatReader, which do not support namespace(SAX2), so some features in dom4j do not work(such as xpath). In jdk for PC, the sax parser is com.sun.org.apache.xerces.internal.parsers.AbsractSAXParser, which support the SAX2. So, I use another sax driver suggested on sax quich start page(http://sax.sourceforge.net/quickstart.html): org.apache.crimson.parser.XMLReaderImpl I have test some cases but not all. They works fine.

文 件 列 表

Draw2D
.classpath
.project
AndroidManifest.xml
assets
bin
gen
ic_launcher-web.png
libs
proguard-project.txt
project.properties
res
src

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP