public void writeChoices( DocProperty prop ) { if ( ! prop.hasChoices( ) ) return;  writeln( "<h3>Choices</h3>\n" ); writeln( "<table class=\"section-table\">" ); writeln( "<thead><tr><td>Name</td><td>Display Name</td>" ); writeln( "<td>Value</td><td>Description</td></tr></thead>" ); writeln( "<tbody>" ); Iterator iter = prop.getChoices( ).iterator( ); while ( iter.hasNext( ) ) { DocChoice choice = (DocChoice) iter.next( ); write( "<tr><td>" ); write( choice.getName( ) ); write( "</td>\n<td>" ); write( choice.getDisplayName( ) ); write( "</td>\n<td>" ); write( choice.getValue( ) ); write( "</td>\n<td>" ); write( choice.getDescription( ) ); writeln( "</td></tr>" ); } writeln( "</tbody></table><br>" ); }
private void writeChoices( DocProperty prop ) { if ( ! prop.hasChoices( ) ) return;  writeln( "<h3>Choices</h3>\n" ); writeln( "<table class=\"section-table\">" ); writeln( "<thead><tr><td>Name</td><td>Display Name</td>" ); writeln( "<td>Value</td><td>Description</td></tr></thead>" ); writeln( "<tbody>" ); Iterator iter = prop.getChoices( ).iterator( ); while ( iter.hasNext( ) ) { DocChoice choice = (DocChoice) iter.next( ); write( "<tr><td>" ); write( choice.getName( ) ); write( "</td>\n<td>" ); write( choice.getDisplayName( ) ); write( "</td>\n<td>" ); write( choice.getValue( ) ); write( "</td>\n<td>" ); write( choice.getDescription( ) ); writeln( "</td></tr>" ); } writeln( "</tbody></table><br>" ); }
	public void writeChoices( DocProperty prop )	{		if ( ! prop.hasChoices( ) )			return;				writeln( "<h3>Choices</h3>\n" );		writeln( "<table class=\"section-table\">" );		writeln( "<thead><tr><td>Name</td><td>Display Name</td>" );		writeln( "<td>Value</td><td>Description</td></tr></thead>" );		writeln( "<tbody>" );		Iterator iter = prop.getChoices( ).iterator( );		while ( iter.hasNext( ) )		{			DocChoice choice = (DocChoice) iter.next( );			write( "<tr><td>" );			write( choice.getName( ) );			write( "</td>\n<td>" );			write( choice.getDisplayName( ) );			write( "</td>\n<td>" );			write( choice.getValue( ) );			write( "</td>\n<td>" );			write( choice.getDescription( ) );			writeln( "</td></tr>" );		}		writeln( "</tbody></table><br>" );	}