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

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -