|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Renderer
Method Summary | |
---|---|
void |
configure(Properties properties)
Called with the optional list of properties from config.xml |
String |
getSaveToClassName(ClassMapping classMapping)
Called by the generator to determine the class name of the rendered class. |
String |
getSaveToPackage(ClassMapping classMapping)
Called by the generator to determine the package name of the rendered class. |
void |
render(String savedToPackage,
String savedToClass,
ClassMapping classMapping,
Map class2classmap,
PrintWriter writer)
|
Method Detail |
---|
void configure(Properties properties)
void render(String savedToPackage, String savedToClass, ClassMapping classMapping, Map class2classmap, PrintWriter writer) throws Exception
savedToPackage
- what package is this class placed insavedToClass
- what classname does it really getclassMapping
- what classmapping is this forclass2classmap
- A complete map from classname to the classmappingwriter
- where we want the output
Exception
String getSaveToPackage(ClassMapping classMapping)
classMapping
- The class mapping of the generated class
String getSaveToClassName(ClassMapping classMapping)
classMapping
- The class mapping of the generated class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |