1.

What Is Xml Binding?

Answer»

Maps XML to in-memory objects ACCORDING to a schema

Generates classes to represent XML elements:

  • so developers don’t have to write them
  • the “binding compiler” does this
  • the classes FOLLOW JAVABEANS property access conventions

Supports three PRIMARY operations:

  • marshalling a tree of objects into an XML document
  • unmarshalling an XML document into a tree of objects

includes validation of the XML against the schema:

used to generate the classes of the objects validation of object trees against the schema used to generate their classes

  • some constraints are ENFORCED while working with the objects
  • others are only enforced when validation is requested

Maps XML to in-memory objects according to a schema

Generates classes to represent XML elements:

Supports three primary operations:

includes validation of the XML against the schema:

used to generate the classes of the objects validation of object trees against the schema used to generate their classes



Discussion

No Comment Found