JiBX Basics
Start from Code
Start from Schema
Binding Definition
Usage API
|
Schema datatypesCodeGen uses standard Java types to represent the most-commonly-used schema datatypes,
as listed below. In case where both a primitive type and an object type are used to
represent a schema datatype, the primitive type is used for required values while the
object type is used for optional values. As shown in the table, all schema types with
no specific Java equivalent are handled using Default representations of schema datatypes
To change these defaults, you can use the schema-type code generation extension element to change the Java representation of a schema type, the way the type is serialized and deserialized, or both. You can also substitute one schema type (or user type) for another using the type-substitutions nesting customization attribute (as in the More Customizations example). |
© 2003-2011, Dennis M. Sosnoski (Sosnoski Software Associates Ltd). Licensed to the JiBX Project for free distribution and use. |