应用简单工厂模式提供一个组织化的框架,设计一款可以在Internet上获取RSS和Atom两种规范格式的XML文档,能够对XML文档进行解析并显示出来的新闻聚合器。应用软件设计模式使工作更有效率,使代码更加易于维护。%Applies a simple factory pattern to provide an organizing framework, and designs a new aggregator that can get RSS and Atom two specification format of XML documents, can make analysis of XML documents and display information from Internet. The application of software design patterns makes work more efficiently, and the code easier to maintain.
展开▼