java - Serialize a whole collection to XML -


i have following list javafx:

observablelist<expense> data = fxcollections.observablearraylist(); 

does know, how can transfer whole collection xml?

if this, deserializing should easy.

i tried xstream , jaxb. looked @ multiple tutorials, didn't come result.

it's possible serialize expense objects on own, not whole list (without using for-loop).

do have idea?


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -