org.drools.template.parser
Class DefaultGenerator

java.lang.Object
  extended by org.drools.template.parser.DefaultGenerator
All Implemented Interfaces:
Generator

public class DefaultGenerator
extends Object
implements Generator

Generate the rules for a decision table row from a rule template.


Constructor Summary
DefaultGenerator(Map<String,RuleTemplate> t)
           
 
Method Summary
 void generate(String templateName, Row row)
           
 String getDrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGenerator

public DefaultGenerator(Map<String,RuleTemplate> t)
Method Detail

generate

public void generate(String templateName,
                     Row row)
Specified by:
generate in interface Generator

getDrl

public String getDrl()
Specified by:
getDrl in interface Generator


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