}
private DriverSG newSerializerSG(ComplexTypeSG pController, JavaSource pSource)
throws SAXException {
if (pController.hasSimpleContent()) {
return new SimpleContentDriverSG(pController, pSource);
} else {
ComplexContentSG ccSG = pController.getComplexContentSG();
if (ccSG.isEmpty()) {
return new EmptyElementDriverSG(pController, pSource);
} else {