public class DsdwizardTemplateLoader extends Object implements DmcUncheckedOIFHandlerIF
| Modifier and Type | Field and Description |
|---|---|
static Template |
_Comment |
static TemplateMediator |
DmtdlFile |
| Constructor and Description |
|---|
DsdwizardTemplateLoader(ArrayList<String> paths,
ArrayList<String> jars)
Creates a new template loader for templates associated with the dsdwizard TdlModule.
|
| Modifier and Type | Method and Description |
|---|---|
void |
findAndLoadTemplate()
We attempt to find and load the dsdwizard.dmt file.
|
void |
handleObject(DmcUncheckedObject uco,
String infile,
int lineNumber)
Process the object as required.
|
public static TemplateMediator DmtdlFile
public static Template _Comment
public DsdwizardTemplateLoader(ArrayList<String> paths, ArrayList<String> jars) throws ResultException, DmcValueException, DmcNameClashException
paths - the paths that we'll search for the template definition file.jars - the prefixes of jars on the classpath that we'll search for configsResultExceptionDmcValueExceptionDmcNameClashExceptionpublic void findAndLoadTemplate()
throws ResultException,
IOException,
DmcValueException,
DmcRuleExceptionSet,
DmcNameClashException
public void handleObject(DmcUncheckedObject uco, String infile, int lineNumber) throws ResultException, DmcValueException, DmcRuleExceptionSet, DmcNameClashException
DmcUncheckedOIFHandlerIFhandleObject in interface DmcUncheckedOIFHandlerIFuco - The object to be handled.infile - Name of the file from which the object was loaded.lineNumber - The line in the file where the object ended.ResultException - if problems occurDmcValueException - if values are incorrectDmcRuleExceptionSet - if rule problemsDmcNameClashException - if names clashCopyright © 2023. All rights reserved.