private void writePropertyIndex( ) throws FileNotFoundException { writeIndexEntry( "Property Index", "prop-index", "Index of properties with a link to their definition." );  HashMap props = new HashMap( ); buildIndex( props, elements ); buildIndex( props, structs ); ArrayList list = new ArrayList( ); list.addAll( props.values( ) ); Collections.sort( list, new PropInfoComparator( ) );  String fileName = "gen/prop-index.html"; writer = new PrintStream( new FileOutputStream( fileName ) ); writeln( "<!DOCTYPE html PUBLIC \"- write( "<html>\n<head>\n<title>" ); writeln( " Element (Eclipse BIRT ROM Documentation)</title>" ); writeln( "<link rel=\"stylesheet\" href=\"style/style.css\" type=\"text/css\"/>" ); writeln( "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">" ); writeln( "</head>\n<body>" ); writeln( "<p class=\"title\">Eclipse BIRT Report Object Model (ROM)</p>" ); writeln( "<p class=\"subtitle\">Property Index</p>" ); writeln( "<h1>Property Index</h1>\n<table class=\"summary-table\">" );
private void writePropertyIndex( ) throws IOException { writeIndexEntry( "Property Index", "prop-index", "Index of properties with a link to their definition." );  HashMap props = new HashMap( ); buildIndex( props, elements ); buildIndex( props, structs ); ArrayList list = new ArrayList( ); list.addAll( props.values( ) ); Collections.sort( list, new PropInfoComparator( ) );  File output = makeFile( null, "prop-index.html" ); writer = new PrintStream( new FileOutputStream( output ) );  writeln( "<!DOCTYPE html PUBLIC \"- write( "<html>\n<head>\n<title>" ); writeln( " Element (Eclipse BIRT ROM Documentation)</title>" ); writeln( "<link rel=\"stylesheet\" href=\"style/style.css\" type=\"text/css\"/>" ); writeln( "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">" ); writeln( "</head>\n<body>" ); writeln( "<p class=\"title\">Eclipse BIRT Report Object Model (ROM)</p>" ); writeln( "<p class=\"subtitle\">Property Index</p>" ); writeln( "<h1>Property Index</h1>\n<table class=\"summary-table\">" );
	private void writePropertyIndex( ) throws FileNotFoundException	{		writeIndexEntry( "Property Index", "prop-index",						 "Index of properties with a link to their definition." );				HashMap props = new HashMap( );		buildIndex( props, elements );		buildIndex( props, structs );		ArrayList list = new ArrayList( );		list.addAll( props.values( ) );		Collections.sort( list, new PropInfoComparator( ) );				String fileName = "gen/prop-index.html";  //$NON-NLS-1$//$NON-NLS-2$		writer = new PrintStream( new FileOutputStream( fileName ) );		writeln( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 transitional//EN\">" );		write( "<html>\n<head>\n<title>" );		writeln( " Element (Eclipse BIRT ROM Documentation)</title>" );		writeln( "<link rel=\"stylesheet\" href=\"style/style.css\" type=\"text/css\"/>" );		writeln( "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">" );		writeln( "</head>\n<body>" );		writeln( "<p class=\"title\">Eclipse BIRT Report Object Model (ROM)</p>" );		writeln( "<p class=\"subtitle\">Property Index</p>" );		writeln( "<h1>Property Index</h1>\n<table class=\"summary-table\">" );		Iterator iter = list.iterator( );		while ( iter.hasNext( ) )		{			PropInfo prop = (PropInfo) iter.next( );			write( "<tr><td>" );			write( prop.name );			write( "</td>\n<td>" );			Collections.sort( prop.uses, new DocComparator( ) );			Iterator i2 = prop.uses.iterator( );			while ( i2.hasNext( ) )			{				DocComposite obj = (DocComposite) i2.next( );				write( "<a href=\"" );				if ( obj.isElement( ) )					write( "elements" );				else					write( "structs" );				write( "/" );				write( obj.getName() );				write( ".html\">" );				write( obj.getName( ) );				write( "</a> " );				if ( obj.isElement( ) )					write( "Element" );				else					write( "Structure" );				if ( i2.hasNext( ) )					write( ", " );				writeln( "" );			}			writeln( "</td>\n" );		}		finishSummaryTable( );		writeFooter( );		writer.close( );	}