code: public Map < String, String > generate(Reader cobolReader,
              String targetPackageName, final String xsltFileName) {
  
          // The XML schema is an intermediary result which we do not keep.
          String xmlSchemaSource = cob2xsd.translate(cobolReader,
                  NamespaceUtils.toNamespace(targetPackageName), xsltFileName);
          if (log.isDebugEnabled()) {
              log.debug("Generated Cobol-annotated XML Schema: ");
              log.debug(xmlSchemaSource);
          }
          return xsd2CobolTypes.generate(xmlSchemaSource, targetPackageName);
  
      }
docs: Given a COBOL copybook, produce a set of java classes (source code) used
  to convert mainframe data (matching the copybook) at runtime.
  
  @param cobolReader reads the COBOL copybook source
  @param targetPackageName the java package the generated classes should
  reside in
  @param xsltFileName an optional xslt to apply on the XML Schema
  @return a map of java class names to their source code