mil.dod.th.ose.lexicon.doc/src/mil/dod/th/ose/lexicon/doc/markup/MarkupGenerator.java
public void generateMarkup(final File outputfile, final List<LexiconBase> types) throws IOException
    {
        
        try (PrintStream stream = m_FileService.createPrintStream(outputfile))
        {
            for (LexiconBase type: types)
            {
                stream.format("h2. +%s+", type.getName());
                stream.println();
                
                if (type instanceof LexiconComplexType)
                {
                    handleComplexType(stream, (LexiconComplexType)type);
                }
                else
                {
                    handleSimpleType(stream, (LexiconSimpleType)type);
                }
                
                stream.println("----"); //NOCHECKSTYLE Repeating string is easier to read.
                stream.println("----");
            }
        }
    }
/**
     * Generates Confluence mark-up to a file for the specified lexicon types.
     * 
     * @param outputfile
     *      File the generated mark-up should be printed to.
     * @param types
     *      The lexicon types mark-up should be generated for.
     * @throws IOException
     *      Thrown if there is an issue writing the mark-up to the specified file.
     */
Generates Confluence mark-up to a file for the specified lexicon types.

@param outputfile
File the generated mark-up should be printed to.
@param types
The lexicon types mark-up should be generated for.
@throws IOException
Thrown if there is an issue writing the mark-up to the specified file.
Generates Confluence mark - up to a file for the specified lexicon types . @param outputfile File the generated mark - up should be printed to . @param types The lexicon types mark - up should be generated for . @throws IOException Thrown if there is an issue writing the mark - up to the specified file .
public void generateMarkup(final File outputfile, final List<LexiconBase> types) throws IOException
    {
        try (PrintStream stream = m_FileService.createPrintStream(outputfile))
        {
            for (LexiconBase type: types)
            {
                stream.format("h2. +%s+", type.getName());
                stream.println();
                if (type instanceof LexiconComplexType)
                {
                    handleComplexType(stream, (LexiconComplexType)type);
                }
                else
                {
                    handleSimpleType(stream, (LexiconSimpleType)type);
                }
                stream.println("----"); 
                stream.println("----");
            }
        }
    }
public void generateMarkup ( final File outputfile , final List < LexiconBase > types ) throws IOException { try ( PrintStream stream = m_FileService . createPrintStream ( outputfile ) ) { for ( LexiconBase type : types ) { stream . format ( "h2. +%s+" , type . getName ( ) ) ; stream . println ( ) ; if ( type instanceof LexiconComplexType ) { handleComplexType ( stream , ( LexiconComplexType ) type ) ; } else { handleSimpleType ( stream , ( LexiconSimpleType ) type ) ; } stream . println ( "----" ) ; stream . println ( "----" ) ; } } }
Generates Confluence mark-up to a file for the specified lexicon types.
Generates Confluence mark - up to a file for the specified lexicon types .
//NOCHECKSTYLE Repeating string is easier to read.