If your document is large, but you only need part of the document, then the XML pull parser might be a more efficient way to go.
如果您的文档比较大,但您只需要文档的一部分,则XML Pull解析器可能是更为有效的方法。
You can process large sets of data more efficiently with an XML pull parser rather than load the entire data structure all at once in memory as you need to do with JSON or serialize PHP.
您可以使用一个XML pull parser更有效地处理大型数据集,而非一次性地将整个数据结构加载到内存中,就像使用JSON或序列化php那样。
The XML Pull parser API is similar to the cursor-based API provided by StAX; the parser state can be examined for information about the last parsed event, then advanced to the next one, and so on.
XML Pull ParserAPI类似于StAX所提供的基于指针的API,可以通过分析解析器的状态获得上一个解析事件的信息,然后移动到下一个,依此类推。
You will parse the Xml document using the XmlResourceParser, which is also a pull parser (it extends the XmlPullParser interface).
您将使用XmlResourceParser来解析Xml文档,它也是一个pull解析器(扩展了XmlPullParser接口)。
Finally, for writing XML, the pull parser package provides a convenient way to do that as well.
最后,对于编写XML,Pull解析器包也提供了一种便捷的方法。
One other type of XML parser is available to you on Android, and that is the pull parser.
Android还提供了另一种类型的xml解析器,它就是pull解析器。
By using the Streaming API for XML (StAX) pull parser, AXIOM (also referred to as OM) can control the parsing process to provide deferred building support.
通过使用StreamingAPIforXML (StAX)Pull解析器,AXIOM(也称为OM)可以控制解析过程,以提供延迟构建支持。
The advantage of AXIOM over other XML representations is that it is based on a pull parser technique, while most others are based on a push parser technique.
AXIOM相对于其他XML表示形式的优势在于,它基于pull解析器技术,而其他大多数则基于push解析器技术。
While the original Axis used a standard push-style (SAX) parser for processing XML, Axis2 USES a pull-style (StAX) parser.
原始的Axis使用标准的推式(SAX)解析器进行XML处理,而Axis2使用拉式(StAX)解析器。
While the original Axis used a standard push-style (SAX) parser for processing XML, Axis2 USES a pull-style (StAX) parser.
原始的Axis使用标准的推式(SAX)解析器进行XML处理,而Axis2使用拉式(StAX)解析器。
应用推荐