@ Override public Result createOutput ( String namespaceUri , String defaultFileName ) throws IOException { if ( null == fileName ) { fileName = defaultFileName ; } return new StreamResult ( new File ( baseDir , fileName ) ) ; }
Called by the schema generation process . There is no need to call this method directly .