Simple Type Classes

Simple types represent a single value, and XBinder represents their data using predefined C# or Java types (e.g. int, String; see XSD Simple Type Mappings). The simple type classes provide static encode/decode methods and are used only for encoding/decoding; they do not contain the simple type value. You should not have to interact with the simple type classes.

Enumerations

A simple type with enumeration facets is an exception to the above. In this case, for Java an enum class is generated, and the enum constants are used to represent the data. For C# a class resembling a Java enum class is generated that can wrap a possible value for the enum.