Class FeedbackGenerator


  • public class FeedbackGenerator
    extends Object
    • Constructor Detail

      • FeedbackGenerator

        public FeedbackGenerator()
    • Method Detail

      • generateHTML

        public static String generateHTML​(FeedbackNode root,
                                          String discriminator,
                                          int widthPx,
                                          boolean expandAll,
                                          boolean tabularRdKinds)
        Generates a HTML fragment from all the documents and data from root. If there are several levels and audiences in the result, the resulting HTML will contain a list of all variants of the result.
        Parameters:
        root - an object with documents serving as input
        discriminator - an identifier that can be used to differentiate several HTML fragments produced by this method for the same assignment. May be null.
        widthPx - width in pixels
        Returns:
        HTML content