public class RuleFormatter extends Object
| Constructor and Description |
|---|
RuleFormatter(PrintStream ps) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpBaseImplementations(SchemaManager sm,
SchemaDefinition sd,
String gendir,
OperationalContextEnum context)
We dump the base implementation of the rule.
|
void |
dumpBaseImplementations(String schemaName,
String schemaPackage,
TreeMap<String,DmcUncheckedObject> ruleDefs,
TreeMap<String,DmcUncheckedObject> ruleCategoryDefs,
String rulesDir) |
void |
dumpRuleCategoryInterfaces(String schemaName,
String schemaPackage,
TreeMap<String,DmcUncheckedObject> ruleCategoryDefs,
String rulesDir)
Dumps the interfaces for our rule categories.
|
public RuleFormatter(PrintStream ps)
public void dumpBaseImplementations(String schemaName, String schemaPackage, TreeMap<String,DmcUncheckedObject> ruleDefs, TreeMap<String,DmcUncheckedObject> ruleCategoryDefs, String rulesDir) throws ResultException, IOException
schemaName - schemaPackage - ruleDefs - rulesDir - ResultExceptionIOExceptionpublic void dumpRuleCategoryInterfaces(String schemaName, String schemaPackage, TreeMap<String,DmcUncheckedObject> ruleCategoryDefs, String rulesDir) throws ResultException, IOException
schemaName - schemaPackage - rulesDir - ResultExceptionIOExceptionpublic void dumpBaseImplementations(SchemaManager sm, SchemaDefinition sd, String gendir, OperationalContextEnum context) throws IOException, ResultException
sm - the schema managersd - the schema definitiongendir - the base directory to which we're dumping the codecontext - for which context we're dumping the rulesIOExceptionResultExceptionCopyright © 2023. All rights reserved.