Programming extensions for processing language objects and related applications

a programming language and language object technology, applied in the field of programming languages, can solve the problems of cumbersome and time-consuming methods of accessing and manipulating data structures, none of these programming languages provide native support for representing and manipulating xml, and external software packages are not capable of providing the host language with native support for processing xml data

Inactive Publication Date: 2005-12-15
LUCAS TERRY L +3
View PDF25 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

While 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.
In general, external software packages are not capable of providing the host language with native support for processing XML data.
This method of accessing and manipulating data structures is cumbersome and time consuming compared to methods used for accessing and manipulating data structures 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 extensions for processing language objects and related applications
  • Programming extensions for processing language objects and related applications
  • Programming extensions for processing language objects and related applications

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0059]

The Electronics Store23 Transistor Dr.CircuitWA12345 . . . . . .

[0060] Internally, however, service provider 405 represents points of interest as an array of points, each defined by the Java class shown below in Example 2:

example 2

[0061]

public class Point {String label; / / text to display next to pointLatitudeLongitude location; / / location of point on map}

[0062] In order to make it easy for a broad range of client communities to access their service, service provider 405 would like to be able to accept data in a wide variety of XML formats (i.e. such as the one shown in Example 1), and then have that data automatically mapped into analogous data structures within the native programming language of service provider 405.

[0063]FIGS. 5A-5B illustrate example functions, incorporating language extensions of the present invention for mapping XML documents to ECMAScript objects and ECMAScript objects to XML documents, as described above with respect to FIG. 4 in accordance with one embodiment of the invention. In the illustrated example, service provider 405 calls the “FromXML” function (as shown in FIG. 5A) each time it receives an XML document from client 410 that needs to be converted into ECMAScript objects. Simila...

example 3

[0068]

The Electronics Storeyes23 Transistor Dr.CircuitWA12345 . . . . . .

[0069]FIGS. 8A-8B include versions of ECMAScript functions, which have been modified in accordance with the teachings of the present invention to cause the generation of point objects only for those stores that are indicated as stocking products. Additionally in FIG. 8, an XML Schema (e.g. as illustrated in Example 3) developed e.g. by the product manufacturing community is utilized in accordance with the teachings of the present invention, to facilitate verification of whether the XML processing code is valid, and whether the XML being produced conforms to the manufacturing community's specification. At compile time, the compiler utilizes this Schema specification to detect errors in the code that would otherwise not appear until run-time, thereby reducing the number of errors in the production system. At run-time, the code uses the validate( ) function to detect errors in the dynamically constructed XML. If...

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.

Description

RELATED APPLICATIONS [0001] This patent application is a continuation-in-part of non-provisional application Ser. No. 09 / 898,898 filed on Jul. 2, 2001, and claims priority to provisional application No. 60 / 302,892 also filed on Jul. 2, 2001.BACKGROUND OF THE INVENTION [0002] 1 . Field of the 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. [0004] 2. Background Information [0005] XML is rapidly emerging as the de-facto standard for transmitting data structures between software applications and web services. While 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 are forced to develop or adopt external s...

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(United States)
IPC IPC(8): G06F9/44G06F9/45G06F13/00
CPCG06F8/34G06F9/45508G06F8/447
Inventor LUCAS, TERRY L.BOSWORTH, ADAMSCHNEIDER, JOHN C.VASILIK, KENNETH ERIC
Owner LUCAS TERRY L
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