SAX 2.0 及更高版本都可以输出所有的命名空间数据,因此您可以准确地判定元素的 localName 与命名空间。
SAX 2.0 and above reports all this namespace data, so you can accurately determine an element's localName and namespace.
这些元素可以让聚合feed的消费者能轻易通过程序判定一个聚合的每个组件的特征。
These elements allow consumers of Aggregate feeds an easy way to programmatically determine the characteristics of each component of an aggregate.
迭代事件的过程中,peek方法判定下一个事件是否从icon元素开始,该元素包含提要的图标url。
While iterating over the events, method peek determines if the next event will be the start of an icon element, which contains the feed's icon URL.
应用推荐