org.drools.guvnor.models.guided.template.backend
Class BRDRTXMLPersistence
java.lang.Object
org.drools.guvnor.models.commons.backend.rule.BRXMLPersistence
org.drools.guvnor.models.guided.template.backend.BRDRTXMLPersistence
- All Implemented Interfaces:
- BRLPersistence
public class BRDRTXMLPersistence
- extends BRXMLPersistence
This class persists the template rule model to XML and back. This is the
'brl' xml format (Business Rule Language).
| Fields inherited from class org.drools.guvnor.models.commons.backend.rule.BRXMLPersistence |
xt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static BRLPersistence getInstance()
marshal
public String marshal(RuleModel model)
- Specified by:
marshal in interface BRLPersistence- Overrides:
marshal in class BRXMLPersistence
unmarshal
public TemplateModel unmarshal(String xml)
- Specified by:
unmarshal in interface BRLPersistence- Overrides:
unmarshal in class BRXMLPersistence
unmarshalUsingDSL
public RuleModel unmarshalUsingDSL(String str,
List<String> globals,
String... dsls)
- Specified by:
unmarshalUsingDSL in interface BRLPersistence- Overrides:
unmarshalUsingDSL in class BRXMLPersistence
createEmptyModel
protected RuleModel createEmptyModel()
- Overrides:
createEmptyModel in class BRXMLPersistence
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.