Guvnor web application Drools 6.0.0-SNAPSHOT

org.drools.guvnor.server.converters.decisiontable
Class GuidedDecisionTableGeneratorListener

java.lang.Object
  extended by org.drools.guvnor.server.converters.decisiontable.GuidedDecisionTableGeneratorListener
All Implemented Interfaces:
org.drools.decisiontable.parser.RuleSheetListener, org.drools.template.parser.DataListener

@RequestScoped
public class GuidedDecisionTableGeneratorListener
extends Object
implements org.drools.decisiontable.parser.RuleSheetListener


Field Summary
 
Fields inherited from interface org.drools.template.parser.DataListener
NON_MERGED
 
Constructor Summary
GuidedDecisionTableGeneratorListener(ConversionResult conversionResult)
           
 
Method Summary
 void finishSheet()
           
 List<String> getFunctions()
           
 List<org.drools.template.model.Global> getGlobals()
           
 List<GuidedDecisionTable52> getGuidedDecisionTables()
           
 List<org.drools.template.model.Import> getImports()
           
 org.drools.decisiontable.parser.xls.PropertiesSheetListener.CaseInsensitiveMap getProperties()
           
 List<String> getQueries()
           
 org.drools.template.model.Package getRuleSet()
           
 List<String> getTypeDeclarations()
           
 void newCell(int row, int column, String value, int mergedColStart)
           
 void newRow(int rowNumber, int columns)
           
protected  void postInitRuleTable(int row, int column, String value)
          Called after rule table initialisation.
protected  void preInitRuleTable(int row, int column, String value)
          Called before rule table initialisation.
 void startSheet(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuidedDecisionTableGeneratorListener

public GuidedDecisionTableGeneratorListener(ConversionResult conversionResult)
Method Detail

getProperties

public org.drools.decisiontable.parser.xls.PropertiesSheetListener.CaseInsensitiveMap getProperties()
Specified by:
getProperties in interface org.drools.decisiontable.parser.RuleSheetListener

getRuleSet

public org.drools.template.model.Package getRuleSet()
Specified by:
getRuleSet in interface org.drools.decisiontable.parser.RuleSheetListener

getImports

public List<org.drools.template.model.Import> getImports()

getGlobals

public List<org.drools.template.model.Global> getGlobals()

getFunctions

public List<String> getFunctions()

getQueries

public List<String> getQueries()

getTypeDeclarations

public List<String> getTypeDeclarations()

getGuidedDecisionTables

public List<GuidedDecisionTable52> getGuidedDecisionTables()

startSheet

public void startSheet(String name)
Specified by:
startSheet in interface org.drools.template.parser.DataListener

finishSheet

public void finishSheet()
Specified by:
finishSheet in interface org.drools.template.parser.DataListener

newRow

public void newRow(int rowNumber,
                   int columns)
Specified by:
newRow in interface org.drools.template.parser.DataListener

newCell

public void newCell(int row,
                    int column,
                    String value,
                    int mergedColStart)
Specified by:
newCell in interface org.drools.template.parser.DataListener

preInitRuleTable

protected void preInitRuleTable(int row,
                                int column,
                                String value)
Called before rule table initialisation. Subclasses may override this method to do additional processing.


postInitRuleTable

protected void postInitRuleTable(int row,
                                 int column,
                                 String value)
Called after rule table initialisation. Subclasses may override this method to do additional processing.


Guvnor web application Drools 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.