public class RuleTemplateModelXMLPersistenceImpl extends Object implements RuleTemplateModelPersistence
Modifier and Type | Field and Description |
---|---|
protected com.thoughtworks.xstream.XStream |
xt |
Modifier | Constructor and Description |
---|---|
protected |
RuleTemplateModelXMLPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
protected TemplateModel |
createEmptyModel() |
static RuleTemplateModelPersistence |
getInstance() |
String |
marshal(TemplateModel model) |
TemplateModel |
unmarshal(String xml) |
protected RuleTemplateModelXMLPersistenceImpl()
public static RuleTemplateModelPersistence getInstance()
public String marshal(TemplateModel model)
marshal
in interface RuleTemplateModelPersistence
public TemplateModel unmarshal(String xml)
unmarshal
in interface RuleTemplateModelPersistence
protected TemplateModel createEmptyModel()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.