811:
839:
198:
When serializing an object it serializes the full object graph. Duplicate references encountered in the object-model will be maintained. For example, using the following class CD
190:, and doesn't require modifications to objects. It can serialize internal fields, including private and final, and supports non-public and inner classes.
759:
904:
880:
45:
909:
816:
187:
873:
659:
If the above code is executed with XStream's default relative references mode, it will generate the following XML:
914:
183:
866:
163:
156:
103:
74:
763:
727:
17:
899:
739:
8:
846:
122:
110:
854:
28:
850:
115:
893:
784:
723:
160:
127:
40:
838:
824:
186:
to discover the structure of the object graph to serialize at
513:// adds the same cd twice (two references to the same object)
139:
171:
167:
806:
891:
760:"Use XStream to serialize Java objects into XML"
874:
193:
881:
867:
27:For the pharmaceutical X-ray company, see
777:
412:and add some of these object to a list
14:
892:
905:Java (programming language) libraries
833:
817:Free and open-source software portal
24:
726:, distributed under a permissive,
177:
80:1.4.20 / December 24, 2022
25:
926:
802:
435:"basement_jaxx_singles"
837:
809:
910:Free computer programming tools
752:
13:
1:
745:
853:. You can help Knowledge by
7:
10:
931:
832:
194:Object graph serialization
26:
762:. Ibm.com. Archived from
728:revised BSD-style licence
134:
121:
109:
99:
95:
73:
69:
51:
39:
733:
661:
414:
206:com.thoughtworks.xstream
200:
82:; 20 months ago
915:Computer library stubs
849:-related article is a
787:. Xstream.codehaus.org
785:"XStream - References"
552:// adds itself (cycle)
459:"maria rita"
57:; 20 years ago
685:basement_jaxx_singles
766:on February 19, 2009
55:January 1, 2004
36:
174:) and back again.
34:
862:
861:
825:Library Home Page
699:"../cd"
150:
149:
16:(Redirected from
922:
883:
876:
869:
847:computer-library
841:
834:
819:
814:
813:
812:
796:
795:
793:
792:
781:
775:
774:
772:
771:
756:
718:
715:
712:
709:
706:
703:
700:
697:
694:
691:
688:
684:
681:
678:
675:
671:
668:
665:
655:
652:
649:
646:
643:
640:
637:
634:
631:
628:
625:
622:
619:
616:
613:
610:
607:
604:
601:
598:
595:
592:
589:
586:
583:
580:
577:
574:
571:
568:
565:
562:
559:
556:
553:
550:
547:
544:
541:
538:
535:
532:
529:
526:
523:
520:
517:
514:
511:
508:
505:
502:
499:
496:
493:
490:
487:
484:
481:
478:
475:
472:
469:
466:
463:
460:
457:
454:
451:
448:
445:
442:
439:
436:
433:
430:
427:
424:
421:
418:
408:
405:
402:
399:
396:
393:
390:
387:
384:
381:
378:
375:
372:
369:
366:
363:
360:
357:
354:
351:
348:
345:
342:
339:
336:
333:
330:
327:
324:
321:
318:
315:
312:
309:
306:
303:
300:
297:
294:
291:
288:
285:
282:
279:
276:
273:
270:
267:
264:
261:
258:
255:
252:
249:
246:
243:
240:
237:
234:
231:
228:
225:
222:
219:
216:
213:
210:
207:
204:
146:
143:
141:
111:Operating system
90:
88:
83:
65:
63:
58:
37:
33:
21:
930:
929:
925:
924:
923:
921:
920:
919:
890:
889:
888:
887:
830:
815:
810:
808:
805:
800:
799:
790:
788:
783:
782:
778:
769:
767:
758:
757:
753:
748:
736:
720:
719:
716:
713:
710:
707:
704:
701:
698:
695:
692:
689:
686:
682:
679:
676:
673:
669:
666:
663:
657:
656:
653:
650:
647:
644:
641:
638:
635:
632:
629:
626:
623:
620:
617:
614:
611:
608:
605:
602:
599:
596:
593:
590:
587:
584:
581:
578:
575:
572:
569:
566:
563:
560:
557:
554:
551:
548:
545:
542:
539:
536:
533:
530:
527:
524:
521:
518:
515:
512:
509:
506:
503:
500:
497:
494:
491:
488:
485:
482:
479:
476:
473:
470:
467:
464:
461:
458:
455:
452:
449:
446:
443:
440:
437:
434:
431:
428:
425:
422:
419:
416:
410:
409:
406:
403:
400:
397:
394:
391:
388:
385:
382:
379:
376:
373:
370:
367:
364:
361:
358:
355:
352:
349:
346:
343:
340:
337:
334:
331:
328:
325:
322:
319:
316:
313:
310:
307:
304:
301:
298:
295:
292:
289:
286:
283:
280:
277:
274:
271:
268:
265:
262:
259:
256:
253:
250:
247:
244:
241:
238:
235:
232:
229:
226:
223:
220:
217:
214:
211:
208:
205:
202:
196:
180:
178:XStream library
138:
91:
86:
84:
81:
61:
59:
56:
52:Initial release
35:XStream Library
32:
29:XStream Systems
23:
22:
15:
12:
11:
5:
928:
918:
917:
912:
907:
902:
886:
885:
878:
871:
863:
860:
859:
842:
828:
827:
821:
820:
804:
803:External links
801:
798:
797:
776:
750:
749:
747:
744:
743:
742:
735:
732:
711:".."
662:
603:"cd"
415:
201:
195:
192:
179:
176:
148:
147:
136:
132:
131:
130:-style license
125:
119:
118:
116:Cross-platform
113:
107:
106:
101:
97:
96:
93:
92:
79:
77:
75:Stable release
71:
70:
67:
66:
53:
49:
48:
43:
9:
6:
4:
3:
2:
927:
916:
913:
911:
908:
906:
903:
901:
898:
897:
895:
884:
879:
877:
872:
870:
865:
864:
858:
856:
852:
848:
843:
840:
836:
835:
831:
826:
823:
822:
818:
807:
786:
780:
765:
761:
755:
751:
741:
738:
737:
731:
729:
725:
724:free software
717:</list>
660:
413:
199:
191:
189:
185:
182:XStream uses
175:
173:
169:
165:
162:
158:
154:
145:
137:
133:
129:
126:
124:
120:
117:
114:
112:
108:
105:
102:
98:
94:
78:
76:
72:
68:
54:
50:
47:
44:
42:
38:
30:
19:
900:XML software
855:expanding it
844:
829:
789:. Retrieved
779:
768:. Retrieved
764:the original
754:
721:
664:<list>
658:
411:
197:
181:
152:
151:
41:Developer(s)
722:XStream is
690:</cd>
687:</id>
677:</cd>
674:</id>
159:library to
894:Categories
791:2009-12-14
770:2009-12-14
746:References
740:Confluence
708:reference=
696:reference=
683:<id>
680:<cd>
670:<id>
667:<cd>
386:getBonusCd
184:reflection
100:Written in
87:2022-12-24
62:2004-01-01
672:mariarita
486:ArrayList
161:serialize
705:<list
489:<>
188:run time
140:x-stream
46:Codehaus
639:xstream
633:println
591:xstream
585:XStream
576:xstream
573:XStream
398:bonusCd
305:bonusCd
299:bonusCd
266:bonusCd
242:bonusCd
236:private
224:private
203:package
164:objects
153:XStream
142:.github
135:Website
123:License
85: (
60: (
18:Xstream
693:<cd
621:System
395:return
380:public
368:return
356:String
353:public
320:String
254:String
227:String
212:public
845:This
734:Usage
714:/>
702:/>
651:order
645:toXML
615:class
597:alias
567:order
555:order
534:order
516:order
495:order
477:order
359:getId
215:class
155:is a
851:stub
474:>
468:<
465:List
332:this
293:this
275:this
172:JSON
170:(or
157:Java
104:Java
654:));
627:out
588:();
582:new
561:add
540:add
522:add
501:add
492:();
483:new
450:new
426:new
168:XML
166:to
144:.io
128:BSD
896::
730:.
618:);
609:Cd
570:);
549:);
546:bj
531:);
528:bj
510:);
507:mr
471:Cd
462:);
453:Cd
444:mr
441:Cd
438:);
429:Cd
420:bj
417:Cd
389:()
383:Cd
371:id
362:()
344:id
338:id
323:id
314:Cd
287:id
281:id
263:Cd
257:id
248:Cd
239:Cd
230:id
218:Cd
882:e
875:t
868:v
857:.
794:.
773:.
648:(
642:.
636:(
630:.
624:.
612:.
606:,
600:(
594:.
579:=
564:(
558:.
543:(
537:.
525:(
519:.
504:(
498:.
480:=
456:(
447:=
432:(
423:=
407:}
404:}
401:;
392:{
377:}
374:;
365:{
350:}
347:;
341:=
335:.
329:{
326:)
317:(
311:}
308:;
302:=
296:.
290:;
284:=
278:.
272:{
269:)
260:,
251:(
245:;
233:;
221:{
209:;
89:)
64:)
31:.
20:)
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.