java - how to no mapping when a value is empty with orika? -


i use orika have empty data in input. not want empty data in output.

input:

<taches>     <tache>         <notes>my note</notes>         <code_tache>191</code_tache>     </tache>     <tache>          <notes/>          <code_tache/>     </tache>     <tache>          <notes/>          <code_tache/>     </tache> </tache> 

output:

<foos>     <foo>         <note>my note</notes>         <code>191</code_tache>     </foo> </foos> 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -