}
public void init(ComplexTypeSG pController) throws SAXException {
attributes = initAttributes(pController);
if (pController.hasSimpleContent()) {
SimpleContentSGChain chain = (SimpleContentSGChain) pController.newSimpleContentTypeSG();
simpleContentSG = new SimpleContentSGImpl(chain);
simpleContentSG.init();
} else {
ComplexContentSGChain chain = (ComplexContentSGChain) pController.newComplexContentTypeSG();
complexContentSG = new ComplexContentSGImpl(chain);