title: How to convert one Tree into another Tree?
body: <p>In our project we have complex data models that are represented by Tree structures. Time to time we need to convert tree models from one model into another and back. For that, we built custom made Mappings Associations Framework which works this way (simplified): </p>
  
  <p>For example, we have a Tree with root node 'a' which have node 'b' which have node 'date' in int format and we want to map to another tree with root node 'b' which has 'date' in String format. Our association with transform methods will look like this:</p>
  
  <pre><code>a.b.date(TransformDateToString) = b.date(TransformDateToInt)
  </code></pre>
  
  <p>This was a very simple case. Real transformations are more complex.</p>
  
  <p>Just wondering if there is a way to do it better? Is there any ready to use Java library that helps to perform transformations between trees?</p>