You can hide other event classes from the main application logic in the same way.
用同样的方式,你可以从主应用程序逻辑隐藏其他事件类。
Fortunately, StAX allows you to skip certain event classes by implementing an event filter.
幸运的是,StAX允许您通过实现事件过滤器忽略某些事件类。
Thus far, you have learned how to define custom event classes, but nothing has been said about how to make StAX use them during the parsing process.
到目前为止,您已经了解了如何定义定制事件类,但是还不清楚如何让StAX在解析过程中使用它们。
Thus far, you have learned how to define custom event classes, but nothing has been said about how to make StAX use them during the parsing process.
到目前为止,您已经了解了如何定义定制事件类,但是还不清楚如何让StAX在解析过程中使用它们。
应用推荐