axiom itself does not contain a parser and it depends on stax for input and output. 【程序编程相关:Integrating SQL Repo】
xml has become one of the major technologies used today for business integration software evolution. lots of object models are being used today to manipulate xml in various ways. axiom will improve xml manipulation by providing a new lightweight object model built around pull parsing, enabling efficient and easy manipulation of xml. axiom is the object model for apache axis 2, the next generation of the apache web services engine. axiom is different from existing xml object models in various ways, the major one being the way it incrementally builds the memory model of an incoming xml source. 【推荐阅读:Extensible Code Gene】
installing axiom 【扩展信息:Introduction to Site】this tutorial will first show you how to obtain axiom and it will then go through the fundamental features of the axiom architecture. you will learn how to create xml documents from scratch, using elements, attributes, element content ("texts"), and namespaces. you will see how to read and write xml files from and to disk.
axiom comes bundled with the axis2 m1 release. the lib directory contains the axis-om-m1.jar file. however, more adventurous users can download the latest source, via subversion, from the java"> apache axis2 project and build the sources using maven. axiom is maintained under the xml module of apache axis2. one can find more information at the axis2 subversion site.
axiom architectureaxiom uses stax reader and writer interfaces to interact with the external world, as shown in figure 1. however, you can still use sax and dom to interact with axiom. use of the standard stax interfaces will enable axiom to interact with any kind of input source, be it an input stream, file, standard data binding tool, etc.
figure 1. axiom interaction
now lets take a deeper look at axiom architecture.
... 下一页