org.drools.workbench.models.guided.template.backend
public class BRXMLPersistence extends Object implements BRLPersistence
Modifier and Type | Field and Description |
---|---|
protected com.thoughtworks.xstream.XStream |
xt |
Modifier | Constructor and Description |
---|---|
protected |
BRXMLPersistence() |
Modifier and Type | Method and Description |
---|---|
protected RuleModel |
createEmptyModel() |
static BRLPersistence |
getInstance() |
String |
marshal(RuleModel model) |
RuleModel |
unmarshal(String xml,
PackageDataModelOracle dmo) |
RuleModel |
unmarshalUsingDSL(String str,
List<String> globals,
PackageDataModelOracle dmo,
String... dsls) |
public static BRLPersistence getInstance()
public String marshal(RuleModel model)
marshal
in interface BRLPersistence
public RuleModel unmarshal(String xml, PackageDataModelOracle dmo)
unmarshal
in interface BRLPersistence
public RuleModel unmarshalUsingDSL(String str, List<String> globals, PackageDataModelOracle dmo, String... dsls)
unmarshalUsingDSL
in interface BRLPersistence
protected RuleModel createEmptyModel()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.