|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.aokell.tools.interf.AbstractInterfaceGenerator
public class AbstractInterfaceGenerator
This class contains code elements shared by the Fractal interface generator tools.
Field Summary | |
---|---|
protected String[] |
args
|
protected static String |
generatedDirname
The directory where the generated files are stored. |
protected static String |
packageprefix
Root package for generated files. |
Constructor Summary | |
---|---|
AbstractInterfaceGenerator(String[] args)
|
Method Summary | |
---|---|
protected void |
epilogue(PrintWriter pw)
|
protected void |
generateInterface(String originterfacename,
boolean boundable)
Generate the Java implementation class for a Fractal interface. |
protected String |
getClassName(Class cl)
Workaround for Class.getName() which returns something like Laokell.lib.control.Controller; for array types. |
protected void |
prologue(PrintWriter pw,
String packagename,
String classname,
String interfacename,
boolean boundable,
boolean isAttributeControllerItf)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static String generatedDirname
protected static final String packageprefix
protected String[] args
Constructor Detail |
---|
public AbstractInterfaceGenerator(String[] args)
Method Detail |
---|
protected void generateInterface(String originterfacename, boolean boundable) throws IOException, ClassNotFoundException
boundable
- true if a boundable interface must be generated
false if an implemented interface must be generated
IOException
ClassNotFoundException
protected void prologue(PrintWriter pw, String packagename, String classname, String interfacename, boolean boundable, boolean isAttributeControllerItf) throws IOException
IOException
protected void epilogue(PrintWriter pw) throws IOException
IOException
protected String getClassName(Class cl)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |