mil.dod.th.ose.lexicon.doc/src/mil/dod/th/ose/lexicon/doc/main/LexiconDocGeneratorMain.java
private void generateDoc(final File outputFile, final File xsdFileDir) throws ParserConfigurationException, 
            SAXException, IOException
    {
        LOG.log(Level.INFO, String.format("Lexicon schema location: %s", xsdFileDir.getAbsolutePath()));
        LOG.log(Level.INFO, String.format("Generating lexion markup documentation to: %s", 
                outputFile.getAbsolutePath()));
        
        final DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
        final DocumentBuilder docBuilder = builderFactory.newDocumentBuilder();
        
        final List<File> xsdFiles = createXsdFileList(xsdFileDir);
        final List<LexiconBase> types = m_LexiconParser.parserXsdFiles(xsdFiles, docBuilder);
        
        Collections.sort(types, new LexiconComparator());
        m_MarkdownGenerator.generateMarkup(outputFile, types);
    }
/**
     * Generates mark-up documentation for the XSD files in the specified directory.
     * 
     * @param outputFile
     *      The file the generated mark-up should be written to.
     * @param xsdFileDir
     *      The directory where XSD files are located.
     * @throws ParserConfigurationException
     *      Thrown if an error occurs configuring the lexicon parser.
     * @throws SAXException
     *      Thrown if an error occurs parsing an XSD file.
     * @throws IOException
     *      Thrown if an error occurs reading from an XSD file
     */
Generates mark-up documentation for the XSD files in the specified directory.

@param outputFile
The file the generated mark-up should be written to.
@param xsdFileDir
The directory where XSD files are located.
@throws ParserConfigurationException
Thrown if an error occurs configuring the lexicon parser.
@throws SAXException
Thrown if an error occurs parsing an XSD file.
@throws IOException
Thrown if an error occurs reading from an XSD file
Generates mark - up documentation for the XSD files in the specified directory . @param outputFile The file the generated mark - up should be written to . @param xsdFileDir The directory where XSD files are located . @throws ParserConfigurationException Thrown if an error occurs configuring the lexicon parser . @throws SAXException Thrown if an error occurs parsing an XSD file . @throws IOException Thrown if an error occurs reading from an XSD file
private void generateDoc(final File outputFile, final File xsdFileDir) throws ParserConfigurationException, 
            SAXException, IOException
    {
        LOG.log(Level.INFO, String.format("Lexicon schema location: %s", xsdFileDir.getAbsolutePath()));
        LOG.log(Level.INFO, String.format("Generating lexion markup documentation to: %s", 
                outputFile.getAbsolutePath()));
        final DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
        final DocumentBuilder docBuilder = builderFactory.newDocumentBuilder();
        final List<File> xsdFiles = createXsdFileList(xsdFileDir);
        final List<LexiconBase> types = m_LexiconParser.parserXsdFiles(xsdFiles, docBuilder);
        Collections.sort(types, new LexiconComparator());
        m_MarkdownGenerator.generateMarkup(outputFile, types);
    }
private void generateDoc ( final File outputFile , final File xsdFileDir ) throws ParserConfigurationException , SAXException , IOException { LOG . log ( Level . INFO , String . format ( "Lexicon schema location: %s" , xsdFileDir . getAbsolutePath ( ) ) ) ; LOG . log ( Level . INFO , String . format ( "Generating lexion markup documentation to: %s" , outputFile . getAbsolutePath ( ) ) ) ; final DocumentBuilderFactory builderFactory = DocumentBuilderFactory . newInstance ( ) ; final DocumentBuilder docBuilder = builderFactory . newDocumentBuilder ( ) ; final List < File > xsdFiles = createXsdFileList ( xsdFileDir ) ; final List < LexiconBase > types = m_LexiconParser . parserXsdFiles ( xsdFiles , docBuilder ) ; Collections . sort ( types , new LexiconComparator ( ) ) ; m_MarkdownGenerator . generateMarkup ( outputFile , types ) ; }
Generates mark-up documentation for the XSD files in the specified directory.
Generates mark - up documentation for the XSD files in the specified directory .