private void renderRecipe() throws IOException {
		StringBuilder sb = new StringBuilder();

		// First pages
		if( ! Constants.GENERATED.equalsIgnoreCase( this.applicationTemplate.getName())) {
			sb.append( renderDocumentTitle());
			sb.append( renderPageBreak());

			sb.append( renderParagraph( this.messages.get( "intro" ))); //$NON-NLS-1$
			sb.append( renderPageBreak());

			sb.append( renderDocumentIndex());
			sb.append( renderPageBreak());

			sb.append( startTable());
			sb.append( addTableLine( this.messages.get( "app.name" ), this.applicationTemplate.getName())); //$NON-NLS-1$
			sb.append( addTableLine( this.messages.get( "app.qualifier" ), this.applicationTemplate.getVersion())); //$NON-NLS-1$
			sb.append( endTable());

			sb.append( renderApplicationDescription());
			sb.append( renderPageBreak());
			sb.append( renderSections( new ArrayList<String>( 0 )));

		} else {
			sb.append( renderDocumentIndex());
			sb.append( renderPageBreak());
		}

		// Render information about components
		sb.append( renderComponents());

		// Render information about facets
		sb.append( renderFacets());

		writeFileContent( sb.toString());
	}
private void renderRecipe ( ) throws IOException { StringBuilder sb = new StringBuilder ( ) ; if ( ! Constants . GENERATED . equalsIgnoreCase ( this . applicationTemplate . getName ( ) ) ) { sb . append ( renderDocumentTitle ( ) ) ; sb . append ( renderPageBreak ( ) ) ; sb . append ( renderParagraph ( this . messages . get ( "intro" ) ) ) ; sb . append ( renderPageBreak ( ) ) ; sb . append ( renderDocumentIndex ( ) ) ; sb . append ( renderPageBreak ( ) ) ; sb . append ( startTable ( ) ) ; sb . append ( addTableLine ( this . messages . get ( "app.name" ) , this . applicationTemplate . getName ( ) ) ) ; sb . append ( addTableLine ( this . messages . get ( "app.qualifier" ) , this . applicationTemplate . getVersion ( ) ) ) ; sb . append ( endTable ( ) ) ; sb . append ( renderApplicationDescription ( ) ) ; sb . append ( renderPageBreak ( ) ) ; sb . append ( renderSections ( new ArrayList < String > ( 0 ) ) ) ; } else { sb . append ( renderDocumentIndex ( ) ) ; sb . append ( renderPageBreak ( ) ) ; } sb . append ( renderComponents ( ) ) ; sb . append ( renderFacets ( ) ) ; writeFileContent ( sb . toString ( ) ) ; }
Renders a recipe.
@throws IOException