Class DroolsDocsComponentFactory


  • public class DroolsDocsComponentFactory
    extends Object
    • Constructor Detail

      • DroolsDocsComponentFactory

        public DroolsDocsComponentFactory()
    • Method Detail

      • newDescription

        public static com.lowagie.text.Table newDescription​(String description)
                                                     throws com.lowagie.text.DocumentException
        Throws:
        com.lowagie.text.DocumentException
      • createOtherItems

        public static void createOtherItems​(com.lowagie.text.Document document,
                                            Map<String,​List<String>> other)
                                     throws com.lowagie.text.DocumentException
        Throws:
        com.lowagie.text.DocumentException
      • newRuleTable

        public static com.lowagie.text.Table newRuleTable​(DrlRuleParser drl)
                                                   throws com.lowagie.text.BadElementException,
                                                          com.lowagie.text.DocumentException
        Throws:
        com.lowagie.text.BadElementException
        com.lowagie.text.DocumentException
      • newTable

        public static com.lowagie.text.Table newTable​(String topic,
                                                      Collection<String> items)
                                               throws com.lowagie.text.BadElementException,
                                                      com.lowagie.text.DocumentException
        Throws:
        com.lowagie.text.BadElementException
        com.lowagie.text.DocumentException
      • createContents

        public static com.lowagie.text.List createContents​(List<DrlRuleParser> rules)
      • createFooter

        public static com.lowagie.text.HeaderFooter createFooter​(String packageName)
      • newRulePage

        public static void newRulePage​(com.lowagie.text.Document document,
                                       String packageName,
                                       DrlRuleParser drlData)
                                throws com.lowagie.text.DocumentException
        Throws:
        com.lowagie.text.DocumentException
      • createFirstPage

        public static void createFirstPage​(com.lowagie.text.Document document,
                                           String currentDate,
                                           DrlPackageParser packageData)
                                    throws com.lowagie.text.DocumentException
        Throws:
        com.lowagie.text.DocumentException