New version 1.0.1 is available since April, 4th 2017.
The Visitor Generator creates Java Source Code for classes traversing non-visitable component tree in a half-automated way.
Please note that the Visitor Generator does not generate code according to the Visitor Design Pattern.
The Visitor Generator generates code for components having no Visitor Design Pattern implemented by customer or design restrictions but there is a need to traverse the component tree.
The generates code separates the code for the "visiting" (what to do on a visited node component) and the code implementing the traversal logic by a RelationResolver.
Thus you can implement Visitors and RelationResolvers and combine them as needed.
E.g. You want to find a node component by it's unique id. In that case you can implement a visitor comparing each node until found. And you implement an RelationResolver that stops as soon as the element is found. It is not necessary to traverse the whole component tr
Features
- Java Code Generation