System and method of mapping between software objects and structure languige element-based documents

A software object and structured technology, applied in the field of conversion or mapping between files, can solve the problem that users are not easy to edit

Inactive Publication Date: 2004-07-14
IBM CORP
View PDF1 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the approach of Meltzer et al., all code is generated and cannot be easily edited by the user

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System and method of mapping between software objects and structure languige element-based documents
  • System and method of mapping between software objects and structure languige element-based documents
  • System and method of mapping between software objects and structure languige element-based documents

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] figure 1 The and associated descriptions represent examples of suitable computing environments in which the invention may be implemented. Although the invention will generally be described in terms of computer-executable instructions of a computer program executing on a personal computer, the invention can equally be implemented in combination with other program modules.

[0025] Generally speaking, program modules include: routines, programs, elements, data structures and the like for performing special tasks or realizing special abstract data types. The invention can also be further implemented using other computer system configurations including handheld devices, multi-processor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers and the like. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications netwo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A method and system that provides a common framework for mapping between a document (e.g. an XML document) and a software object (e.g. a Java object). The framework uses a handler that masks how a property is obtained for mapping. This results in mapping code that has a common appearance for both directions of mapping. A mapping between elements of an XML document and the properties of a Java object is contained in a mapper. A mapper maps from the XML document (108) to an object (110) using a parser (104) (such as DOM or SAX). Mapping in the other direction (Java to XML) requires that the elements of the XML document (118) be built in a particular order to ensure validity of the resulting XML document (118). The present invention builds an XML template document using JSP, for example. Using JSP based templates enables tags of the document to be written in the JSP, with callbacks to get element and attribute values. Further, content can be directed to a buffer, or directly to a response stream of a servlet.

Description

technical field [0001] The present invention relates to the field of conversion or mapping between software objects and documents of structured language elements, in particular, such as Java TM The mapping between various software objects of objects and Extensible Markup Language (XML) files. Background technique [0002] Extensible Markup Language (XML) is an abridged version of Standard Generated Markup Language (SGML) designed for web documents. It allows designers to create their own custom tags, providing functionality that HTML cannot provide. For example, XML supports links that can point to multiple documents, as opposed to HTML links that can only refer to one document per link. [0003] Because XML is a form of self-describing data (also referred to as structured language elements in the description of the present invention), it can be used in the code of the enhanced data model. Therefore, XML can be used as a data exchange medium between different systems. Da...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F1/00G06F9/44G06F40/143
CPCG06F17/227G06F17/211G06F8/30G06F17/2247G06F17/2725G06F40/226G06F40/154G06F40/103G06F40/143
Inventor 迈克尔·拜西格尔构翰·H·格林杰伊·W·沃菲尔德
Owner IBM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products