private HandlerSG newHandlerSG(ComplexTypeSG pController,
JavaSource pJs)
throws SAXException {
if (pController.hasSimpleContent()) {
return new SimpleContentHandlerSG(pController, pJs);
} else {
ComplexContentSG ccSG = pController.getComplexContentSG();
if (ccSG.isEmpty()) {
return new EmptyElementHandlerSG(pController, pJs);
} else {