XPP suffers from requiring more steps for parsing and writing text documents, and for working with namespaces.
XPP在语法分析和编写文本文档时需要更多步骤,并且在处理名称空间时也需要更多步骤。
Demo of Bard Ermentrout's XPP. Chemical Reaction Networks Versus Neural Networks. Global Stability of Symmetric Networks.
巴德。艾门特劳德的XPP展示。化学反应网络与神经网络的比较。对称网络的整体稳定性。
If XPP were to add some convenience methods to handle some of these common cases it'd probably come out much better in the comparison.
如果XPP打算添加一些便利的方法来处理其中一些常见情况,那么在对比中它可能会更胜一筹。
The top-level code for XPP (in Listing 10) is the longest of the examples, with considerably more setup required than the other models.
XPP的顶级代码(在清单10中)是所有示例中最长的一个,与其它模型相比,它需要相当多的设置。
The XPP modify method in Listing 11 is most similar to the JDOM approach, though it requires more code to create a new element (lines 13-21).
清单11中xppmodify方法尽管需要更多代码来创建新元素(第13 - 21行),但它与JDOM方法最类似。
The output handling (lines 11-16) also involves more steps than for the other models, mainly because XPP requires a Writer rather than accepting a Stream directly as an output target.
输出处理(第 11-16 行)也涉及比其它模型更多的步骤,主要因为XPP需要Writer而不是直接将 Stream作为输出目标接受。
EXML has a much smaller footprint than any of the other models except XPP, and given EXML's ease of use advantage you should definitely consider it for applications where jar file size is important.
除了XPP以外,EXML比其它任何模型占用的资源都要少得多,并且考虑到EXML易于使用的优点,您应肯定会认为它适用于jar文件大小很重要的应用程序。
EXML has a much smaller footprint than any of the other models except XPP, and given EXML's ease of use advantage you should definitely consider it for applications where jar file size is important.
除了XPP以外,EXML比其它任何模型占用的资源都要少得多,并且考虑到EXML易于使用的优点,您应肯定会认为它适用于jar文件大小很重要的应用程序。
应用推荐