org.drools.ide.common.server.util
Class BRDRLPersistence
java.lang.Object
org.drools.ide.common.server.util.BRDRLPersistence
- All Implemented Interfaces:
- BRLPersistence
public class BRDRLPersistence
- extends Object
- implements BRLPersistence
This class persists the rule model to DRL and back
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BRDRLPersistence
protected BRDRLPersistence()
getInstance
public static BRLPersistence getInstance()
marshal
public String marshal(RuleModel model)
- Specified by:
marshal
in interface BRLPersistence
marshalRule
protected String marshalRule(RuleModel model)
marshalFooter
protected void marshalFooter(StringBuilder buf)
marshalHeader
protected void marshalHeader(RuleModel model,
StringBuilder buf)
marshalRuleName
protected String marshalRuleName(RuleModel model)
unmarshal
public RuleModel unmarshal(String str)
- Specified by:
unmarshal
in interface BRLPersistence
- See Also:
BRLPersistence.unmarshal(java.lang.String)
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.