[Simple-support] Help with a half serialization
Brought to you by:
niallg
|
From: <car...@en...> - 2011-12-20 15:52:24
|
Hi all,
I'm new with simplexml and I would like to ask how I can do one thing.
I have a class with an array of classes
class CLASS1 {
<CLASS2> ArrayList array;
...
I want to serialize CLASS1, just use some elements of CLASS2, but
when serialize CLASS2, save all elements, since the function of the
array is simply to keep a basic structure of CLASS2.
I tried to do with the Converter, but I have problems with the array.
Any idea to do it?
PD:Sorry for my level oh english
Thank you very much
--
Carlos Jiménez
ENCOPIM S.L.
C/. del Parc 5 (nau 13), P.I. Els Pinetons
E-08291 RIPOLLET (Barcelona)
Tel: (+34) 935 94 23 47
Fax: (+34) 935 94 64 15
==========================================================
La información contenida en la presente transmisión es confidencial y su
uso únicamente está permitido a su(s) destinatario(s). Si Ud. no es la
persona destinataria de la presente transmisión, rogamos nos lo
comunique de manera inmediata por teléfono (+34 935 942 347) y destruya
cualquier copia de la misma (tanto digitales como en papel).
The information contained in this transmission is confidential and is
intended only for the use of the addressee(s). If you are not the
designated recipient of this transmission, please advise us immediately
by telephone (+34 935 942 347) and destroy any copies (digital and
paper).
==========================================================
|