java - Mapping CSV to a Model -


I am writing a simple CSV for XML processors in Java.

I need to process CSAV format in this model from JAASB DTD to Java, and then put it in XML which is in conformity with DTD. I am using JavaSAb to navigate data from Java model to XML. I have to write CSV-model mapping myself.

For the moment, I can not explain this straightforward seam better than a direct map in the Java model and tell it in the model. Code.

Can you find a more elegant solution to this? Maybe some reusable mapping libraries etc?

Thanks in advance.

I usually use flatpack library to parse CASG in Java model:

Using and using XML Mapping is very simple to handle CSV for model projection (thus not directly connecting between your CSV and your Java objects)


Comments