Package org.drools.verifier.doc
Class DroolsDocsComponentFactory
- java.lang.Object
-
- org.drools.verifier.doc.DroolsDocsComponentFactory
-
public class DroolsDocsComponentFactory extends java.lang.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(java.util.List<DrlRuleParser> rules)static voidcreateFirstPage(com.lowagie.text.Document document, java.lang.String currentDate, DrlPackageParser packageData)static com.lowagie.text.HeaderFootercreateFooter(java.lang.String packageName)static voidcreateOtherItems(com.lowagie.text.Document document, java.util.Map<java.lang.String,java.util.List<java.lang.String>> other)static com.lowagie.text.TablenewDescription(java.lang.String description)static voidnewRulePage(com.lowagie.text.Document document, java.lang.String packageName, DrlRuleParser drlData)static com.lowagie.text.TablenewRuleTable(DrlRuleParser drl)static com.lowagie.text.TablenewTable(java.lang.String topic, java.util.Collection<java.lang.String> items)
-
-
-
Method Detail
-
newDescription
public static com.lowagie.text.Table newDescription(java.lang.String description) throws com.lowagie.text.DocumentException- Throws:
com.lowagie.text.DocumentException
-
createOtherItems
public static void createOtherItems(com.lowagie.text.Document document, java.util.Map<java.lang.String,java.util.List<java.lang.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(java.lang.String topic, java.util.Collection<java.lang.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(java.util.List<DrlRuleParser> rules)
-
createFooter
public static com.lowagie.text.HeaderFooter createFooter(java.lang.String packageName)
-
newRulePage
public static void newRulePage(com.lowagie.text.Document document, java.lang.String packageName, DrlRuleParser drlData) throws com.lowagie.text.DocumentException- Throws:
com.lowagie.text.DocumentException
-
createFirstPage
public static void createFirstPage(com.lowagie.text.Document document, java.lang.String currentDate, DrlPackageParser packageData) throws com.lowagie.text.DocumentException- Throws:
com.lowagie.text.DocumentException
-
-