WO2002063438A2 - Xml to object translation - Google Patents

Xml to object translation Download PDF

Info

Publication number
WO2002063438A2
WO2002063438A2 PCT/US2002/000090 US0200090W WO02063438A2 WO 2002063438 A2 WO2002063438 A2 WO 2002063438A2 US 0200090 W US0200090 W US 0200090W WO 02063438 A2 WO02063438 A2 WO 02063438A2
Authority
WO
WIPO (PCT)
Prior art keywords
data
class
node
java
generating
Prior art date
Application number
PCT/US2002/000090
Other languages
French (fr)
Other versions
WO2002063438A3 (en
Inventor
Sandeep Jain
Sudheer Thakur
Original Assignee
Viquity Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Viquity Corporation filed Critical Viquity Corporation
Priority to AU2002251730A priority Critical patent/AU2002251730A1/en
Publication of WO2002063438A2 publication Critical patent/WO2002063438A2/en
Publication of WO2002063438A3 publication Critical patent/WO2002063438A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/465Distributed object oriented systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions

Definitions

  • the present invention relates generally to computer languages, and, more specifically, to translating an XML document to an object in an object-oriented language so that content of the XML document can be programmatically accessed.
  • XML or extensible Markup language is a language designed specifically for documents that contain structured information. Structured information contains both content and some indication of what role that content plays. The content may be, for example, words, pictures, etc.
  • a document in the XML context refers not only to traditional documents, but also to other XML "data formats," which include vector graphics, mathematical equations, object meta-data, and other kinds of structured information.
  • a Document Type Definition file (“DTD") associated with an XML document defines how the mark up tags within the document should be interpreted by the application presenting the document.
  • the HTML specification that defines how Web pages should be displayed by Web browsers is one example of a DTD.
  • XML does not provide for a common structure of access methods/utilities, which makes it difficult to use an XML document.
  • Traditional access methods of an XML document require a utility to re-parse the XML document each time an element is accessed. Depending on the quantity of accessed elements and the size of the XML document, this can be a very expensive operation.
  • the above code includes a lot of statically defined information to retrieve the value of a particular node. Should the structure of the XML document change, the code to retrieve the individual node element would have to change as well, illustrating the inherently problematic scenario above.
  • Java is a general purpose "object-oriented" programming language. Java source code files are compiled into a format called "bytecode,” which can then be executed by a Java interpreter. Compiled Java code can run on most computers because Java interpreters and runtime environments, known as Java Virtual Machines (VMs), exist for most operating systems, including UNIX, the Macintosh OS, and Windows. Bytecode can also be converted directly into machine language instructions.
  • VMs Java Virtual Machines
  • Bytecode can also be converted directly into machine language instructions.
  • a "class" defines all common properties of the objects that belong to the class.
  • an object is instantiated from a class. Once an object is instantiated, accessing data related to the object is relatively simple because an object is a self-contained entity that consists of both data and procedures (or methods) to manipulate the data.
  • accessing data related to the object is relatively simple because an object is a self-contained entity that consists of both data and procedures (or methods) to manipulate the data.
  • a translation tool converts an XML DTD associated with the XML document to Java classes from which a Java object corresponding to the XML document is instantiated.
  • the access utilities of the DTD become the accessor methods in the Java classes. Consequently, interfacing the XML document with the Java-based environments is more flexible and working with the content of the XML document is more efficient.
  • Java classes are created and written to different files using the translation tool.
  • the Java class files are then compiled to provide computer codes, which, in turns, are integrated into an executable Java program.
  • various objects including the object corresponding to the XML document are instantiated.
  • FIG. 1 shows elements that are used in a technique for converting an XML document to a Java object, in accordance with one embodiment of the invention
  • FIG. 2 shows the content of an XML DTD of FIG. 1;
  • FIG. 3 shows the content of an XML document associated with the XML DTD of FIG. 2;
  • FIGS. 4A-4E shows the content of a Java file having an Address class
  • FIGS. 4F-4G show the content of a Java file having a Street class
  • FIG. 4H-4I show the content of a Java file having a City class
  • FIGS. 4J-4K show the content of a Java file having a State class
  • FIGS. 4L-4M shows the content of a Java file having a Zip class
  • FIG. 40 shows the content of a Java file having a County class
  • FIG. 5 is a flowchart illustrating a method for converting an XML document to a Java object
  • FIG. 6 is a flowchart illustrating a method for creating a Java class in accordance with FIG. 5;
  • FIG. 7 shows a computer upon which an embodiment of the invention may be implemented.
  • Techniques are provided for converting the content of an XML document to a Java object, which provides a consistent, powerful, and in-memory method for accessing the data in the XML document. Consequently, interfacing the XML document with the Java- based environments is more flexible and working with the document content is more efficient.
  • a translation tool for converting an XML DTD associated with the XML document to Java classes from which a Java object corresponding to the XML document is instantiated, hi accordance with one embodiment, the translation tool first uses a parser to read the structure of the XML DTD and thus identifies all nodes in the XML DTD. For each of the identified nodes in the XML DTD, the translation tool creates a corresponding Java class and writes this Java class to a respective file. For each of the created Java classes, the translation tool initially generates a package statement. The translation tool then generates the standard import statements.
  • the translation tool additionally generates the top-level-node import statements.
  • the translation tool continues to generate the Java class declaration header, the Java class attribute variables, and the Java class constructors.
  • the translation tool also generates the accessor methods to access the Java classes and individual node attributes.
  • the translation tool generates the common Java class functions, which are methods to retrieve inforaiation about the overall messages as defined by the XML DTD.
  • the translation tool also generates the appropriate Java syntaxes and comments.
  • FIG. 1 shows elements that are used in a technique for converting an XML document 102 to a Java object 124, in accordance with one embodiment of the invention.
  • each XML document 102 is associated with an XML DTD 104.
  • XML_to_Java translation tool 108 is used to convert an XML DTD 104 to Java classes 110 and stores each of these classes 110 in a respective file 112.
  • Java classes 110 are stored in one file 112 to practice modular programming.
  • all Java classes 110 may be stored in one file 112 or various files 112 without departing from the scope of the various embodiments of the invention.
  • the invention is not limited to how the classes 110 are stored in files 112.
  • Each of the Java files 112 contains a Java class that is written in the Java language.
  • the Java files 112 are then compiled to bytecode, which are integrated (or "linked") into an executable Java program 120 that takes XML document 102 as a parameter to instantiate Java classes 110 to Java object 124.
  • Java object 124 As Java object 124 is instantiated, its data is in memory and is thus easy to use.
  • FIG. 2 shows the content of an XML DTD 104 that defines a document type entitled "DTD Address ", which shall be used herein as an exemplary XML DTD to describe embodiments of the invention.
  • Line 1 shows miscellaneous information regarding DTD Address, including, for example, the version, the encoding scheme, etc.
  • XML DTDs include a top-level node that may be formed by one or more child nodes. The child nodes usually contain information specific to the top-level node.
  • line 2 shows Address as a top-level node, which comprises Street, City, State, Zip, and Country, as child nodes. Each of the child nodes Street, City, State, Zip, and Country is defined on lines 3-7 respectively.
  • FIG. 3 shows the content of an exemplary XML document 102 having an.Y Address associated with the DTD Address in FIG. 2.
  • XML document 102 provides the actual data for each of the XML DTD nodes. For example, in this FIG. 3, the Street node has a value of "1288 Pear Ave.”, the City node has a value of "Mountain View”, the State node has a value of "CA”, the Zip node has a value of "94043”, and the Coimti ⁇ node has a value of "USA”.
  • FIGs. 4A to 4P show exemplary files 112, that may be produced by the translation tool based upon the XML DTD shown in FIG. 2.
  • Each of the exemplary files 112 thus produced contains a respective Java class 110 that corresponds to each of the nodes Address, Street, City, State, Zip, and Country in FIG. 2.
  • Each of the files 112 includes various sections having the same number except for the suffix A, B, C, etc.
  • FIGs. 4A-4E are herein explained as an example.
  • section 404A includes comments.
  • Section 408A is a package statement, which is a required statement in the Java language.
  • Section 412A shows the standard Java "import statements," which are used to interface with other files in the Java programming library.
  • FIG. 4 A includes section 416A, which shows the import statements for a top-level node.
  • Sections 420A, 422A, 424A, and 428A are the Java codes for various constructors.
  • Section 420A is the code for the AddressQ constmctor.
  • Section 424A is the code for Address (node) constructor and section 428 A is the code for Address(InputStream) constructor.
  • AddressQ Address (node), and Address(Input Stream) allow flexibility in accessing data objects in the Java classes.
  • the AddressQ constructor allows XML_to_Java translation tool 108 to recreate XML document 102 from an instantiated Java object 124. h one embodiment, the instantiated Java object 124 recursively calls this AddressQ constructor to re-generate the XML document 102.
  • the Address(node) constructor being able to be called recursively, is used to generate the Java class files 112 for each of the classes 110. This Address(node) constructor accepts an argument of type node that specifies the node for which a class is created, e.g., node Street, City, etc.
  • the Address (InputStr earn) constructor accepts an InputStream argument inStream that defines the name of XML document 102 to instantiate as Java object 124.
  • Address (InputStream) constmctor is used for the top-level node, e.g., node Address in FIG. 2.
  • InputStream could be of various type, including, for example, a string type.
  • Section 432A is the code for accessor methods that are used to access the Java classes and individual node attributes.
  • the "get” and “set” accessor methods e.g., getStreetQ, setStreetQ, getCityQ, setCityQ, etc.
  • getStreetQ, setStreetQ, getCityQ, setCityQ, etc. are created to provide a programmatic interface to the class.
  • Sections 436 A is the code for various exceptions used in good programming practices. Exceptions are special programming procedure/subroutines designed to handle miscellaneous frmctions. For example, the exceptions check that the values of each of the node Address, City, State, etc., are valid.
  • Section 448A shows the common functions that are the Java class methods that retrieve information about the overall message as defined by the XML DTD 104. For example, these functions may retrieve the DTD version (getDTDMajorVersionQ, DTD identification (getDTDUUIDQ or retrieve information about the top-level Address node, which is especially helpful if the node in conversion is a root node.
  • these functions may retrieve the DTD version (getDTDMajorVersionQ, DTD identification (getDTDUUIDQ or retrieve information about the top-level Address node, which is especially helpful if the node in conversion is a root node.
  • FIG. 5 is a flowchart illustrating a method for converting an XML document 102, such as that shown in FIG. 3, to a Java object 124.
  • XML document 102 contains an XML Address, as defined by the DTD illustrated in FIG. 2.
  • XML_to_Java translation tool 108 uses a parser to parse the content of XML DTD 104 in FIG. 2, thus identifying the nodes Address, Street, City, State, Zip, and Country.
  • step 508 XML_to_Java translation tool 108 converts each of the nodes
  • XML_to_Java translation tool 108 stores each of these classes 110 to a respective file 112 in FIG. 4A to FIG. 4P.
  • hi step 512 typically, a software engineer compiles files 112 to bytecode, which is then integrated into an executable Java program.
  • the Java program produced by compiling the Java files 112 is able to populate an object using the XML document 102 in FIG. 3 as input.
  • the software engineer mns the executable Java program in which a Java object 124 is instantiated from the class Address 110 and populated from the XML document 102.
  • the software engineer in the Java language domain, writes: Address a; wherein a is a Java object instantiated from the Java class Address
  • FIG. 6 is a flowchart illustrating the method steps in which XML_to_Java translation tool 108 creates the Java classes 110, in accordance with step 508 in FIG. 5.
  • the Address Java class is generated as an example, but those skilled in the art will recognize that other classes Street, City, State, etc. may be generated by using this flowchart.
  • h step 612 XML_to_Java translation tool 108 writes the package statement in section 408A.
  • step 616 XML_to_Java translation tool 108 generates the standard import statements in section 412A.
  • XML_to_Java translation tool 108 determines whether the node in conversion is the top-level node. If the node in conversion is a top-level node, then XML_to_Java translation tool 108 in step 624, in addition to the import statements generated in step 616, generates the top-level-node import statements in section 416A.
  • XML_to_Java translation tool 108 In step 628, XML_to_Java translation tool 108 generates the Java class declaration of section 420A. In step 632, XML_to_Java translation tool 108 generates the Java class attribute variables of section 422A. XML_to_Java translation tool 108 uses each of the classes for a child node (e.g., Street, City, State, etc.) as a corresponding class attribute.
  • a child node e.g., Street, City, State, etc.
  • XML_to_Java translation tool 108 generates constructors of sections 424A and 428A.
  • XML_to_Java translation tool 108 determines whether the node in conversion is a top-level node. If the node in conversion is a top-level node, then XML_to_Java translation tool 108 in step 638 generates an InputStream constructor. Because the Address node is a top-level node, XML_to_Java translation tool 108 adds the Address (InputStream) constmctor (section 428A). hi step 640, XML_to_Java translation tool 108 creates the accessor methods in section 432A.
  • XML_to_Java translation tool 108 creates the Java validation method (section 436A).
  • XML__to_Java translation tool 108 creates the Java-to-DOM converter method (the getRootNode() method of section 438 A). h step 648, XML_to_Java translation tool 108 generates the common functions in section 448A.
  • XML_to_Java translation tool 108 when appropriate, adds comments (e.g., sections 408A) and syntaxes (e.g., open and close brackets) to conform to the Java language domain.
  • comments e.g., sections 408A
  • syntaxes e.g., open and close brackets
  • FIG. 7 is a block diagram that illustrates a computer system 700 upon which an embodiment of the invention may be implemented.
  • computer system 700 may be configured to ran XML__to_Java translation tool 10S or other programs discussed above.
  • Computer system 700 includes a bus 702 or other communication mechanism for communicating information, and a processor 704 coupled with bus 702 for processing information.
  • Computer system 700 also includes a main memory 706, such as a random access memory (RAM) or other dynamic storage device, coupled to bus 702 for storing information and instructions to be executed by processor 704.
  • Main memory 706 also may be used for storing temporary variables or other intermediate information during execution of instmctions to be executed by processor 704.
  • Computer system 700 further includes a read only memory (ROM) 708 or other static storage device coupled to bus 702 for storing static information and instructions for processor 704.
  • ROM read only memory
  • a storage device 710 such as a magnetic disk or optical disk, is provided and coupled to bus 702 for storing inforaiation and instructions.
  • Computer system 700 may be coupled via bus 702 to a display 712, such as a cathode ray tube (CRT), for displaying information to a computer user.
  • a display 712 such as a cathode ray tube (CRT)
  • An input device 714 is coupled to bus 702 for communicating inforaiation and command selections to processor 704.
  • cursor control 716 is Another type of user input device
  • cursor control 716 such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 704 and for controlling cursor movement on display 712.
  • This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.
  • the invention is related to the use of computer system 700 for implementing the techniques described herein. According to one embodiment of the invention, those techniques are implemented by computer system 700 in response to processor 704 executing one or more sequences of one or more instmctions contained in main memory 706. Such instructions may be read into main memory 706 from another computer- readable medium, such as storage device 710. Execution of the sequences of instmctions contained in main memory 706 causes processor 704 to perform the process steps described herein. In alternative embodiments, hard- wired circuitry may be used in place of or in combination with software instmctions to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware circuitry and software.
  • Non- volatile media includes, for example, optical or magnetic disks, such as storage device 710.
  • Volatile media includes dynamic memory, such as main memory 706.
  • Transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 702. Transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infra-red data communications.
  • Computer-readable media include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, or any other magnetic medium, a CD-ROM, any other optical medium, punchcards, papertape, any other physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, any other memory chip or cartridge, a carrier wave as described hereinafter, or any other medium from which a computer can read.
  • Various forms of computer readable media may be involved in carrying one or more sequences of one or more instmctions to processor 704 for execution.
  • the instmctions may initially be earned on a magnetic disk of a remote computer.
  • the remote computer can load the instmctions into its dynamic memory and send the instmctions over a telephone line using a modem.
  • a modem local to computer system 700 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal.
  • An infra-red detector can receive the data earned in the infra-red signal and appropriate circuitry can place the data on bus 702.
  • Bus 702 carries the data to main memory 706, from which processor 704 retrieves and executes the instmctions.
  • the instmctions received by main memory 706 may optionally be stored on storage device 710 either before or after execution by processor 704.
  • Computer system 700 also includes a communication interface 718 coupled to bus 702.
  • Communication interface 718 provides a two-way data communication coupling to a network link 720 that is connected to a local network 722.
  • communication interface 718 may be an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of telephone line.
  • ISDN integrated services digital network
  • communication interface 718 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN.
  • LAN local area network
  • Wireless links may also be implemented.
  • communication interface 718 sends and receives electrical, electromagnetic or optical signals that cany digital data streams representing various types of information.
  • Network link 720 typically provides data communication through one or more networks to other data devices.
  • network link 720 may provide a com ection through local network 722 to a host computer 724 or to data equipment operated by an Internet Service Provider (ISP) 726.
  • ISP 726 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the "Internet" 728.
  • Internet 728 uses electrical, electromagnetic or optical signals that cany digital data streams.
  • the signals through the various networks and the signals on network link 720 and through communication interface 718, which cany the digital data to and from computer system 700, are exemplary fora s of carrier waves transporting the information.
  • Computer system 700 can send messages and receive data, including program code, through the network(s), network link 720 and communication interface 718.
  • a server 730 might transmit a requested code for an application program through Internet 728, ISP 726, local network 722 and communication interface 718.
  • one such downloaded application implements the techniques described herein.
  • the received code may be executed by processor 704 as it is received, and/or stored in storage device 710, or other non-volatile storage for later execution. In this manner, computer system 700 may obtain application code in the fon of a carrier wave.

Abstract

Techniques are provided for accessing data stored in XML documents (102) using objects defined in object-oriented languages, such as Java. In one embodiment, a translation tool identifies the data nodes in an XML DTD (104) associated with an XML document (102). The translation tool converts each of the identified nodes to a corresponding Java class (110) in which a top-level data node in the XML DTD corresponds to a top-level Java class. From the Java classes (110) and data in the XML document (102), a Java object (124) is instantiated. The Java object (124) thus can be used to advantageously access the data in the XML document (102) in the Java language domain.

Description

XML TO OBJECT TRANSLATION
FIELD OF THE INVENTION
The present invention relates generally to computer languages, and, more specifically, to translating an XML document to an object in an object-oriented language so that content of the XML document can be programmatically accessed.
BACKGROUND OF THE INVENTION
XML or extensible Markup language is a language designed specifically for documents that contain structured information. Structured information contains both content and some indication of what role that content plays. The content may be, for example, words, pictures, etc. A document in the XML context refers not only to traditional documents, but also to other XML "data formats," which include vector graphics, mathematical equations, object meta-data, and other kinds of structured information.
A Document Type Definition file ("DTD") associated with an XML document defines how the mark up tags within the document should be interpreted by the application presenting the document. The HTML specification that defines how Web pages should be displayed by Web browsers is one example of a DTD.
XML does not provide for a common structure of access methods/utilities, which makes it difficult to use an XML document. Traditional access methods of an XML document require a utility to re-parse the XML document each time an element is accessed. Depending on the quantity of accessed elements and the size of the XML document, this can be a very expensive operation.
These access utilities are often referred to as "tree walkers," because the need to navigate each level of the hierarchy until the correct node is found. Programmatically, this may be represented by a function call similar to the following: resoιlXML.XMLDocument.documentElement.childNodes.item(l).text
The above code includes a lot of statically defined information to retrieve the value of a particular node. Should the structure of the XML document change, the code to retrieve the individual node element would have to change as well, illustrating the inherently problematic scenario above.
Through much effort, the information may be retrieved from the native XML document, but it does not work well with an Object Oriented programming language, such as Java. Specifically, Java is a general purpose "object-oriented" programming language. Java source code files are compiled into a format called "bytecode," which can then be executed by a Java interpreter. Compiled Java code can run on most computers because Java interpreters and runtime environments, known as Java Virtual Machines (VMs), exist for most operating systems, including UNIX, the Macintosh OS, and Windows. Bytecode can also be converted directly into machine language instructions. In the Java language (or other object-oriented programming language) a "class" defines all common properties of the objects that belong to the class.
During programming, an object is instantiated from a class. Once an object is instantiated, accessing data related to the object is relatively simple because an object is a self-contained entity that consists of both data and procedures (or methods) to manipulate the data. hi view of the deficiencies of XML and the benefits of the Java language, there is a need for converting documents in the XML domain to the Java language domain so that benefits of the Java language may be utilized for XML documents.
SUMMARY OF THE INVENTION
Techniques are disclosed for converting an XML document to an object in an object-oriented language, thereby providing a structured, programmatic, consistent, powerful, and in-memory method for accessing the data in the XML document. Wliile the present invention is not limited to any particular object-oriented language, details of the invention are described herein for embodiments in which Java is the target object-oriented language.
In one embodiment, a translation tool converts an XML DTD associated with the XML document to Java classes from which a Java object corresponding to the XML document is instantiated. As the Java classes are created, the access utilities of the DTD become the accessor methods in the Java classes. Consequently, interfacing the XML document with the Java-based environments is more flexible and working with the content of the XML document is more efficient.
In accordance with one embodiment, Java classes are created and written to different files using the translation tool. The Java class files are then compiled to provide computer codes, which, in turns, are integrated into an executable Java program. When the executable Java program is run, various objects including the object corresponding to the XML document are instantiated. BRIEF DESCRIPTION OF THE DRAWINGS
The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:
FIG. 1 shows elements that are used in a technique for converting an XML document to a Java object, in accordance with one embodiment of the invention;
FIG. 2 shows the content of an XML DTD of FIG. 1;
FIG. 3 shows the content of an XML document associated with the XML DTD of FIG. 2;
FIGS. 4A-4E shows the content of a Java file having an Address class;
FIGS. 4F-4G show the content of a Java file having a Street class;
FIG. 4H-4I show the content of a Java file having a City class;
FIGS. 4J-4K show the content of a Java file having a State class;
FIGS. 4L-4M shows the content of a Java file having a Zip class;
FIG. 40 shows the content of a Java file having a County class;
FIG. 5 is a flowchart illustrating a method for converting an XML document to a Java object;
FIG. 6 is a flowchart illustrating a method for creating a Java class in accordance with FIG. 5; and
FIG. 7 shows a computer upon which an embodiment of the invention may be implemented.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
Techniques are provided for converting the content of an XML document to a Java object, which provides a consistent, powerful, and in-memory method for accessing the data in the XML document. Consequently, interfacing the XML document with the Java- based environments is more flexible and working with the document content is more efficient.
FUNCTIONAL OVERVIEW As mentioned above, a translation tool is provided for converting an XML DTD associated with the XML document to Java classes from which a Java object corresponding to the XML document is instantiated, hi accordance with one embodiment, the translation tool first uses a parser to read the structure of the XML DTD and thus identifies all nodes in the XML DTD. For each of the identified nodes in the XML DTD, the translation tool creates a corresponding Java class and writes this Java class to a respective file. For each of the created Java classes, the translation tool initially generates a package statement. The translation tool then generates the standard import statements.
If a node in the XML DTD that is being converted is a top-level node, then the translation tool additionally generates the top-level-node import statements. The translation tool continues to generate the Java class declaration header, the Java class attribute variables, and the Java class constructors. The translation tool also generates the accessor methods to access the Java classes and individual node attributes. Finally, the translation tool generates the common Java class functions, which are methods to retrieve inforaiation about the overall messages as defined by the XML DTD. The translation tool also generates the appropriate Java syntaxes and comments.
XML DTDS
FIG. 1 shows elements that are used in a technique for converting an XML document 102 to a Java object 124, in accordance with one embodiment of the invention. In the XML domain, each XML document 102 is associated with an XML DTD 104. XML_to_Java translation tool 108 is used to convert an XML DTD 104 to Java classes 110 and stores each of these classes 110 in a respective file 112. Those skilled in the art will recognize that one Java class 110 is stored in one file 112 to practice modular programming. However, depending on the implementation, all Java classes 110 may be stored in one file 112 or various files 112 without departing from the scope of the various embodiments of the invention. The invention is not limited to how the classes 110 are stored in files 112. Each of the Java files 112 contains a Java class that is written in the Java language. The Java files 112 are then compiled to bytecode, which are integrated (or "linked") into an executable Java program 120 that takes XML document 102 as a parameter to instantiate Java classes 110 to Java object 124. As Java object 124 is instantiated, its data is in memory and is thus easy to use.
FIG. 2 shows the content of an XML DTD 104 that defines a document type entitled "DTD Address ", which shall be used herein as an exemplary XML DTD to describe embodiments of the invention. Line 1 shows miscellaneous information regarding DTD Address, including, for example, the version, the encoding scheme, etc. XML DTDs include a top-level node that may be formed by one or more child nodes. The child nodes usually contain information specific to the top-level node. In this example, line 2 shows Address as a top-level node, which comprises Street, City, State, Zip, and Country, as child nodes. Each of the child nodes Street, City, State, Zip, and Country is defined on lines 3-7 respectively.
FIG. 3 shows the content of an exemplary XML document 102 having an.Y Address associated with the DTD Address in FIG. 2. XML document 102 provides the actual data for each of the XML DTD nodes. For example, in this FIG. 3, the Street node has a value of "1288 Pear Ave.", the City node has a value of "Mountain View", the State node has a value of "CA", the Zip node has a value of "94043", and the Coimtiγ node has a value of "USA".
GENERATED JAVA CLASSES A translation tool is provided for generating classes, in an object oriented language, based on the XML DTD. FIGs. 4A to 4P show exemplary files 112, that may be produced by the translation tool based upon the XML DTD shown in FIG. 2. Each of the exemplary files 112 thus produced contains a respective Java class 110 that corresponds to each of the nodes Address, Street, City, State, Zip, and Country in FIG. 2. Each of the files 112 includes various sections having the same number except for the suffix A, B, C, etc. FIGs. 4A-4E are herein explained as an example. In FIG. 4A, section 404A includes comments. Section 408A is a package statement, which is a required statement in the Java language.
Section 412A shows the standard Java "import statements," which are used to interface with other files in the Java programming library. In this example, because Address is a top-level node in FIG. 2, FIG. 4 A includes section 416A, which shows the import statements for a top-level node. Each of the FIGs. 4F-4P that corresponds to child nodes Street, City, State, Zip, and Country, does not comprise a section 416. Sections 420A, 422A, 424A, and 428A are the Java codes for various constructors. Section 420A is the code for the AddressQ constmctor. Section 424A is the code for Address (node) constructor and section 428 A is the code for Address(InputStream) constructor. These constructors AddressQ, Address (node), and Address(Input Stream) allow flexibility in accessing data objects in the Java classes. The AddressQ constructor allows XML_to_Java translation tool 108 to recreate XML document 102 from an instantiated Java object 124. h one embodiment, the instantiated Java object 124 recursively calls this AddressQ constructor to re-generate the XML document 102. The Address(node) constructor, being able to be called recursively, is used to generate the Java class files 112 for each of the classes 110. This Address(node) constructor accepts an argument of type node that specifies the node for which a class is created, e.g., node Street, City, etc. The Address (InputStr earn) constructor accepts an InputStream argument inStream that defines the name of XML document 102 to instantiate as Java object 124. Address (InputStream) constmctor is used for the top-level node, e.g., node Address in FIG. 2. Those skilled in the art will recognize that InputStream could be of various type, including, for example, a string type.
Section 432A is the code for accessor methods that are used to access the Java classes and individual node attributes. For example, the "get" and "set" accessor methods (e.g., getStreetQ, setStreetQ, getCityQ, setCityQ, etc.) are created to provide a programmatic interface to the class.
Sections 436 A is the code for various exceptions used in good programming practices. Exceptions are special programming procedure/subroutines designed to handle miscellaneous frmctions. For example, the exceptions check that the values of each of the node Address, City, State, etc., are valid.
Section 448A shows the common functions that are the Java class methods that retrieve information about the overall message as defined by the XML DTD 104. For example, these functions may retrieve the DTD version (getDTDMajorVersionQ, DTD identification (getDTDUUIDQ or retrieve information about the top-level Address node, which is especially helpful if the node in conversion is a root node.
The explanation for each section in FIGs. 4F-4P is the same for the corresponding section in FIGS. 4A-4E.
METHOD STEPS IN CONVERTING AN XML DOCUMENT TO A JAVA OBJECT FIG. 5 is a flowchart illustrating a method for converting an XML document 102, such as that shown in FIG. 3, to a Java object 124. For the purpose of explanation, it shall be assumed that XML document 102 contains an XML Address, as defined by the DTD illustrated in FIG. 2.
In step 504, XML_to_Java translation tool 108 uses a parser to parse the content of XML DTD 104 in FIG. 2, thus identifying the nodes Address, Street, City, State, Zip, and Country.
In step 508, XML_to_Java translation tool 108 converts each of the nodes
Address, Street, City, State, Zip, and Country identified in step 504 to a respective Java class 110 Address, Street, City, State, Zip, and Country. XML_to_Java translation tool 108 stores each of these classes 110 to a respective file 112 in FIG. 4A to FIG. 4P. hi step 512, typically, a software engineer compiles files 112 to bytecode, which is then integrated into an executable Java program. The Java program produced by compiling the Java files 112 is able to populate an object using the XML document 102 in FIG. 3 as input.
In step 516, the software engineer mns the executable Java program in which a Java object 124 is instantiated from the class Address 110 and populated from the XML document 102. For example, the software engineer, in the Java language domain, writes: Address a; wherein a is a Java object instantiated from the Java class Address In step 520, the software engineer uses the Java object a as using any object in the Java language domain. Setting the data in FIG. 3, via object a, may be done as follows: a.Address = "1288 Pear Ave."; a.City - 'Mountain View"; a.State = "CA"; etc.
METHOD STEPS FOR CREATING A JAVA CLASS CORRESPONDING TO AN
XML DTD NODE
FIG. 6 is a flowchart illustrating the method steps in which XML_to_Java translation tool 108 creates the Java classes 110, in accordance with step 508 in FIG. 5. In this FIG. 6 example, the Address Java class is generated as an example, but those skilled in the art will recognize that other classes Street, City, State, etc. may be generated by using this flowchart. h step 612 XML_to_Java translation tool 108 writes the package statement in section 408A.
In step 616, XML_to_Java translation tool 108 generates the standard import statements in section 412A.
In step 620, XML_to_Java translation tool 108 determines whether the node in conversion is the top-level node. If the node in conversion is a top-level node, then XML_to_Java translation tool 108 in step 624, in addition to the import statements generated in step 616, generates the top-level-node import statements in section 416A.
In step 628, XML_to_Java translation tool 108 generates the Java class declaration of section 420A. In step 632, XML_to_Java translation tool 108 generates the Java class attribute variables of section 422A. XML_to_Java translation tool 108 uses each of the classes for a child node (e.g., Street, City, State, etc.) as a corresponding class attribute.
In step 636, XML_to_Java translation tool 108 generates constructors of sections 424A and 428A.
In step 637, XML_to_Java translation tool 108 determines whether the node in conversion is a top-level node. If the node in conversion is a top-level node, then XML_to_Java translation tool 108 in step 638 generates an InputStream constructor. Because the Address node is a top-level node, XML_to_Java translation tool 108 adds the Address (InputStream) constmctor (section 428A). hi step 640, XML_to_Java translation tool 108 creates the accessor methods in section 432A.
In step 642, XML_to_Java translation tool 108 creates the Java validation method (section 436A).
In step 644, XML__to_Java translation tool 108 creates the Java-to-DOM converter method (the getRootNode() method of section 438 A). h step 648, XML_to_Java translation tool 108 generates the common functions in section 448A.
During the conversion process, XML_to_Java translation tool 108, when appropriate, adds comments (e.g., sections 408A) and syntaxes (e.g., open and close brackets) to conform to the Java language domain.
HARDWARE OVERVIEW FIG. 7 is a block diagram that illustrates a computer system 700 upon which an embodiment of the invention may be implemented. In particular, computer system 700 may be configured to ran XML__to_Java translation tool 10S or other programs discussed above. Computer system 700 includes a bus 702 or other communication mechanism for communicating information, and a processor 704 coupled with bus 702 for processing information. Computer system 700 also includes a main memory 706, such as a random access memory (RAM) or other dynamic storage device, coupled to bus 702 for storing information and instructions to be executed by processor 704. Main memory 706 also may be used for storing temporary variables or other intermediate information during execution of instmctions to be executed by processor 704. Computer system 700 further includes a read only memory (ROM) 708 or other static storage device coupled to bus 702 for storing static information and instructions for processor 704. A storage device 710, such as a magnetic disk or optical disk, is provided and coupled to bus 702 for storing inforaiation and instructions.
Computer system 700 may be coupled via bus 702 to a display 712, such as a cathode ray tube (CRT), for displaying information to a computer user. An input device 714, including alphanumeric and other keys, is coupled to bus 702 for communicating inforaiation and command selections to processor 704. Another type of user input device is cursor control 716, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 704 and for controlling cursor movement on display 712. This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.
The invention is related to the use of computer system 700 for implementing the techniques described herein. According to one embodiment of the invention, those techniques are implemented by computer system 700 in response to processor 704 executing one or more sequences of one or more instmctions contained in main memory 706. Such instructions may be read into main memory 706 from another computer- readable medium, such as storage device 710. Execution of the sequences of instmctions contained in main memory 706 causes processor 704 to perform the process steps described herein. In alternative embodiments, hard- wired circuitry may be used in place of or in combination with software instmctions to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware circuitry and software.
The term "computer-readable medium" as used herein refers to any medium that participates in providing instructions to processor 704 for execution. Such a medium may take many forms, including but not limited to, non-volatile media, volatile media, and transmission media. Non- volatile media includes, for example, optical or magnetic disks, such as storage device 710. Volatile media includes dynamic memory, such as main memory 706. Transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 702. Transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infra-red data communications.
Common forms of computer-readable media include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, or any other magnetic medium, a CD-ROM, any other optical medium, punchcards, papertape, any other physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, any other memory chip or cartridge, a carrier wave as described hereinafter, or any other medium from which a computer can read.
Various forms of computer readable media may be involved in carrying one or more sequences of one or more instmctions to processor 704 for execution. For example, the instmctions may initially be earned on a magnetic disk of a remote computer. The remote computer can load the instmctions into its dynamic memory and send the instmctions over a telephone line using a modem. A modem local to computer system 700 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal. An infra-red detector can receive the data earned in the infra-red signal and appropriate circuitry can place the data on bus 702. Bus 702 carries the data to main memory 706, from which processor 704 retrieves and executes the instmctions. The instmctions received by main memory 706 may optionally be stored on storage device 710 either before or after execution by processor 704.
Computer system 700 also includes a communication interface 718 coupled to bus 702. Communication interface 718 provides a two-way data communication coupling to a network link 720 that is connected to a local network 722. For example, communication interface 718 may be an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of telephone line. As another example, communication interface 718 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links may also be implemented. In any such implementation, communication interface 718 sends and receives electrical, electromagnetic or optical signals that cany digital data streams representing various types of information.
Network link 720 typically provides data communication through one or more networks to other data devices. For example, network link 720 may provide a com ection through local network 722 to a host computer 724 or to data equipment operated by an Internet Service Provider (ISP) 726. ISP 726 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the "Internet" 728. Local network 722 and Internet 728 both use electrical, electromagnetic or optical signals that cany digital data streams. The signals through the various networks and the signals on network link 720 and through communication interface 718, which cany the digital data to and from computer system 700, are exemplary fora s of carrier waves transporting the information.
Computer system 700 can send messages and receive data, including program code, through the network(s), network link 720 and communication interface 718. In the Internet example, a server 730 might transmit a requested code for an application program through Internet 728, ISP 726, local network 722 and communication interface 718. In accordance with the invention, one such downloaded application implements the techniques described herein.
The received code may be executed by processor 704 as it is received, and/or stored in storage device 710, or other non-volatile storage for later execution. In this manner, computer system 700 may obtain application code in the fon of a carrier wave.
In the foregoing specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded as illustrative rather than as restrictive.

Claims

CLAIMSWhat is claimed is:
1. A method for facilitating access to data stored in an XML documents, comprising the steps of: identifying data nodes in an XML document type definition file; for each data node of a set of data nodes identified in said XML document type definition file, automatically generating class definition data that defines a corresponding class in an object-oriented programming language; wherein the step of automatically generating class definition data includes automatically generating data that defines a particular class that corresponds a particular data node in said XML document type definition file; wherein said particular data node encompasses all other data nodes in said set of data nodes; and wherein said particular class includes properties for storing data associated with all other data nodes in said set of data nodes.
2. The method of Claim 1 further including the steps of: instantiating objects based on said particular class; and populating at least some of the properties of said objects from data contained in XML documents that are structured as specified in said
XML document type definition file.
3. The method of Claim 1 wherein: the object-oriented programming language is Java; and the step of automatically generating class definition data includes generating one or more Java class files.
4. The method of Claim 1 wherein: the set of data nodes includes all data nodes in said XML document type definition file; and the step of automatically generating class definition data that defines a cortesponding class in an object-oriented programming language includes automatically generating class definition data that defines a class for all data nodes in said XML document type definition file.
5. The method of Claim 2 further including the step of accessing data contained in said XML documents by calling methods of objects that have been instantiated from said particular class and populated from data in said XML documents.
6. The method of Claim 1 wherein the step of automatically generating class definition data that defines a corresponding class includes the steps of: establishing a data node within said XML document type definition file as a current data node; determining whether the curcent data node is a top-level node; if the current data node is a top-level node, then generating said corresponding class to include top-level node import statements; and if the current data node is not a top-level node, then generating said coιτesponding class to without top-level node import statements.
7. The method of Claim 1 wherein the step of automatically generating class definition data that defines a corresponding class includes the steps of: establishing a data node within said XML document type definition file as a current data node; determining whether the curcent data node is a top-level node; if the cun-ent data node is a top-level node, then generating said corresponding class to include an input stream constmctor; and if the current data node is not a top-level node, then generating said con-esponding class to without an input stream constmctor.
8. The method of Claim 3 wherein the step of automatically generating class definition data that defines a corresponding class includes the steps of: generating standard import statements; generating a Java class declaration; generating Java class attribute variables; generating Java class constmctors; generating Java accessor methods; and generating Java common functions.
9. A computer-readable medium bearing instmctions for facilitating access to data stored in XML documents, said instmctions comprising instmctions for performing the steps of: identifying data nodes in an XML document type definition file; for each data node of a set of data nodes identified in said XML document type definition file, automatically generating class definition data that defines a corresponding class in an object-oriented programming language; wherein the step of automatically generating class definition data includes automatically generating data that defines a particular class that corresponds a particular data node in said XML document type definition file; wherein said particular data node encompasses all other data nodes in said set of data nodes; and wherein said particular class includes properties for storing data associated with all other data nodes in said set of data nodes.
10. The computer-readable medium of Claim 9 further including instmctions for performing the steps of: instantiating objects based on said particular class; and populating at least some of the properties of said objects from data contained in XML documents that are stmctured as specified in said
XML document type definition file.
11. The computer-readable medium of Claim 9 wherein: the object-oriented programming language is Java; and the step of automatically generating class definition data includes generating one or more Java class files.
12. The computer-readable medium of Claim 9 wherein: the set of data nodes includes all data nodes in said XML document type definition file; and the step of automatically generating class definition data that defines a corresponding class in an object-oriented programming language includes automatically generating class definition data that defines a class for all data nodes in said XML document type definition file.
13. The computer-readable medium of Claim 10 further including instmctions for performing the step of accessing data contained in said XML documents by calling methods of objects that have been instantiated from said particular class and populated from data in said XML documents.
14. The computer-readable medium of Claim 9 wherein the step of automatically generating class definition data that defines a corresponding class includes the steps of: establishing a data node within said XML document type definition file as a current data node; determining whether the current data node is a top-level node; if the current data node is a top-level node, then generating said corresponding class to include top-level node import statements; and if the current data node is not a top-level node, then generating said corresponding class to without top-level node import statements.
15. The computer-readable medium of Claim 9 wherein the step of automatically generating class definition data that defines a corcesponding class includes the steps of: establishing a data node within said XML document type definition file as a current data node; determining whether the current data node is a top-level node; if the current data node is a top-level node, then generating said corresponding class to include an input stream constructor; and if the current data node is not a top-level node, then generating said corresponding class to without an input stream constmctor.
6. The computer-readable medium of Claim 11 wherein the step of automatically generating class definition data that defines a coιτesponding class includes the steps of: generating standard import statements; generating a Java class declaration; generating Java class attribute variables; generating Java class constmctors; generating Java accessor methods; and generating Java common functions.
PCT/US2002/000090 2001-01-05 2002-01-04 Xml to object translation WO2002063438A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2002251730A AU2002251730A1 (en) 2001-01-05 2002-01-04 Xml to object translation

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/755,501 US20020073091A1 (en) 2000-01-07 2001-01-05 XML to object translation
US09/755,501 2001-01-05

Publications (2)

Publication Number Publication Date
WO2002063438A2 true WO2002063438A2 (en) 2002-08-15
WO2002063438A3 WO2002063438A3 (en) 2003-02-27

Family

ID=25039402

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2002/000090 WO2002063438A2 (en) 2001-01-05 2002-01-04 Xml to object translation

Country Status (3)

Country Link
US (1) US20020073091A1 (en)
AU (1) AU2002251730A1 (en)
WO (1) WO2002063438A2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1503281A1 (en) * 2003-07-31 2005-02-02 Fujitsu Limited Information processing method, apparatus and program in XML driven architecture
EP2075713A1 (en) * 2007-12-17 2009-07-01 Alcatel Lucent A method and associated system for delivery of objects
US7945904B2 (en) 2005-08-22 2011-05-17 Microsoft Corporation Embedding expression in XML literals
CN102567002A (en) * 2010-12-29 2012-07-11 上海邮电设计咨询研究院有限公司 Method for converting codes in telecom value added service development environment
US20130080875A1 (en) * 2011-09-25 2013-03-28 Ralph Debusmann Reusable and late addition enabled xml data binding
US8464233B2 (en) 2010-06-21 2013-06-11 Microsoft Corporation Compile time interpretation of markup codes

Families Citing this family (60)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7577834B1 (en) * 2000-05-09 2009-08-18 Sun Microsystems, Inc. Message authentication using message gates in a distributed computing environment
US7987217B2 (en) * 2000-05-12 2011-07-26 Oracle International Corporation Transaction-aware caching for document metadata
US7185005B1 (en) 2000-05-12 2007-02-27 Oracle International Corporation Nested transactions in a file system
US7725878B1 (en) 2000-05-12 2010-05-25 Oracle International Corporation Property bundles on a per instance basis
US7389493B1 (en) * 2000-05-12 2008-06-17 Oracle International Corporation Categories on a per instance basis
US7225467B2 (en) * 2000-11-15 2007-05-29 Lockheed Martin Corporation Active intrusion resistant environment of layered object and compartment keys (airelock)
US7213265B2 (en) * 2000-11-15 2007-05-01 Lockheed Martin Corporation Real time active network compartmentalization
US6918107B2 (en) * 2001-07-02 2005-07-12 Bea Systems, Inc. Programming language extensions for processing data representation language objects and related applications
CA2354443A1 (en) * 2001-07-31 2003-01-31 Ibm Canada Limited-Ibm Canada Limitee Method and system for visually constructing xml schemas using an object-oriented model
US20030110446A1 (en) * 2001-12-10 2003-06-12 Sun Microsystems, Inc. Object class for facilitating conversion between Java and XML
US20030159105A1 (en) * 2002-02-21 2003-08-21 Hiebert Steven P. Interpretive transformation system and method
US20040205509A1 (en) * 2002-03-18 2004-10-14 Sun Microsystems, Inc. System and method for comparing parsed XML files
US7096421B2 (en) * 2002-03-18 2006-08-22 Sun Microsystems, Inc. System and method for comparing hashed XML files
US7386835B1 (en) * 2002-03-22 2008-06-10 Emc Corporation Technique for graphical user interface modification
US7036073B2 (en) * 2002-06-27 2006-04-25 Microsoft Corporation System and method for supporting non-native XML in native XML of a word-processor document
US7058644B2 (en) * 2002-10-07 2006-06-06 Click Commerce, Inc. Parallel tree searches for matching multiple, hierarchical data structures
US7493603B2 (en) * 2002-10-15 2009-02-17 International Business Machines Corporation Annotated automaton encoding of XML schema for high performance schema validation
US7146643B2 (en) * 2002-10-29 2006-12-05 Lockheed Martin Corporation Intrusion detection accelerator
US20070061884A1 (en) * 2002-10-29 2007-03-15 Dapp Michael C Intrusion detection accelerator
US7080094B2 (en) * 2002-10-29 2006-07-18 Lockheed Martin Corporation Hardware accelerated validating parser
US20040083466A1 (en) * 2002-10-29 2004-04-29 Dapp Michael C. Hardware parser accelerator
US7533077B2 (en) * 2002-10-31 2009-05-12 International Business Machines Corporation Method, system and program product for automatically creating managed resources
US20040172234A1 (en) * 2003-02-28 2004-09-02 Dapp Michael C. Hardware accelerator personality compiler
US9715678B2 (en) 2003-06-26 2017-07-25 Microsoft Technology Licensing, Llc Side-by-side shared calendars
US7707255B2 (en) 2003-07-01 2010-04-27 Microsoft Corporation Automatic grouping of electronic mail
US7194485B2 (en) * 2003-11-21 2007-03-20 International Business Machines Corporation Mapping XML schema components to qualified java components
US20050154978A1 (en) * 2004-01-09 2005-07-14 International Business Machines Corporation Programmatic creation and access of XML documents
US20050177578A1 (en) * 2004-02-10 2005-08-11 Chen Yao-Ching S. Efficient type annontation of XML schema-validated XML documents without schema validation
US7437374B2 (en) * 2004-02-10 2008-10-14 International Business Machines Corporation Efficient XML schema validation of XML fragments using annotated automaton encoding
US20050235272A1 (en) * 2004-04-20 2005-10-20 General Electric Company Systems, methods and apparatus for image annotation
US7895531B2 (en) 2004-08-16 2011-02-22 Microsoft Corporation Floating command object
US8255828B2 (en) 2004-08-16 2012-08-28 Microsoft Corporation Command user interface for displaying selectable software functionality controls
US7703036B2 (en) 2004-08-16 2010-04-20 Microsoft Corporation User interface for displaying selectable software functionality controls that are relevant to a selected object
US9015621B2 (en) 2004-08-16 2015-04-21 Microsoft Technology Licensing, Llc Command user interface for displaying multiple sections of software functionality controls
US8146016B2 (en) 2004-08-16 2012-03-27 Microsoft Corporation User interface for displaying a gallery of formatting options applicable to a selected object
US7277990B2 (en) 2004-09-30 2007-10-02 Sanjeev Jain Method and apparatus providing efficient queue descriptor memory access
US20060067348A1 (en) * 2004-09-30 2006-03-30 Sanjeev Jain System and method for efficient memory access of queue control data structures
US7418543B2 (en) 2004-12-21 2008-08-26 Intel Corporation Processor having content addressable memory with command ordering
US7555630B2 (en) * 2004-12-21 2009-06-30 Intel Corporation Method and apparatus to provide efficient communication between multi-threaded processing elements in a processor unit
US20060140203A1 (en) * 2004-12-28 2006-06-29 Sanjeev Jain System and method for packet queuing
US7467256B2 (en) * 2004-12-28 2008-12-16 Intel Corporation Processor having content addressable memory for block-based queue structures
US7506303B2 (en) * 2005-01-12 2009-03-17 International Business Machines Corporation System and method for utilizing non-EMF based objects in an EMF environment
US9542667B2 (en) 2005-09-09 2017-01-10 Microsoft Technology Licensing, Llc Navigating messages within a thread
US8627222B2 (en) 2005-09-12 2014-01-07 Microsoft Corporation Expanded search and find user interface
US9727989B2 (en) 2006-06-01 2017-08-08 Microsoft Technology Licensing, Llc Modifying and formatting a chart using pictorially provided chart elements
US20080033968A1 (en) * 2006-08-07 2008-02-07 Quan Dennis A Methods and apparatus for input specialization
US8015483B2 (en) * 2006-10-20 2011-09-06 Microsoft Corporation Processing an XML feed with extensible or non-typed elements
US8484578B2 (en) 2007-06-29 2013-07-09 Microsoft Corporation Communication between a document editor in-space user interface and a document editor out-space user interface
US8201103B2 (en) 2007-06-29 2012-06-12 Microsoft Corporation Accessing an out-space user interface for a document editor program
US8762880B2 (en) 2007-06-29 2014-06-24 Microsoft Corporation Exposing non-authoring features through document status information in an out-space user interface
US9588781B2 (en) 2008-03-31 2017-03-07 Microsoft Technology Licensing, Llc Associating command surfaces with multiple active components
US9665850B2 (en) 2008-06-20 2017-05-30 Microsoft Technology Licensing, Llc Synchronized conversation-centric message list and message reading pane
US8402096B2 (en) 2008-06-24 2013-03-19 Microsoft Corporation Automatic conversation techniques
US9046983B2 (en) * 2009-05-12 2015-06-02 Microsoft Technology Licensing, Llc Hierarchically-organized control galleries
US8819077B1 (en) * 2011-06-30 2014-08-26 Emc Corporation Dynamic data structures
US9092466B1 (en) 2011-06-30 2015-07-28 Emc Corporation Trait definitions
US8719305B1 (en) 2011-06-30 2014-05-06 Emc Corporation Object type definitions
US8949281B2 (en) * 2012-03-31 2015-02-03 Emc Corporation System and method of hierarchical data containers
US9342300B2 (en) 2014-03-11 2016-05-17 Blue Wolf Group, LLC Analyzing components related to a software application in a software development environment
US11176314B2 (en) * 2019-09-19 2021-11-16 Sap Se XML schema description code generator

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TIMOTHY BUDD: 'Understanding object-oriented programming with JAVA', 2000 XP002952397 ISBN 0-201-61273-9 *
TODD SUNSTED: 'XML and Java technology tackle enterprise application integration', [Online] June 1999, XP002952396 Retrieved from the Internet: <URL:http://developer.java.sun.com/develope r/technicalArticles/Networking/XMLAndJava/# resources> *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1503281A1 (en) * 2003-07-31 2005-02-02 Fujitsu Limited Information processing method, apparatus and program in XML driven architecture
US8533207B2 (en) 2003-07-31 2013-09-10 Fujitsu Limited Information processing method, apparatus and program in XML driven architecture
US7945904B2 (en) 2005-08-22 2011-05-17 Microsoft Corporation Embedding expression in XML literals
US8533693B2 (en) 2005-08-22 2013-09-10 Microsoft Corporation Embedding expressions in XML literals
EP2075713A1 (en) * 2007-12-17 2009-07-01 Alcatel Lucent A method and associated system for delivery of objects
US8464233B2 (en) 2010-06-21 2013-06-11 Microsoft Corporation Compile time interpretation of markup codes
CN102567002A (en) * 2010-12-29 2012-07-11 上海邮电设计咨询研究院有限公司 Method for converting codes in telecom value added service development environment
US20130080875A1 (en) * 2011-09-25 2013-03-28 Ralph Debusmann Reusable and late addition enabled xml data binding
US9430253B2 (en) * 2011-09-25 2016-08-30 Sap Se Reusable and late addition enabled XML data binding

Also Published As

Publication number Publication date
AU2002251730A1 (en) 2002-08-19
US20020073091A1 (en) 2002-06-13
WO2002063438A3 (en) 2003-02-27

Similar Documents

Publication Publication Date Title
US20020073091A1 (en) XML to object translation
US6754884B1 (en) Programming language extensions for processing XML objects and related applications
US7269792B2 (en) System and method for generating high-function browser widgets with full addressability
US7155705B1 (en) Techniques for binding an application with a data exchange format based on tags in comments
US7506324B2 (en) Enhanced compiled representation of transformation formats
US6675230B1 (en) Method, system, and program for embedding a user interface object in another user interface object
US6658625B1 (en) Apparatus and method for generic data conversion
US7941461B2 (en) System and method for developing and enabling model-driven XML transformation framework for e-business
US7500224B2 (en) Code blueprints
US6986101B2 (en) Method and apparatus for converting programs and source code files written in a programming language to equivalent markup language files
US7174533B2 (en) Method, system, and program for translating a class schema in a source language to a target language
US20030110446A1 (en) Object class for facilitating conversion between Java and XML
CN109522018B (en) Page processing method and device and storage medium
US7194683B2 (en) Representing and managing dynamic data content for web documents
US7444643B2 (en) Accessing a ERP application over the internet using strongly typed declarative language files
US6854123B1 (en) Method, system, and program for mapping standard application program interfaces (APIs) to user interface APIs
US7895570B2 (en) Accessible role and state information in HTML documents
EP1156415A2 (en) Server-side control objects for processing client-side user interface elements
US20020078105A1 (en) Method and apparatus for editing web document from plurality of web site information
AU2002354768A1 (en) Programming language extensions for processing XML objects and related applications
JP3808020B2 (en) Web server having Java servlet function, Java program update method, and computer program
US20080313619A1 (en) Method and apparatus for a configurable java server pages processing framework
KR20040111099A (en) System and method for creating, managing and using code segments
US20030020752A1 (en) Methods and systems for representing and accessing data
US20050022174A1 (en) Providing runtime object by instantiating template-derived classes

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
AK Designated states

Kind code of ref document: A3

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 69(1) EPC (EPO FORM 1205A DATED 041103)

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Country of ref document: JP