Package org.drools.verifier.doc
Class DroolsDocsComponentFactory
- java.lang.Object
-
- org.drools.verifier.doc.DroolsDocsComponentFactory
-
public class DroolsDocsComponentFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description DroolsDocsComponentFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.lowagie.text.ListcreateContents(List<DrlRuleParser> rules)static voidcreateFirstPage(com.lowagie.text.Document document, String currentDate, DrlPackageParser packageData)static com.lowagie.text.HeaderFootercreateFooter(String packageName)static voidcreateOtherItems(com.lowagie.text.Document document, Map<String,List<String>> other)static com.lowagie.text.TablenewDescription(String description)static voidnewRulePage(com.lowagie.text.Document document, String packageName, DrlRuleParser drlData)static com.lowagie.text.TablenewRuleTable(DrlRuleParser drl)static com.lowagie.text.TablenewTable(String topic, Collection<String> items)
-
-
-
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.BadElementExceptioncom.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.BadElementExceptioncom.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
-
-