org.drools.ide.common.server.util
Class BRXMLPersistence
java.lang.Object
org.drools.ide.common.server.util.BRXMLPersistence
- All Implemented Interfaces:
- BRLPersistence
public class BRXMLPersistence
- extends Object
- implements BRLPersistence
This class persists the 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 |
BRXMLPersistence
protected BRXMLPersistence()
getInstance
public static BRLPersistence getInstance()
marshal
public String marshal(RuleModel model)
- Specified by:
marshal
in interface BRLPersistence
unmarshal
public RuleModel unmarshal(String xml)
- Specified by:
unmarshal
in interface BRLPersistence
createEmptyModel
protected RuleModel createEmptyModel()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.