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

c++ - Linked List error when inserting for the last time -

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

tsql - Pivot with Temp Table (definition for column must include data type) -- SQL Server 2008 -