mil.dod.th.ose.lexicon.doc/src/mil/dod/th/ose/lexicon/doc/markup/MarkupGenerator.java
private void handleEnumerations(final PrintStream stream, final List<LexiconEnum> enums) throws IOException
    {
        if (enums.size() > 0)
        {
            stream.println("h4. *Enum Values*");
            stream.println("||Value||Description||");
            for (LexiconEnum lexEnum: enums)
            {
                final String description = lexEnum.getDescription() == null ? SPACE_CHAR : lexEnum.getDescription();
                stream.format("|%s|%s|", lexEnum.getName(), description);
                stream.println();
            }
        }
    }
/**
     * Method that generates mark-up for a list of enumeration values.
     * 
     * @param stream
     *      Print stream the mark-up should be written to.
     * @param enums
     *      List of enumeration values that mark-up should be generated for.
     * @throws IOException
     *      Thrown if an exception occurs writing the mark-up to the buffered writer.
     */
Method that generates mark-up for a list of enumeration values.

@param stream
Print stream the mark-up should be written to.
@param enums
List of enumeration values that mark-up should be generated for.
@throws IOException
Thrown if an exception occurs writing the mark-up to the buffered writer.
Method that generates mark - up for a list of enumeration values . @param stream Print stream the mark - up should be written to . @param enums List of enumeration values that mark - up should be generated for . @throws IOException Thrown if an exception occurs writing the mark - up to the buffered writer .
private void handleEnumerations(final PrintStream stream, final List<LexiconEnum> enums) throws IOException
    {
        if (enums.size() > 0)
        {
            stream.println("h4. *Enum Values*");
            stream.println("||Value||Description||");
            for (LexiconEnum lexEnum: enums)
            {
                final String description = lexEnum.getDescription() == null ? SPACE_CHAR : lexEnum.getDescription();
                stream.format("|%s|%s|", lexEnum.getName(), description);
                stream.println();
            }
        }
    }
private void handleEnumerations ( final PrintStream stream , final List < LexiconEnum > enums ) throws IOException { if ( enums . size ( ) > 0 ) { stream . println ( "h4. *Enum Values*" ) ; stream . println ( "||Value||Description||" ) ; for ( LexiconEnum lexEnum : enums ) { final String description = lexEnum . getDescription ( ) == null ? SPACE_CHAR : lexEnum . getDescription ( ) ; stream . format ( "|%s|%s|" , lexEnum . getName ( ) , description ) ; stream . println ( ) ; } } }
Method that generates mark-up for a list of enumeration values.
Method that generates mark - up for a list of enumeration values .