}
private BeanSG newBeanSG(ComplexTypeSG pController, JavaSource pJs)
throws SAXException {
if (pController.hasSimpleContent()) {
return new SimpleContentBeanSG(pController, pJs);
} else {
ComplexContentSG ccSG = pController.getComplexContentSG();
if (ccSG.isEmpty()) {
return new EmptyElementBeanSG(pController, pJs);
} else {