protected CorbaObjectHandler readObjectFromStax(XMLEventReader reader,
QName idlType,
XmlSchemaObject schemaType,
boolean isNested)
throws CorbaBindingException {
TypeCode tc = CorbaUtils.getTypeCode(orb, idlType, typeMaps);
CorbaObjectHandler obj = null;
if (CorbaUtils.isPrimitiveIdlType(idlType)) {
LOG.log(Level.INFO, "Reading primitive type from XML reader");
obj = readPrimitiveFromStax(reader, idlType, tc, schemaType);
} else {
switch (tc.kind().value()) {
case TCKind._tk_any:
LOG.log(Level.INFO, "Reading any type from XML reader");
obj = readAnyFromStax(reader, idlType, tc, schemaType);
break;
case TCKind._tk_array: