org.drools.guvnor.server.util
Class BRDRTXMLPersistence
java.lang.Object
org.drools.ide.common.server.util.BRXMLPersistence
org.drools.guvnor.server.util.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).
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
createEmptyModel
protected RuleModel createEmptyModel()
- Overrides:
createEmptyModel
in class BRXMLPersistence
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.