writer.writeXsiType(type.getSchemaType());
boolean nextIsBeanType = type instanceof BeanType;
if (nextIsBeanType) {
((BeanType)type).writeObjectFromObjectType(object, writer, context, true);
} else {
type.writeObject(object, writer, context);
}
}
}
public Type determineType(Context context, Class clazz) {