I am using String template file to generate java files. For that i am using ANTLR. Code for One of the string template file is shown below:
package framework;
public abstract class Listener$GUIdriver.name$ {
$GUIdriver.commands:{ command |
public abstract void onNew$command.name;format="capital"$Command
($command.allParameter:{ param | $param.type.name$ newValue};separator=" , "$);
}; separator="\n"$
$GUIdriver.allDataAccess:{ dataAccess |
public abstract void onNew$dataAccess.dataAccessName;format="capital"$Request(String request);
}; separator="\n"$
}
But it doesnot produce effect of format="capital"
.How to incorporate such changes?Should i need to include any package or file?I am new to String Template & ANTLR.