System and method for XML data binding
First Claim
1. A system for data binding, comprising:
- a schema compiler adapted to accept a schema for an XML document and generate a set of interfaces that map any types and elements of the schema into Java classes; and
a runtime API for mapping between the XML document and the Java classes.
2 Assignments
0 Petitions
Accused Products
Abstract
A schema parser can be used in data binding to create a schema object model when given an XML schema. Java classes can be generated using the schema object model, which correspond to elements and types in the schema. Mapping can be done in each direction between the schema and Java classes, which can be written to a type mapping directory. The schema object model can also contain mappings between each Java class and an XSD type. The mappings in the type mapping directory can then be used to generate XML when given a Java object tree, and can be used to create and populate a Java class when given an XML instance matching the schema object model.
-
Citations
29 Claims
-
1. A system for data binding, comprising:
-
a schema compiler adapted to accept a schema for an XML document and generate a set of interfaces that map any types and elements of the schema into Java classes; and
a runtime API for mapping between the XML document and the Java classes. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A system for data binding, comprising:
-
a schema parser for generating a schema object model when given an XML schema;
means for generating Java classes from the schema object model that correspond to elements and types in the schema; and
a type mapping directory for containing mapping between the XML schema and the Java classes. - View Dependent Claims (18, 19)
-
-
20. A system for data binding, comprising:
-
a schema parser for generating a schema object model when given an XML schema;
means for generating Java classes from the schema object model that correspond to elements and types in the schema;
means for mapping each of the Java class to an XSD type; and
a type mapping directory for containing mapping between the XML schema, Java classes, and XSD types. - View Dependent Claims (21)
-
-
22. A method for data binding, comprising:
-
using a schema parser to create a schema object model when given an XML schema;
generating Java classes using the schema object model, the Java classes corresponding to elements and types in the schema; and
mapping in each direction between the schema and Java classes and writing the mapping to a type mapping directory. - View Dependent Claims (23, 24, 25)
-
-
26. A computer-readable medium, comprising:
-
means for using a schema parser to create a schema object model when given an XML schema;
means for generating Java classes using the schema object model, the Java classes corresponding to elements and types in the schema; and
means for mapping in each direction between the schema and Java classes and writing the mapping to a type mapping directory.
-
-
27. A computer program product for execution by a server computer for data binding, comprising:
-
computer code for using a schema parser to create a schema object model when given an XML schema;
computer code for generating Java classes using the schema object model, the Java classes corresponding to elements and types in the schema; and
computer code for mapping in each direction between the schema and Java classes and writing the mapping to a type mapping directory.
-
-
28. A system for data binding, comprising:
-
means for using a schema parser to create a schema object model when given an XML schema;
means for generating Java classes using the schema object model, the Java classes corresponding to elements and types in the schema; and
means for mapping in each direction between the schema and Java classes and writing the mapping to a type mapping directory.
-
-
29. A computer system comprising:
-
a processor;
object code executed by said processor, said object code configured to;
use a schema parser to create a schema object model when given an XML schema;
generate Java classes using the schema object model, the Java classes corresponding to elements and types in the schema; and
map in each direction between the schema and Java classes and writing the mapping to a type mapping directory.
-
Specification