//-- If we are marshalling an array as the top
//-- level object, or if we run into a multi
//-- dimensional array, use the special
//-- ArrayDescriptor
if ((classDesc == null) && _class.isArray()) {
classDesc = new RootArrayDescriptor(_class);
if (atRoot) {
containerField = (!_asDocument);
}
}
} //-- end else not primitive