A Research and Design of XML Data Parser Based on StAX
- Author
- LiuYuZuo
- Advisor
- MaoDongKui
- School
- North University of Nationalities
- Major
- Applied Computer Technology
- Classification
- TP312.2 Programming language ALGOL
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 39
- Citations
- 0
Abstract
Abstract This paper describes the XML Web services technology research \the main content and results of the data analysis technology research \The main objective of this paper is to address the XML data based on StAX ( Streaming API for XML ) parser design studies . The article analyzes the the API development status at home and abroad to parse XML data and processing XML data API ( including DOM, SAX, JAXP, JDOM, dom4j, JAXB) analytical principle, performance characteristics, suitable occasions . Focuses on the new parsing XML data stream application programming interface StAX design ideas , analytical principles and analytical methods , especially pointer - based API and analytical techniques based on the StAX data of the event iterator API connotation . Then, the StAX the pointers API and event iterator API's XML data parser - based design , and independently developed the prototype of a parser to parse XML data , read XML file , find and generate reports and other operations; Finally, the design of the test scenarios and test cases , StAX parsing techniques with DOM, SAX, JAXP, JDOM, dom4j, JAXB several analytical techniques have done a comparative time performance , the efficiency of CPU usage and memory usage test ; and analysis of test results , and draw some useful conclusions can provide the necessary reference for domestic enterprises to implement information technology projects and technology policy-making .
Table of contents
Abstract 3-4
ABSTRACT 4-9
Chapter 1 Introduction 9-13
1.1 topics of the background and significance 9
1.2 research status 9-11
1.3 content with my research work 11-12
1.3.1 research content 11
1.3.2 research results 11-12
1.4 Thesis Organization 12-13
Chapter 2 Overview of XML technology 13-19
2.1 XML Introduction 13
2.2 XML syntax 13-17
2.2.1 Elements and tags 13-14
2.2.2 XML declaration 14
2.2.3 XML description 14
2.2.4 XML processing instruction 14-15
2.2.5 XML entity 15
2.2.6 DTD 15-16
2.2.7 XMLSCHEMA 16
2.2.8 a complete XML document example 16-17
2.3 XML advantages 17-18
2.3.1 Scalability 17
2.3.2 Flexibility 17
2.3.3 self-describing 17
2.3.4 concise 17
2.3.5 XML is a technology large family 17-18
2.4 Summary 18-19
Chapter 3 STAX technical principles 19-35
3.1 STAX Profile 19-21
3.1.1 STAX parsing principle 19
3.1.2 STAX design goals 19-20
3.1.3 STAX options 20
3.1.4 STAX main classes and interfaces 20-21
3.2 STAX factory class 21-22
3.2.1 XMLINPUTFACTORY 21-22
3.2.2 XMLOUTPUTFACTORY 22
3.3 STAX two analytical models 22-33
3.3.1 pointer-based model 22-27
3.3.2 event iterator-based model 27-33
3.4 error reporting and exception handling 33-34
3.4.1 parsing an XML file exception handling 33
3.4.2 factory class configuration error handling 33-34
3.5 STAX package overall structure 34
3.6 Summary 34-35
Chapter 4 STAX API based on XML data parser design and implementation 35-46
4.1 Project Description 35
4.1.1 Background 35
4.1.2 Objective 35
4.2 Requirements Analysis 35
4.3 overall design 35-36
4.3.1 software features described 35-36
4.3.2 software overall structure 36
4.4 module design description 36-40
4.4.1 Pointer analysis module 36-37
4.4.2 event iterator parsing module 37-39
4.4.3 Pointer generation module 39
4.4.4 event iterator generation module 39-40
4.4.5 Find module 40
4.5 program 40-45
4.5.1 software main interface to achieve 41-42
4.5.2 parse the XML file and generate reports 42-43
4.5.3 generate XML documents 43
4.5.4 Querying XML file contents 43-44
4.5.5 Help Documentation 44-45
4.6 Summary 45-46
Chapter 5 STAX parser performance test 46-55
5.1 Test program design 46
5.1.1 testing purposes and methods outlined 46
5.1.2 Test Environment Design 46
5.2 test case design 46-47
5.3 testing process 47-53
5.3.1 Time Performance Test 47-52
5.3.2 CPU and memory usage test 52-53
5.4 Analysis of test results 53-55
Conclusion and Outlook 55-56
Thanks 56-57
References 57-59
papers published during the master's degree 59-60
Appendix 60-67
Related dissertations
- Design and Implementation of Mobile Communications Network Element Architecture Model Generator
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research of Web Information Extraction Based on XML
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search
- Results Diversification for XML Keyword Search Based on Semantics
- Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
- Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
- Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
- Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
- The Design and Implementation of WebDAV Service in XML Database
- Research of Heterogeneous Database Integration Based on Web Service and XML
- Research on Encoding and Query Process Technology for Continuous Uncertain
- Research on XML Data Cube Based on Tree Structure
- XQuery Query Processor Design and Implementation
- Research and implementation of group production information integration management
- Research on XML Conceptual Model and Internal Transformation Method