@Override
  public boolean requiresXMLGenerator() {
    AbstractJavaClientGenerator javaClientGenerator = createJavaClientGenerator();

    if (javaClientGenerator == null) {
      return false;
    } else {
      return javaClientGenerator.requiresXMLGenerator();
    }
  }
  protected void calculateXmlMapperGenerator(
      AbstractJavaClientGenerator javaClientGenerator,
      List<String> warnings,
      ProgressCallback progressCallback) {
    if (javaClientGenerator == null) {
      if (context.getSqlMapGeneratorConfiguration() != null) {
        xmlMapperGenerator = new XMLMapperGenerator();
      }
    } else {
      xmlMapperGenerator = javaClientGenerator.getMatchedXMLGenerator();
    }

    initializeAbstractGenerator(xmlMapperGenerator, warnings, progressCallback);
  }