Nova Patents
US7962925B2

System and method for XML data binding

Summary by NHIP

XML Schema Binding System

The system uses a microprocessor to generate interfaces mapping schema definition language types into object-oriented classes via a schema object model. This model programmatically creates new schema types and maintains a pool of empty object trees ready for population by an API.

Claim Score by NHIP

Read claim 21, the broadest

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.

US7962925B2, drawing sheet 1
Sheet 1 of 3

Term

Term ended

Expired 17 September 2025, 1 year ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

27 claims: 5 independent, 22 dependent

  1. 1
    A system for data binding, comprising:a microprocessor;a schema object model, wherein the schema object model is an object oriented programming language object model that directly models a schema that includes one or more schema definition language types based on a schema definition language, and wherein the schema object model allows manipulation of schema documents in the schema definition language, wherein the schema object model programmatically creates at least one new schema definition language type in the schema based on the one or more schema definition language types pre-defined in the schema definition language, wherein the at least one new schema definition language type is not pre-defined in the schema definition language, and wherein the schema object model supports a pool of empty object trees that are ready to be filled with one or more object oriented programming language objects based on the schema;a schema compiler adapted to accept the schema associated with an Extensible Markup Language (XML) document and generate a set of interfaces that map the one or more schema definition language types of the schema into object-oriented programming language classes using the schema object model with the pool of empty object trees;and an Application Programming Interface (API) to map between the XML document and the object-oriented programming language classes based on at least one empty object tree from the pool of empty object trees.
  2. 21
    Broadest claimClaim Score 35, narrow(NHIP)A computer-implemented method for data binding, comprising:using a schema parser to create a schema object model when given an Extensible Markup Language (XML) schema that is associated with an XML document, wherein the schema object model is an object oriented programming language object model that directly models schema components based on a schema definition language and allows manipulation of schema documents, wherein the schema object model programmatically creates at least one new type based on one or more types pre-defined in the schema definition language, wherein the at least one new schema definition language type is not pre-defined in the schema definition language, and wherein the schema object model supports a pool of empty object trees that are ready to be filled based on the schema;generating a set of interfaces that map the one or more schema definition language types of the schema into object-oriented programming language classes using the schema object model with the pool of empty object trees;and mapping between the XML document and the object-oriented programming language classes.
  3. 25
    A computer storage medium storing computer program instructions, when executed by a processor, performing a method comprising:using a schema parser to create a schema object model when given an Extensible Markup Language (XML) schema that is associated with an XML document, wherein the schema object model is an object oriented programming language object model that directly models a schema that includes one or more schema definition language types based on a schema definition language, and wherein the schema object model allows manipulation of schema documents in the schema definition language, wherein the schema object model programmatically creates at least one new schema definition language type in the schema based on the one or more schema definition language types pre-defined in the schema definition language, wherein the at least one new schema definition language type is not pre-defined in the schema definition language, and wherein the schema object model supports a pool of empty object trees that are ready to be filled with one or more object oriented programming language objects based on the schema;generating a set of interfaces that map the one or more schema definition language types of the schema into object-oriented programming language classes using the schema object model with the pool of empty object trees;and mapping between the XML document and the object-oriented programming language classes.
  4. 26
    A computer program product stored on a computer-storage medium that when executed by a microprocessor cause a system to perform the steps of:using a schema parser to create a schema object model when given an Extensible Markup Language (XML) schema that is associated with an XML document, wherein the schema object model is an object oriented programming language object model that directly models a schema that includes one or more schema definition language types based on a schema definition language, and wherein the schema object model allows manipulation of schema documents in the schema definition language, wherein the schema object model programmatically creates at least one new schema definition language type in the schema based on the one or more schema definition language types pre-defined in the schema definition language, wherein the at least one new schema definition language type is not pre-defined in the schema definition language, and wherein the schema object model supports a pool of empty object trees that are ready to be filled with one or more object oriented programming language objects based on the schema;generating a set of interfaces that map the one or more schema definition language types of the schema into object-oriented programming language classes using the schema object model with the pool of empty object trees;and mapping between the XML document and the object-oriented programming language classes and writing the mapping to a type mapping directory.
  5. 27
    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 Extensible Markup Language (XML) schema that is associated with an XML document, wherein the schema object model is an object oriented programming language object model that directly models a schema that includes one or more schema definition language types based on a schema definition language, and wherein the schema object model allows manipulation of schema documents in the schema definition language, wherein the schema object model programmatically creates at least one new schema definition language type in the schema based on the one or more schema definition language types pre-defined in the schema definition language, wherein the at least one new schema definition language type is not pre-defined in the schema definition language, and wherein the schema object model supports a pool of empty object trees that are ready to be filled with one or more object oriented programming language objects based on the schema;generate a set of interfaces that map the one or more schema definition language types of the schema into object-oriented programming language classes using the schema object model with the pool of empty object trees;and map between the XML document and the object-oriented programming language classes and writing the mapping to a type mapping directory.