Chapter 4. XSD Simple Type Mappings

Table of Contents

Atomic, User-Defined types
Lists
Unions
Enumeration

The following table describes the mappings for the XSD built-in simple types.

XSD Built-In Type C# Type Java Type
anyURI string string
base64Binary com.objsys.xbinder.runtime.XBByteArray com.objsys.xbinder.runtime.XBByteArray
boolean bool boolean
byte sbyte byte
date string javax.xml.datatype.XMLGregorianCalendar
dateTime string javax.xml.datatype.XMLGregorianCalendar
decimal decimal java.math.BigDecimal
double double double
duration com.objsys.xbinder.runtime.XBDuration javax.xml.datatype.Duration
ENTITIES string[] string[]
ENTITY string string
float float float
gDay string javax.xml.datatype.XMLGregorianCalendar
gMonth string javax.xml.datatype.XMLGregorianCalendar
gMonthDay string javax.xml.datatype.XMLGregorianCalendar
gYear string javax.xml.datatype.XMLGregorianCalendar
gYearMonth string javax.xml.datatype.XMLGregorianCalendar
hexBinary string com.objsys.xbinder.runtime.XBByteArray
ID string string
IDREF string string
IDREFS string[] String[]
integer int int
int int int
language string string
long long long
Name string string
NCName string string
negativeInteger int int
NMTOKEN string string
NMTOKENS string[] string[]
nonNegativeInteger uint int
nonPositiveInteger int int
normalizedString string string
positiveInteger uint int
short short short
string string string
time string javax.xml.datatype.XMLGregorianCalendar
token string String
unsignedByte byte short
unsignedShort ushort int
unsignedInt uint long
unsignedLong ulong java.math.BigInteger