state.jClass.setSuperClass(baseClassName);
} //--complexType
//--if the content type is a simpleType create a field info for it.
if (complexType.getContentType().getType() == ContentType.SIMPLE) {
SimpleContent simpleContent = (SimpleContent)complexType.getContentType();
SimpleType temp = simpleContent.getSimpleType();
XSType xsType = TypeConversion.convertType(temp, state.packageName);
FieldInfo fieldInfo = memberFactory.createFieldInfoForContent(xsType);
handleField(fieldInfo,state);
}
}//--base not null