The idea that the developers have followed to design this component was to allow the binding of non structured data (or to be more precise non-XML data)
to Java Bean using annotations. Using Bindy, you can bind data like :
or any other non-structured data
to one or many POJOS and to convert the data according to the type of the java property. POJOS can be linked together. Moreover, for data type like Date, Double, Float, Integer, Short and Long, you can provide the pattern to apply during the formatting of the property :
Remark : This first release only support CSV record
Using the Java DSL
For example the following uses a named DataFormat of bindy which is configured with a number of Java package names to initialize the model objects.
DataFormat bindy = new CsvBindyDataFormat("com.acme.model");
You can if you prefer use a named reference to a data format which can then be defined in your Registry such as via your Spring XML file. e.g.