public class RuleTemplateModelDRLPersistenceImpl extends RuleModelDRLPersistenceImpl
TemplateModel
to DRL templateModifier and Type | Class and Description |
---|---|
static class |
RuleTemplateModelDRLPersistenceImpl.LHSPatternVisitor |
static class |
RuleTemplateModelDRLPersistenceImpl.RHSActionVisitor |
RuleModelDRLPersistenceImpl.RHSClassDependencyVisitor, RuleModelDRLPersistenceImpl.RuleModelUnmarshallingException
bindingsFields, bindingsPatterns, constraintValueBuilder
Modifier and Type | Method and Description |
---|---|
static RuleModelPersistence |
getInstance() |
protected RuleTemplateModelDRLPersistenceImpl.LHSPatternVisitor |
getLHSPatternVisitor(boolean isDSLEnhanced,
StringBuilder buf,
String nestedIndentation,
boolean isNegated,
LHSGeneratorContextFactory generatorContextFactory) |
protected RuleTemplateModelDRLPersistenceImpl.RHSActionVisitor |
getRHSActionVisitor(boolean isDSLEnhanced,
StringBuilder buf,
String indentation,
RHSGeneratorContextFactory generatorContextFactory) |
String |
marshal(RuleModel model) |
protected void |
marshalFooter(StringBuilder buf) |
protected String |
marshalRule(RuleModel model) |
protected void |
marshalRuleHeader(RuleModel model,
StringBuilder buf) |
protected String |
marshalRuleName(RuleModel model) |
fixActionInsertFactBindings, getSimpleRuleModel, marshalAttributes, marshalLHS, marshalMetadata, marshalPackageHeader, marshalRHS, unmarshal, unmarshalUsingDSL
public static RuleModelPersistence getInstance()
protected RuleTemplateModelDRLPersistenceImpl.LHSPatternVisitor getLHSPatternVisitor(boolean isDSLEnhanced, StringBuilder buf, String nestedIndentation, boolean isNegated, LHSGeneratorContextFactory generatorContextFactory)
getLHSPatternVisitor
in class RuleModelDRLPersistenceImpl
protected RuleTemplateModelDRLPersistenceImpl.RHSActionVisitor getRHSActionVisitor(boolean isDSLEnhanced, StringBuilder buf, String indentation, RHSGeneratorContextFactory generatorContextFactory)
getRHSActionVisitor
in class RuleModelDRLPersistenceImpl
public String marshal(RuleModel model)
marshal
in interface RuleModelPersistence
marshal
in class RuleModelDRLPersistenceImpl
protected String marshalRule(RuleModel model)
marshalRule
in class RuleModelDRLPersistenceImpl
protected void marshalRuleHeader(RuleModel model, StringBuilder buf)
marshalRuleHeader
in class RuleModelDRLPersistenceImpl
protected String marshalRuleName(RuleModel model)
marshalRuleName
in class RuleModelDRLPersistenceImpl
protected void marshalFooter(StringBuilder buf)
marshalFooter
in class RuleModelDRLPersistenceImpl
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.