org.drools.verifier.doc
Class DroolsDocsComponentFactory

java.lang.Object
  extended by org.drools.verifier.doc.DroolsDocsComponentFactory

public class DroolsDocsComponentFactory
extends Object


Constructor Summary
DroolsDocsComponentFactory()
           
 
Method Summary
static com.lowagie.text.List createContents(List<DrlRuleParser> rules)
           
static void createFirstPage(com.lowagie.text.Document document, String currentDate, DrlPackageParser packageData)
           
static com.lowagie.text.HeaderFooter createFooter(String packageName)
           
static void createOtherItems(com.lowagie.text.Document document, Map<String,List<String>> other)
           
static com.lowagie.text.Table newDescription(String description)
           
static void newRulePage(com.lowagie.text.Document document, String packageName, DrlRuleParser drlData)
           
static com.lowagie.text.Table newRuleTable(DrlRuleParser drl)
           
static com.lowagie.text.Table newTable(String topic, Collection<String> items)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.