getNamespaceUriIndex
("http://www.w3.org/2001/XMLSchema-instance", "xsi");
// build the default converters in outer context, with appropriate trim
String conv = trim ? "org.jibx.runtime.WhitespaceConversions.trim" : null;
m_outerContext.setDefaultConversion(new QName("byte.default"),
s_byteConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("char.default"),
s_charConversion.derive(null, null, conv, null, null));
StringConversion schar = s_charConversion.derive("char",
"org.jibx.runtime.Utility.serializeCharString", null,
"org.jibx.runtime.Utility.parseCharString", null);
m_outerContext.setNamedConversion(new QName("char.string"), schar);
m_outerContext.setDefaultConversion(new QName("double.default"),
s_doubleConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("float.default"),
s_floatConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("int.default"),
s_intConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("long.default"),
s_longConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("short.default"),
s_shortConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("boolean.default"),
s_booleanConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("Date.default"),
s_dateConversion.derive(null, null, conv, null, null));
//#!j2me{
m_outerContext.setDefaultConversion(new QName("SqlDate.default"),
s_sqlDateConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("SqlTime.default"),
s_sqlTimeConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("Timestamp.default"),
s_timestampConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("LocalDate.default"),
s_jodaLocalDateConversion.derive(null, null, conv, null, null));
m_outerContext.setNamedConversion(new QName("DateMidnight.zoned"),
s_jodaZonedDateMidnightConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("DateMidnight.local"),
s_jodaLocalUnzonedDateMidnightConversion.derive(null, null, conv, null, null));
m_outerContext.setNamedConversion(new QName("DateMidnight.UTC"),
s_jodaUTCDateMidnightConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("LocalTime.local"),
s_jodaUnzonedLocalTimeConversion.derive(null, null, conv, null, null));
m_outerContext.setNamedConversion(new QName("LocalTime.UTC"),
s_jodaUnzonedUTCLocalTimeConversion.derive(null, null, conv, null, null));
m_outerContext.setNamedConversion(new QName("DateTime.zoned"),
s_jodaZonedDateTimeConversion.derive(null, null, conv, null, null));
m_outerContext.setNamedConversion(new QName("DateTime.UTC"),
s_jodaUTCDateTimeConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("DateTime.local"),
s_jodaLocalDateTimeConversion.derive(null, null, conv, null, null));
m_outerContext.setNamedConversion(new QName("DateTime.strict-local"),
s_jodaStrictLocalDateTimeConversion.derive(null, null, conv, null, null));
m_outerContext.setNamedConversion(new QName("DateTime.strict-UTC"),
s_jodaStrictUTCDateTimeConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("BigDecimal.java5"),
s_java5DecimalConversion.derive(null, null, conv, null, null));
//#j2me}
m_outerContext.setDefaultConversion(new QName("byte-array.default"),
s_base64Conversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("Boolean.default"),
s_wrappedBooleanConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("QName.default"),
s_qnameConversion.derive(null, null, conv, null, null));
m_outerContext.setDefaultConversion(new QName("String.default"),
s_stringConversion);
m_outerContext.setDefaultConversion(OBJECT_DEFAULT_NAME,
s_objectConversion.derive(null, null, conv, null, null));
// add this binding to list