org.drools.guvnor.server.util
Class BRDRTPersistence

java.lang.Object
  extended by org.drools.ide.common.server.util.BRDRLPersistence
      extended by org.drools.guvnor.server.util.BRDRTPersistence
All Implemented Interfaces:
BRLPersistence

public class BRDRTPersistence
extends BRDRLPersistence

This class persists a TemplateModel to DRL template


Nested Class Summary
 
Nested classes/interfaces inherited from class org.drools.ide.common.server.util.BRDRLPersistence
BRDRLPersistence.LHSPatternVisitor, BRDRLPersistence.RHSActionVisitor, BRDRLPersistence.RHSClassDependencyVisitor
 
Field Summary
 
Fields inherited from class org.drools.ide.common.server.util.BRDRLPersistence
bindingsFields, bindingsPatterns, constraintValueBuilder, DEFAULT_DIALECT
 
Method Summary
static BRLPersistence getInstance()
           
 String marshal(RuleModel model)
           
protected  void marshalFooter(StringBuilder buf)
           
protected  void marshalHeader(RuleModel model, StringBuilder buf)
           
protected  String marshalRuleName(RuleModel model)
           
 
Methods inherited from class org.drools.ide.common.server.util.BRDRLPersistence
getLHSPatternVisitor, getRHSActionVisitor, marshalRule, unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static BRLPersistence getInstance()

marshal

public String marshal(RuleModel model)
Specified by:
marshal in interface BRLPersistence
Overrides:
marshal in class BRDRLPersistence

marshalHeader

protected void marshalHeader(RuleModel model,
                             StringBuilder buf)
Overrides:
marshalHeader in class BRDRLPersistence

marshalRuleName

protected String marshalRuleName(RuleModel model)
Overrides:
marshalRuleName in class BRDRLPersistence

marshalFooter

protected void marshalFooter(StringBuilder buf)
Overrides:
marshalFooter in class BRDRLPersistence


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