The main interface of the event iterator-based API is XMLEventReader.
事件迭代器 API 的主要接口是 XMLEventReader。
When iterating over a Collection, the compiler generates the standard iterator-based idiom.
当在Collection上迭代时,编译器生成标准的基于迭代器的语法。
Part 2 of this series will provide a detailed description of the event iterator-based API.
本系列的第二部分将详细讨论这种基于事件迭代器的API。
应用推荐