The Visitor Generator has the following API class:
This API class has three methods:
Some Global Properties
must be set with method setGlobalProperties
before calling the other method.
Class ch.lyrer.walter.generator.visitor.api.ExecuteGenerator
provides a main
method to call the Visitor Generator. It can be used in two different ways:
args[0]
(mandatory): File path of the properties file containing the data for the Global Properties.args[1..n]
(optional): File path of a properties file containing data for a Concrete Visitor and RelationResolver.Please note that also properties files as a Java classpath can be passed over.
Please note, that no sub directories are traversed to find properties files:
args[0]
(mandatory): File path of the directory containing the properties filesAt least one properties file with name VisitorGlobal.properties
containing the Global Properties is mandatory.
All other properties files are interpreted as properties for a Concrete Visitor.
Directories and other files are ignored.
Copyright by Walter Lyrer
The author cannot be made responsible for any damage caused by the Visitor Generator.
The usage of the Visitor Generator is on own risk.
The code is designed and implemented on best know-how and with good intentions by the author.
Especially is to mention that the generated code of the Visitor Generator is not guaranteed to run instantly correct.
Manual supervision is necessary.
Walter Lyrer
Jacoge Java Generator Eclipse Plugin
Converter Generator
Strategy/State Generator
Named Parameter Converter