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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com