code: public void autoGenerateStyleMapFile(AnalysisEngineMetaData aMetaData,
  	    File aStyleMapFile) throws IOException {
  	String xmlStr = autoGenerateStyleMap(aMetaData);
  	FileWriter out = null;
  	try {
  	    out = new FileWriter(aStyleMapFile);
  	    out.write(xmlStr);
  	} finally {
  	    if (out != null)
  		out.close();
  	}
      }
docs: Automatically generates a style map file for the given analysis engine
  metadata. The style map will be written to the file
  <code>aStyleMapFile</code>.
  
  
  @param aMetaData
  Metadata of the Analysis Engine whose outputs will be viewed
  using the generated style map.
  @param aStyleMapFile
  file to which autogenerated style map will be written