Supercharge Your Innovation With Domain-Expert AI Agents!

Programming language extensions for processing data representation language objects and related applications

一种编程语言、数据表示的技术,应用在程序控制设计、软件工程设计、电数字数据处理等方向,能够解决费时、繁重等问题

Inactive Publication Date: 2007-02-28
ORACLE INT CORP
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method of accessing and manipulating data structures is cumbersome and time-consuming compared to the methods used to access and manipulate data structures that are native to the host programming language

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
  • Programming language extensions for processing data representation language objects and related applications
  • Programming language extensions for processing data representation language objects and related applications
  • Programming language extensions for processing data representation language objects and related applications

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0155]

[0156] The Electronics Store

[0157]

[0158] 23 Transistor Dr.

[0159] Circuit

[0160] WA

[0161] 12345

[0162]

[0163]

[0164] ...

[0165] ...

[0166]

[0167] Internally, however, the Service Provider 405 represents a point of interest as an array of points, each point defined by a Java class shown in Example 2 below:

example 2

[0169] public class Point{

[0170] String label; / / The text displayed next to the point

[0171] LatitudeLongitude location; / / The location of the point on the map

[0172]}

[0173] In order to allow large groups of customers to easily access their services, service providers 405 wish to be able to accept data in a variety of XML formats (i.e., such as the one shown in Example 1), and then have that data automatically mapped to In a similar data structure within the service provider 405 native programming language.

[0174] As described above with reference to FIG. 4 according to one embodiment of the present invention, FIGS. 5A-5B illustrate example functions for mapping XML documents to ECMAScript objects and ECMAScript objects to XML documents integrating the language extension of the present invention. In the illustrated example, whenever the service provider 405 receives an XML document from the client 410 that needs to be converted into an ECMAScript object, the servic...

example 3

[0181]

[0182] The Electronics Store

[0183] yes

[0184]

[0185] 23 Transistor Dr.

[0186] Circuit

[0187] WA

[0188] 12345

[0189]

[0190]

[0191] ...

[0192] ...

[0193]

[0194] Figures 8A-8B contain versions of ECMAScript functions that have been modified in accordance with the teachings of the present invention so that point objects are generated only for those stores that are instructed to supply products. Also in FIG. 8 , XML schemas developed by, for example, a product vendor group (e.g., as illustrated in Example 3) are used in order to verify that the XML processing code is correct and that the resulting Whether XML conforms to the specification of the vendor group. At compile time, the compiler uses this pattern specification to detect errors in the code that would otherwise not appear until run time, thereby reducing the number of errors in the runtime system. At runtime, the code uses the validate() function to dete...

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 system is provided for manipulating data representation language based - objects in a native programming language environment. In one embodiment, the system is used to map data objects of the data representation language to corresponding objects within the native programming language and vice versa. In one embodiment, the system is equipped to receive a mapping definition mapping selected elements of a data representation language, such as an XML data structure, to selected objects of a programming language, such as ECMAScript. The system is further equipped to determine whether the mapping definition comprises one or more definitional statements expressed with data representation language oriented language elements of a programming language. Further, the system is equipped to process the mapping definition statements comprising data representation language oriented language elements of the programming language, in accordance with syntactical and semantic definitions of the data representation language oriented language elements (100, 102, 104, 105, 106).

Description

[0001] related application [0002] This patent application is a continuation-in-part of nonprovisional application 09 / 898,898, filed July 2, 2001, and claims priority to provisional application 60 / 302,892, also filed July 2,2001. field of invention [0003] The present invention relates to the field of programming languages. More specifically, the present invention relates to a method for manipulating data representation language based objects in a native programming language environment. Background technique [0004] XML is rapidly emerging as the de facto standard for transferring data structures between software applications and web services. Although most software applications and web services are written in modern programming languages, such as Java or C++, none of these programming languages ​​provide native support for representing and manipulating XML. Consequently, programmers have had to develop or adopt external packages for representing and manipulating XML wi...

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 Patents(China)
IPC IPC(8): G06F13/00G06F9/44G06F9/45
CPCG06F8/447G06F9/45508G06F8/34
Inventor T·L·鲁卡斯A·博斯沃斯J·C·施奈德K·E·瓦斯里克
Owner ORACLE INT CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More