if (!_singleClassGenerator.process(_sourceFactory.createSourceCode(_bindingComponent, sInfo), sInfo)) {
JClass[] classes = _sourceFactory.createSourceCode(_bindingComponent, sInfo); if (!_singleClassGenerator.process(classes, sInfo)) {
    private void createClasses(final ElementDecl elementDecl, final SGStateInfo sInfo) throws IOException {        if (sInfo.getStatusCode() == SGStateInfo.STOP_STATUS || elementDecl == null) {            return;        }        //-- when mapping schema types, only interested in producing classes        //-- for elements with anonymous complex types        XMLType xmlType = elementDecl.getType();        if (mappingSchemaType2Java()) {            if (elementDecl.isReference() || ((xmlType != null) && (xmlType.getName() != null))) {                return;            }        }        //--create component        _bindingComponent.setView(elementDecl);        //-- already processed --> just return        ClassInfo cInfo = sInfo.resolve(elementDecl);        if (cInfo != null && cInfo.getJClass() != null) {            JClass jClass = cInfo.getJClass();            if (sInfo.processed(jClass)) {                return;            }            jClass = null;        }        //--Make sure this doesn't conflict with a java.lang.* class        checkNameNotReserved(elementDecl.getName(), sInfo);        //-- No type definition        if (xmlType == null) {            if (sInfo.verbose()) {                String msg = "No type found for element: " + elementDecl.getName();                sInfo.getDialog().notify(msg);            }            return;        } else if (xmlType.isComplexType()) {            //-- ComplexType            if (!_singleClassGenerator.process(_sourceFactory.createSourceCode(_bindingComponent, sInfo), sInfo)) {                return;            }            //only create classes for types that are not imported            if (xmlType.getSchema() == _bindingComponent.getSchema()) {                processComplexType((ComplexType) xmlType, sInfo);            }        } else if (xmlType.isSimpleType()) {            //-- SimpleType            processSimpleType((SimpleType) xmlType, sInfo);        } else {            //-- AnyType            //-- no processing needed for 'anyType'        }    }  //-- createClasses