XML to object translation
First Claim
Patent Images
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.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques are provided for accessing data stored in XML documents using objects defined in object-oriented languages, such as Java. In one embodiment, a translation tool identifies the data nodes in an XML DTD associated with an XML document. The translation tool converts each of the identified nodes to a corresponding Java class in which a top-level data node in the XML DTD corresponds to a top-level Java class. From the Java classes and data in the XML document, a Java object is instantiated. The Java object thus can be used to advantageously access the data in the XML document in the Java language domain.
97 Citations
16 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-readable medium bearing instructions for facilitating access to data stored in XML documents, said instructions comprising instructions 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. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification