Methods
Modifier and Type |
Method and Description |
protected void |
fixActionInsertFactBindings(IAction[] rhs) |
static RuleModelPersistence |
getInstance() |
protected RuleModelDRLPersistenceImpl.LHSPatternVisitor |
getLHSPatternVisitor(boolean isDSLEnhanced,
StringBuilder buf,
String nestedIndentation,
boolean isNegated,
GeneratorContextFactory generatorContextFactory) |
protected RuleModelDRLPersistenceImpl.RHSActionVisitor |
getRHSActionVisitor(boolean isDSLEnhanced,
StringBuilder buf,
String indentation) |
String |
marshal(RuleModel model) |
protected void |
marshalAttributes(StringBuilder buf,
RuleModel model)
Marshal model attributes
|
protected void |
marshalFooter(StringBuilder buf) |
protected void |
marshalLHS(StringBuilder buf,
RuleModel model,
boolean isDSLEnhanced,
GeneratorContextFactory generatorContextFactory)
Marshal LHS patterns
|
protected void |
marshalMetadata(StringBuilder buf,
RuleModel model)
Marshal model metadata
|
protected void |
marshalPackageHeader(RuleModel model,
StringBuilder buf) |
protected void |
marshalRHS(StringBuilder buf,
RuleModel model,
boolean isDSLEnhanced) |
protected String |
marshalRule(RuleModel model) |
protected void |
marshalRuleHeader(RuleModel model,
StringBuilder buf) |
protected String |
marshalRuleName(RuleModel model) |
RuleModel |
unmarshal(String str,
List<String> globals,
PackageDataModelOracle dmo) |
RuleModel |
unmarshalUsingDSL(String str,
List<String> globals,
PackageDataModelOracle dmo,
String... dsls) |