protected void writeExtensions ( List < ExtensionReport > extensionReports ) throws IOException { writer . append ( "== " ) . append ( this . resourceBundle . getString ( "asciidoc.reporter.extensions" ) ) . append ( NEW_LINE ) . append ( NEW_LINE ) ; for ( ExtensionReport extensionReport : extensionReports ) { writer . append ( "[cols=\"2*\"]" ) . append ( NEW_LINE ) ; writer . append ( "." ) . append ( extensionReport . getQualifier ( ) ) . append ( NEW_LINE ) ; writer . append ( "|===" ) . append ( NEW_LINE ) . append ( NEW_LINE ) ; writer . append ( "2+|" ) . append ( extensionReport . getQualifier ( ) ) . append ( NEW_LINE ) . append ( NEW_LINE ) ; writer . append ( "h|KEY" ) . append ( NEW_LINE ) ; writer . append ( "h|VALUE" ) . append ( NEW_LINE ) . append ( NEW_LINE ) ; writeConfigurationRows ( extensionReport . getConfiguration ( ) ) ; writer . append ( "|===" ) . append ( NEW_LINE ) . append ( NEW_LINE ) ; } }
Method that is called to write extensions to AsciiDoc document .