AbstractSerializer.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */
  20. package org.openspcoop2.core.tracciamento.utils.serializer;

  21. import org.openspcoop2.generic_project.exception.SerializerException;
  22. import org.openspcoop2.utils.beans.WriteToSerializerType;
  23. import org.openspcoop2.utils.xml.JaxbUtils;

  24. import org.openspcoop2.core.tracciamento.Traccia;
  25. import org.openspcoop2.core.tracciamento.Dominio;
  26. import org.openspcoop2.core.tracciamento.TracciaEsitoElaborazione;
  27. import org.openspcoop2.core.tracciamento.Busta;
  28. import org.openspcoop2.core.tracciamento.Allegati;
  29. import org.openspcoop2.core.tracciamento.Inoltro;
  30. import org.openspcoop2.core.tracciamento.ProfiloTrasmissione;
  31. import org.openspcoop2.core.tracciamento.IdTraccia;
  32. import org.openspcoop2.core.tracciamento.DominioIdTraccia;
  33. import org.openspcoop2.core.tracciamento.Allegato;
  34. import org.openspcoop2.core.tracciamento.Soggetto;
  35. import org.openspcoop2.core.tracciamento.ProfiloCollaborazione;
  36. import org.openspcoop2.core.tracciamento.Servizio;
  37. import org.openspcoop2.core.tracciamento.Data;
  38. import org.openspcoop2.core.tracciamento.Trasmissioni;
  39. import org.openspcoop2.core.tracciamento.Riscontri;
  40. import org.openspcoop2.core.tracciamento.Eccezioni;
  41. import org.openspcoop2.core.tracciamento.Protocollo;
  42. import org.openspcoop2.core.tracciamento.TipoData;
  43. import org.openspcoop2.core.tracciamento.SoggettoIdentificativo;
  44. import org.openspcoop2.core.tracciamento.DominioSoggetto;
  45. import org.openspcoop2.core.tracciamento.Riscontro;
  46. import org.openspcoop2.core.tracciamento.Eccezione;
  47. import org.openspcoop2.core.tracciamento.CodiceEccezione;
  48. import org.openspcoop2.core.tracciamento.ContestoCodificaEccezione;
  49. import org.openspcoop2.core.tracciamento.RilevanzaEccezione;
  50. import org.openspcoop2.core.tracciamento.Proprieta;
  51. import org.openspcoop2.core.tracciamento.Trasmissione;
  52. import org.openspcoop2.core.tracciamento.DominioIdTracciaSoggetto;

  53. import java.io.ByteArrayOutputStream;
  54. import java.io.FileOutputStream;
  55. import java.io.OutputStream;
  56. import java.io.File;
  57. import java.lang.reflect.Method;

  58. import javax.xml.bind.JAXBElement;

  59. /**    
  60.  * XML Serializer of beans
  61.  *
  62.  * @author Poli Andrea (poli@link.it)
  63.  * @author $Author$
  64.  * @version $Rev$, $Date$
  65.  */
  66. public abstract class AbstractSerializer {


  67.     protected abstract WriteToSerializerType getType();
  68.    
  69.     protected void _objToXml(OutputStream out, Class<?> c, Object object,
  70.             boolean prettyPrint) throws Exception {
  71.         if(object instanceof JAXBElement){
  72.             // solo per il tipo WriteToSerializerType.JAXB
  73.             JaxbUtils.objToXml(out, c, object, prettyPrint);
  74.         }else{
  75.             Method m = c.getMethod("writeTo", OutputStream.class, WriteToSerializerType.class);
  76.             m.invoke(object, out, this.getType());
  77.         }
  78.     }
  79.    
  80.     protected void objToXml(OutputStream out,Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
  81.         try{
  82.             this._objToXml(out, c, object, prettyPrint);
  83.         }catch(Exception e){
  84.             throw new SerializerException(e.getMessage(), e);
  85.         }
  86.         finally{
  87.             try{
  88.                 out.flush();
  89.             }catch(Exception e){
  90.                 // ignore
  91.             }
  92.         }
  93.     }
  94.     protected void objToXml(String fileName,Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
  95.         try{
  96.             this.objToXml(new File(fileName), c, object, prettyPrint);
  97.         }catch(Exception e){
  98.             throw new SerializerException(e.getMessage(), e);
  99.         }
  100.     }
  101.     protected void objToXml(File file,Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
  102.         FileOutputStream fout = null;
  103.         try{
  104.             fout = new FileOutputStream(file);
  105.             this._objToXml(fout, c, object, prettyPrint);
  106.         }catch(Exception e){
  107.             throw new SerializerException(e.getMessage(), e);
  108.         }
  109.         finally{
  110.             try{
  111.                 if(fout!=null){
  112.                     fout.flush();
  113.                 }
  114.             }catch(Exception e){
  115.                 // ignore
  116.             }
  117.             try{
  118.                 if(fout!=null){
  119.                     fout.close();
  120.                 }
  121.             }catch(Exception e){
  122.                 // ignore
  123.             }
  124.         }
  125.     }
  126.     protected ByteArrayOutputStream objToXml(Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
  127.         ByteArrayOutputStream bout = null;
  128.         try{
  129.             bout = new ByteArrayOutputStream();
  130.             this._objToXml(bout, c, object, prettyPrint);
  131.         }catch(Exception e){
  132.             throw new SerializerException(e.getMessage(), e);
  133.         }
  134.         finally{
  135.             try{
  136.                 if(bout!=null){
  137.                     bout.flush();
  138.                 }
  139.             }catch(Exception e){
  140.                 // ignore
  141.             }
  142.             try{
  143.                 if(bout!=null){
  144.                     bout.close();
  145.                 }
  146.             }catch(Exception e){
  147.                 // ignore
  148.             }
  149.         }
  150.         return bout;
  151.     }




  152.     /*
  153.      =================================================================================
  154.      Object: traccia
  155.      =================================================================================
  156.     */
  157.    
  158.     /**
  159.      * Serialize to file system in <var>fileName</var> the object <var>traccia</var> of type {@link org.openspcoop2.core.tracciamento.Traccia}
  160.      *
  161.      * @param fileName Xml file to serialize the object <var>traccia</var>
  162.      * @param traccia Object to be serialized in xml file <var>fileName</var>
  163.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  164.      */
  165.     public void write(String fileName,Traccia traccia) throws SerializerException {
  166.         this.objToXml(fileName, Traccia.class, traccia, false);
  167.     }
  168.     /**
  169.      * Serialize to file system in <var>fileName</var> the object <var>traccia</var> of type {@link org.openspcoop2.core.tracciamento.Traccia}
  170.      *
  171.      * @param fileName Xml file to serialize the object <var>traccia</var>
  172.      * @param traccia Object to be serialized in xml file <var>fileName</var>
  173.      * @param prettyPrint if true output the XML with indenting
  174.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  175.      */
  176.     public void write(String fileName,Traccia traccia,boolean prettyPrint) throws SerializerException {
  177.         this.objToXml(fileName, Traccia.class, traccia, prettyPrint);
  178.     }
  179.    
  180.     /**
  181.      * Serialize to file system in <var>file</var> the object <var>traccia</var> of type {@link org.openspcoop2.core.tracciamento.Traccia}
  182.      *
  183.      * @param file Xml file to serialize the object <var>traccia</var>
  184.      * @param traccia Object to be serialized in xml file <var>fileName</var>
  185.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  186.      */
  187.     public void write(File file,Traccia traccia) throws SerializerException {
  188.         this.objToXml(file, Traccia.class, traccia, false);
  189.     }
  190.     /**
  191.      * Serialize to file system in <var>file</var> the object <var>traccia</var> of type {@link org.openspcoop2.core.tracciamento.Traccia}
  192.      *
  193.      * @param file Xml file to serialize the object <var>traccia</var>
  194.      * @param traccia Object to be serialized in xml file <var>fileName</var>
  195.      * @param prettyPrint if true output the XML with indenting
  196.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  197.      */
  198.     public void write(File file,Traccia traccia,boolean prettyPrint) throws SerializerException {
  199.         this.objToXml(file, Traccia.class, traccia, prettyPrint);
  200.     }
  201.    
  202.     /**
  203.      * Serialize to output stream <var>out</var> the object <var>traccia</var> of type {@link org.openspcoop2.core.tracciamento.Traccia}
  204.      *
  205.      * @param out OutputStream to serialize the object <var>traccia</var>
  206.      * @param traccia Object to be serialized in xml file <var>fileName</var>
  207.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  208.      */
  209.     public void write(OutputStream out,Traccia traccia) throws SerializerException {
  210.         this.objToXml(out, Traccia.class, traccia, false);
  211.     }
  212.     /**
  213.      * Serialize to output stream <var>out</var> the object <var>traccia</var> of type {@link org.openspcoop2.core.tracciamento.Traccia}
  214.      *
  215.      * @param out OutputStream to serialize the object <var>traccia</var>
  216.      * @param traccia Object to be serialized in xml file <var>fileName</var>
  217.      * @param prettyPrint if true output the XML with indenting
  218.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  219.      */
  220.     public void write(OutputStream out,Traccia traccia,boolean prettyPrint) throws SerializerException {
  221.         this.objToXml(out, Traccia.class, traccia, prettyPrint);
  222.     }
  223.            
  224.     /**
  225.      * Serialize to byte array the object <var>traccia</var> of type {@link org.openspcoop2.core.tracciamento.Traccia}
  226.      *
  227.      * @param traccia Object to be serialized
  228.      * @return Object to be serialized in byte array
  229.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  230.      */
  231.     public byte[] toByteArray(Traccia traccia) throws SerializerException {
  232.         return this.objToXml(Traccia.class, traccia, false).toByteArray();
  233.     }
  234.     /**
  235.      * Serialize to byte array the object <var>traccia</var> of type {@link org.openspcoop2.core.tracciamento.Traccia}
  236.      *
  237.      * @param traccia Object to be serialized
  238.      * @param prettyPrint if true output the XML with indenting
  239.      * @return Object to be serialized in byte array
  240.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  241.      */
  242.     public byte[] toByteArray(Traccia traccia,boolean prettyPrint) throws SerializerException {
  243.         return this.objToXml(Traccia.class, traccia, prettyPrint).toByteArray();
  244.     }
  245.    
  246.     /**
  247.      * Serialize to String the object <var>traccia</var> of type {@link org.openspcoop2.core.tracciamento.Traccia}
  248.      *
  249.      * @param traccia Object to be serialized
  250.      * @return Object to be serialized as String
  251.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  252.      */
  253.     public String toString(Traccia traccia) throws SerializerException {
  254.         return this.objToXml(Traccia.class, traccia, false).toString();
  255.     }
  256.     /**
  257.      * Serialize to String the object <var>traccia</var> of type {@link org.openspcoop2.core.tracciamento.Traccia}
  258.      *
  259.      * @param traccia Object to be serialized
  260.      * @param prettyPrint if true output the XML with indenting
  261.      * @return Object to be serialized as String
  262.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  263.      */
  264.     public String toString(Traccia traccia,boolean prettyPrint) throws SerializerException {
  265.         return this.objToXml(Traccia.class, traccia, prettyPrint).toString();
  266.     }
  267.    
  268.    
  269.    
  270.     /*
  271.      =================================================================================
  272.      Object: dominio
  273.      =================================================================================
  274.     */
  275.    
  276.     /**
  277.      * Serialize to file system in <var>fileName</var> the object <var>dominio</var> of type {@link org.openspcoop2.core.tracciamento.Dominio}
  278.      *
  279.      * @param fileName Xml file to serialize the object <var>dominio</var>
  280.      * @param dominio Object to be serialized in xml file <var>fileName</var>
  281.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  282.      */
  283.     public void write(String fileName,Dominio dominio) throws SerializerException {
  284.         this.objToXml(fileName, Dominio.class, dominio, false);
  285.     }
  286.     /**
  287.      * Serialize to file system in <var>fileName</var> the object <var>dominio</var> of type {@link org.openspcoop2.core.tracciamento.Dominio}
  288.      *
  289.      * @param fileName Xml file to serialize the object <var>dominio</var>
  290.      * @param dominio Object to be serialized in xml file <var>fileName</var>
  291.      * @param prettyPrint if true output the XML with indenting
  292.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  293.      */
  294.     public void write(String fileName,Dominio dominio,boolean prettyPrint) throws SerializerException {
  295.         this.objToXml(fileName, Dominio.class, dominio, prettyPrint);
  296.     }
  297.    
  298.     /**
  299.      * Serialize to file system in <var>file</var> the object <var>dominio</var> of type {@link org.openspcoop2.core.tracciamento.Dominio}
  300.      *
  301.      * @param file Xml file to serialize the object <var>dominio</var>
  302.      * @param dominio Object to be serialized in xml file <var>fileName</var>
  303.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  304.      */
  305.     public void write(File file,Dominio dominio) throws SerializerException {
  306.         this.objToXml(file, Dominio.class, dominio, false);
  307.     }
  308.     /**
  309.      * Serialize to file system in <var>file</var> the object <var>dominio</var> of type {@link org.openspcoop2.core.tracciamento.Dominio}
  310.      *
  311.      * @param file Xml file to serialize the object <var>dominio</var>
  312.      * @param dominio Object to be serialized in xml file <var>fileName</var>
  313.      * @param prettyPrint if true output the XML with indenting
  314.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  315.      */
  316.     public void write(File file,Dominio dominio,boolean prettyPrint) throws SerializerException {
  317.         this.objToXml(file, Dominio.class, dominio, prettyPrint);
  318.     }
  319.    
  320.     /**
  321.      * Serialize to output stream <var>out</var> the object <var>dominio</var> of type {@link org.openspcoop2.core.tracciamento.Dominio}
  322.      *
  323.      * @param out OutputStream to serialize the object <var>dominio</var>
  324.      * @param dominio Object to be serialized in xml file <var>fileName</var>
  325.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  326.      */
  327.     public void write(OutputStream out,Dominio dominio) throws SerializerException {
  328.         this.objToXml(out, Dominio.class, dominio, false);
  329.     }
  330.     /**
  331.      * Serialize to output stream <var>out</var> the object <var>dominio</var> of type {@link org.openspcoop2.core.tracciamento.Dominio}
  332.      *
  333.      * @param out OutputStream to serialize the object <var>dominio</var>
  334.      * @param dominio Object to be serialized in xml file <var>fileName</var>
  335.      * @param prettyPrint if true output the XML with indenting
  336.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  337.      */
  338.     public void write(OutputStream out,Dominio dominio,boolean prettyPrint) throws SerializerException {
  339.         this.objToXml(out, Dominio.class, dominio, prettyPrint);
  340.     }
  341.            
  342.     /**
  343.      * Serialize to byte array the object <var>dominio</var> of type {@link org.openspcoop2.core.tracciamento.Dominio}
  344.      *
  345.      * @param dominio Object to be serialized
  346.      * @return Object to be serialized in byte array
  347.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  348.      */
  349.     public byte[] toByteArray(Dominio dominio) throws SerializerException {
  350.         return this.objToXml(Dominio.class, dominio, false).toByteArray();
  351.     }
  352.     /**
  353.      * Serialize to byte array the object <var>dominio</var> of type {@link org.openspcoop2.core.tracciamento.Dominio}
  354.      *
  355.      * @param dominio Object to be serialized
  356.      * @param prettyPrint if true output the XML with indenting
  357.      * @return Object to be serialized in byte array
  358.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  359.      */
  360.     public byte[] toByteArray(Dominio dominio,boolean prettyPrint) throws SerializerException {
  361.         return this.objToXml(Dominio.class, dominio, prettyPrint).toByteArray();
  362.     }
  363.    
  364.     /**
  365.      * Serialize to String the object <var>dominio</var> of type {@link org.openspcoop2.core.tracciamento.Dominio}
  366.      *
  367.      * @param dominio Object to be serialized
  368.      * @return Object to be serialized as String
  369.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  370.      */
  371.     public String toString(Dominio dominio) throws SerializerException {
  372.         return this.objToXml(Dominio.class, dominio, false).toString();
  373.     }
  374.     /**
  375.      * Serialize to String the object <var>dominio</var> of type {@link org.openspcoop2.core.tracciamento.Dominio}
  376.      *
  377.      * @param dominio Object to be serialized
  378.      * @param prettyPrint if true output the XML with indenting
  379.      * @return Object to be serialized as String
  380.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  381.      */
  382.     public String toString(Dominio dominio,boolean prettyPrint) throws SerializerException {
  383.         return this.objToXml(Dominio.class, dominio, prettyPrint).toString();
  384.     }
  385.    
  386.    
  387.    
  388.     /*
  389.      =================================================================================
  390.      Object: traccia-esito-elaborazione
  391.      =================================================================================
  392.     */
  393.    
  394.     /**
  395.      * Serialize to file system in <var>fileName</var> the object <var>tracciaEsitoElaborazione</var> of type {@link org.openspcoop2.core.tracciamento.TracciaEsitoElaborazione}
  396.      *
  397.      * @param fileName Xml file to serialize the object <var>tracciaEsitoElaborazione</var>
  398.      * @param tracciaEsitoElaborazione Object to be serialized in xml file <var>fileName</var>
  399.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  400.      */
  401.     public void write(String fileName,TracciaEsitoElaborazione tracciaEsitoElaborazione) throws SerializerException {
  402.         this.objToXml(fileName, TracciaEsitoElaborazione.class, tracciaEsitoElaborazione, false);
  403.     }
  404.     /**
  405.      * Serialize to file system in <var>fileName</var> the object <var>tracciaEsitoElaborazione</var> of type {@link org.openspcoop2.core.tracciamento.TracciaEsitoElaborazione}
  406.      *
  407.      * @param fileName Xml file to serialize the object <var>tracciaEsitoElaborazione</var>
  408.      * @param tracciaEsitoElaborazione Object to be serialized in xml file <var>fileName</var>
  409.      * @param prettyPrint if true output the XML with indenting
  410.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  411.      */
  412.     public void write(String fileName,TracciaEsitoElaborazione tracciaEsitoElaborazione,boolean prettyPrint) throws SerializerException {
  413.         this.objToXml(fileName, TracciaEsitoElaborazione.class, tracciaEsitoElaborazione, prettyPrint);
  414.     }
  415.    
  416.     /**
  417.      * Serialize to file system in <var>file</var> the object <var>tracciaEsitoElaborazione</var> of type {@link org.openspcoop2.core.tracciamento.TracciaEsitoElaborazione}
  418.      *
  419.      * @param file Xml file to serialize the object <var>tracciaEsitoElaborazione</var>
  420.      * @param tracciaEsitoElaborazione Object to be serialized in xml file <var>fileName</var>
  421.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  422.      */
  423.     public void write(File file,TracciaEsitoElaborazione tracciaEsitoElaborazione) throws SerializerException {
  424.         this.objToXml(file, TracciaEsitoElaborazione.class, tracciaEsitoElaborazione, false);
  425.     }
  426.     /**
  427.      * Serialize to file system in <var>file</var> the object <var>tracciaEsitoElaborazione</var> of type {@link org.openspcoop2.core.tracciamento.TracciaEsitoElaborazione}
  428.      *
  429.      * @param file Xml file to serialize the object <var>tracciaEsitoElaborazione</var>
  430.      * @param tracciaEsitoElaborazione Object to be serialized in xml file <var>fileName</var>
  431.      * @param prettyPrint if true output the XML with indenting
  432.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  433.      */
  434.     public void write(File file,TracciaEsitoElaborazione tracciaEsitoElaborazione,boolean prettyPrint) throws SerializerException {
  435.         this.objToXml(file, TracciaEsitoElaborazione.class, tracciaEsitoElaborazione, prettyPrint);
  436.     }
  437.    
  438.     /**
  439.      * Serialize to output stream <var>out</var> the object <var>tracciaEsitoElaborazione</var> of type {@link org.openspcoop2.core.tracciamento.TracciaEsitoElaborazione}
  440.      *
  441.      * @param out OutputStream to serialize the object <var>tracciaEsitoElaborazione</var>
  442.      * @param tracciaEsitoElaborazione Object to be serialized in xml file <var>fileName</var>
  443.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  444.      */
  445.     public void write(OutputStream out,TracciaEsitoElaborazione tracciaEsitoElaborazione) throws SerializerException {
  446.         this.objToXml(out, TracciaEsitoElaborazione.class, tracciaEsitoElaborazione, false);
  447.     }
  448.     /**
  449.      * Serialize to output stream <var>out</var> the object <var>tracciaEsitoElaborazione</var> of type {@link org.openspcoop2.core.tracciamento.TracciaEsitoElaborazione}
  450.      *
  451.      * @param out OutputStream to serialize the object <var>tracciaEsitoElaborazione</var>
  452.      * @param tracciaEsitoElaborazione Object to be serialized in xml file <var>fileName</var>
  453.      * @param prettyPrint if true output the XML with indenting
  454.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  455.      */
  456.     public void write(OutputStream out,TracciaEsitoElaborazione tracciaEsitoElaborazione,boolean prettyPrint) throws SerializerException {
  457.         this.objToXml(out, TracciaEsitoElaborazione.class, tracciaEsitoElaborazione, prettyPrint);
  458.     }
  459.            
  460.     /**
  461.      * Serialize to byte array the object <var>tracciaEsitoElaborazione</var> of type {@link org.openspcoop2.core.tracciamento.TracciaEsitoElaborazione}
  462.      *
  463.      * @param tracciaEsitoElaborazione Object to be serialized
  464.      * @return Object to be serialized in byte array
  465.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  466.      */
  467.     public byte[] toByteArray(TracciaEsitoElaborazione tracciaEsitoElaborazione) throws SerializerException {
  468.         return this.objToXml(TracciaEsitoElaborazione.class, tracciaEsitoElaborazione, false).toByteArray();
  469.     }
  470.     /**
  471.      * Serialize to byte array the object <var>tracciaEsitoElaborazione</var> of type {@link org.openspcoop2.core.tracciamento.TracciaEsitoElaborazione}
  472.      *
  473.      * @param tracciaEsitoElaborazione Object to be serialized
  474.      * @param prettyPrint if true output the XML with indenting
  475.      * @return Object to be serialized in byte array
  476.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  477.      */
  478.     public byte[] toByteArray(TracciaEsitoElaborazione tracciaEsitoElaborazione,boolean prettyPrint) throws SerializerException {
  479.         return this.objToXml(TracciaEsitoElaborazione.class, tracciaEsitoElaborazione, prettyPrint).toByteArray();
  480.     }
  481.    
  482.     /**
  483.      * Serialize to String the object <var>tracciaEsitoElaborazione</var> of type {@link org.openspcoop2.core.tracciamento.TracciaEsitoElaborazione}
  484.      *
  485.      * @param tracciaEsitoElaborazione Object to be serialized
  486.      * @return Object to be serialized as String
  487.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  488.      */
  489.     public String toString(TracciaEsitoElaborazione tracciaEsitoElaborazione) throws SerializerException {
  490.         return this.objToXml(TracciaEsitoElaborazione.class, tracciaEsitoElaborazione, false).toString();
  491.     }
  492.     /**
  493.      * Serialize to String the object <var>tracciaEsitoElaborazione</var> of type {@link org.openspcoop2.core.tracciamento.TracciaEsitoElaborazione}
  494.      *
  495.      * @param tracciaEsitoElaborazione Object to be serialized
  496.      * @param prettyPrint if true output the XML with indenting
  497.      * @return Object to be serialized as String
  498.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  499.      */
  500.     public String toString(TracciaEsitoElaborazione tracciaEsitoElaborazione,boolean prettyPrint) throws SerializerException {
  501.         return this.objToXml(TracciaEsitoElaborazione.class, tracciaEsitoElaborazione, prettyPrint).toString();
  502.     }
  503.    
  504.    
  505.    
  506.     /*
  507.      =================================================================================
  508.      Object: busta
  509.      =================================================================================
  510.     */
  511.    
  512.     /**
  513.      * Serialize to file system in <var>fileName</var> the object <var>busta</var> of type {@link org.openspcoop2.core.tracciamento.Busta}
  514.      *
  515.      * @param fileName Xml file to serialize the object <var>busta</var>
  516.      * @param busta Object to be serialized in xml file <var>fileName</var>
  517.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  518.      */
  519.     public void write(String fileName,Busta busta) throws SerializerException {
  520.         this.objToXml(fileName, Busta.class, busta, false);
  521.     }
  522.     /**
  523.      * Serialize to file system in <var>fileName</var> the object <var>busta</var> of type {@link org.openspcoop2.core.tracciamento.Busta}
  524.      *
  525.      * @param fileName Xml file to serialize the object <var>busta</var>
  526.      * @param busta Object to be serialized in xml file <var>fileName</var>
  527.      * @param prettyPrint if true output the XML with indenting
  528.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  529.      */
  530.     public void write(String fileName,Busta busta,boolean prettyPrint) throws SerializerException {
  531.         this.objToXml(fileName, Busta.class, busta, prettyPrint);
  532.     }
  533.    
  534.     /**
  535.      * Serialize to file system in <var>file</var> the object <var>busta</var> of type {@link org.openspcoop2.core.tracciamento.Busta}
  536.      *
  537.      * @param file Xml file to serialize the object <var>busta</var>
  538.      * @param busta Object to be serialized in xml file <var>fileName</var>
  539.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  540.      */
  541.     public void write(File file,Busta busta) throws SerializerException {
  542.         this.objToXml(file, Busta.class, busta, false);
  543.     }
  544.     /**
  545.      * Serialize to file system in <var>file</var> the object <var>busta</var> of type {@link org.openspcoop2.core.tracciamento.Busta}
  546.      *
  547.      * @param file Xml file to serialize the object <var>busta</var>
  548.      * @param busta Object to be serialized in xml file <var>fileName</var>
  549.      * @param prettyPrint if true output the XML with indenting
  550.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  551.      */
  552.     public void write(File file,Busta busta,boolean prettyPrint) throws SerializerException {
  553.         this.objToXml(file, Busta.class, busta, prettyPrint);
  554.     }
  555.    
  556.     /**
  557.      * Serialize to output stream <var>out</var> the object <var>busta</var> of type {@link org.openspcoop2.core.tracciamento.Busta}
  558.      *
  559.      * @param out OutputStream to serialize the object <var>busta</var>
  560.      * @param busta Object to be serialized in xml file <var>fileName</var>
  561.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  562.      */
  563.     public void write(OutputStream out,Busta busta) throws SerializerException {
  564.         this.objToXml(out, Busta.class, busta, false);
  565.     }
  566.     /**
  567.      * Serialize to output stream <var>out</var> the object <var>busta</var> of type {@link org.openspcoop2.core.tracciamento.Busta}
  568.      *
  569.      * @param out OutputStream to serialize the object <var>busta</var>
  570.      * @param busta Object to be serialized in xml file <var>fileName</var>
  571.      * @param prettyPrint if true output the XML with indenting
  572.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  573.      */
  574.     public void write(OutputStream out,Busta busta,boolean prettyPrint) throws SerializerException {
  575.         this.objToXml(out, Busta.class, busta, prettyPrint);
  576.     }
  577.            
  578.     /**
  579.      * Serialize to byte array the object <var>busta</var> of type {@link org.openspcoop2.core.tracciamento.Busta}
  580.      *
  581.      * @param busta Object to be serialized
  582.      * @return Object to be serialized in byte array
  583.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  584.      */
  585.     public byte[] toByteArray(Busta busta) throws SerializerException {
  586.         return this.objToXml(Busta.class, busta, false).toByteArray();
  587.     }
  588.     /**
  589.      * Serialize to byte array the object <var>busta</var> of type {@link org.openspcoop2.core.tracciamento.Busta}
  590.      *
  591.      * @param busta Object to be serialized
  592.      * @param prettyPrint if true output the XML with indenting
  593.      * @return Object to be serialized in byte array
  594.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  595.      */
  596.     public byte[] toByteArray(Busta busta,boolean prettyPrint) throws SerializerException {
  597.         return this.objToXml(Busta.class, busta, prettyPrint).toByteArray();
  598.     }
  599.    
  600.     /**
  601.      * Serialize to String the object <var>busta</var> of type {@link org.openspcoop2.core.tracciamento.Busta}
  602.      *
  603.      * @param busta Object to be serialized
  604.      * @return Object to be serialized as String
  605.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  606.      */
  607.     public String toString(Busta busta) throws SerializerException {
  608.         return this.objToXml(Busta.class, busta, false).toString();
  609.     }
  610.     /**
  611.      * Serialize to String the object <var>busta</var> of type {@link org.openspcoop2.core.tracciamento.Busta}
  612.      *
  613.      * @param busta Object to be serialized
  614.      * @param prettyPrint if true output the XML with indenting
  615.      * @return Object to be serialized as String
  616.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  617.      */
  618.     public String toString(Busta busta,boolean prettyPrint) throws SerializerException {
  619.         return this.objToXml(Busta.class, busta, prettyPrint).toString();
  620.     }
  621.    
  622.    
  623.    
  624.     /*
  625.      =================================================================================
  626.      Object: allegati
  627.      =================================================================================
  628.     */
  629.    
  630.     /**
  631.      * Serialize to file system in <var>fileName</var> the object <var>allegati</var> of type {@link org.openspcoop2.core.tracciamento.Allegati}
  632.      *
  633.      * @param fileName Xml file to serialize the object <var>allegati</var>
  634.      * @param allegati Object to be serialized in xml file <var>fileName</var>
  635.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  636.      */
  637.     public void write(String fileName,Allegati allegati) throws SerializerException {
  638.         this.objToXml(fileName, Allegati.class, allegati, false);
  639.     }
  640.     /**
  641.      * Serialize to file system in <var>fileName</var> the object <var>allegati</var> of type {@link org.openspcoop2.core.tracciamento.Allegati}
  642.      *
  643.      * @param fileName Xml file to serialize the object <var>allegati</var>
  644.      * @param allegati Object to be serialized in xml file <var>fileName</var>
  645.      * @param prettyPrint if true output the XML with indenting
  646.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  647.      */
  648.     public void write(String fileName,Allegati allegati,boolean prettyPrint) throws SerializerException {
  649.         this.objToXml(fileName, Allegati.class, allegati, prettyPrint);
  650.     }
  651.    
  652.     /**
  653.      * Serialize to file system in <var>file</var> the object <var>allegati</var> of type {@link org.openspcoop2.core.tracciamento.Allegati}
  654.      *
  655.      * @param file Xml file to serialize the object <var>allegati</var>
  656.      * @param allegati Object to be serialized in xml file <var>fileName</var>
  657.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  658.      */
  659.     public void write(File file,Allegati allegati) throws SerializerException {
  660.         this.objToXml(file, Allegati.class, allegati, false);
  661.     }
  662.     /**
  663.      * Serialize to file system in <var>file</var> the object <var>allegati</var> of type {@link org.openspcoop2.core.tracciamento.Allegati}
  664.      *
  665.      * @param file Xml file to serialize the object <var>allegati</var>
  666.      * @param allegati Object to be serialized in xml file <var>fileName</var>
  667.      * @param prettyPrint if true output the XML with indenting
  668.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  669.      */
  670.     public void write(File file,Allegati allegati,boolean prettyPrint) throws SerializerException {
  671.         this.objToXml(file, Allegati.class, allegati, prettyPrint);
  672.     }
  673.    
  674.     /**
  675.      * Serialize to output stream <var>out</var> the object <var>allegati</var> of type {@link org.openspcoop2.core.tracciamento.Allegati}
  676.      *
  677.      * @param out OutputStream to serialize the object <var>allegati</var>
  678.      * @param allegati Object to be serialized in xml file <var>fileName</var>
  679.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  680.      */
  681.     public void write(OutputStream out,Allegati allegati) throws SerializerException {
  682.         this.objToXml(out, Allegati.class, allegati, false);
  683.     }
  684.     /**
  685.      * Serialize to output stream <var>out</var> the object <var>allegati</var> of type {@link org.openspcoop2.core.tracciamento.Allegati}
  686.      *
  687.      * @param out OutputStream to serialize the object <var>allegati</var>
  688.      * @param allegati Object to be serialized in xml file <var>fileName</var>
  689.      * @param prettyPrint if true output the XML with indenting
  690.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  691.      */
  692.     public void write(OutputStream out,Allegati allegati,boolean prettyPrint) throws SerializerException {
  693.         this.objToXml(out, Allegati.class, allegati, prettyPrint);
  694.     }
  695.            
  696.     /**
  697.      * Serialize to byte array the object <var>allegati</var> of type {@link org.openspcoop2.core.tracciamento.Allegati}
  698.      *
  699.      * @param allegati Object to be serialized
  700.      * @return Object to be serialized in byte array
  701.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  702.      */
  703.     public byte[] toByteArray(Allegati allegati) throws SerializerException {
  704.         return this.objToXml(Allegati.class, allegati, false).toByteArray();
  705.     }
  706.     /**
  707.      * Serialize to byte array the object <var>allegati</var> of type {@link org.openspcoop2.core.tracciamento.Allegati}
  708.      *
  709.      * @param allegati Object to be serialized
  710.      * @param prettyPrint if true output the XML with indenting
  711.      * @return Object to be serialized in byte array
  712.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  713.      */
  714.     public byte[] toByteArray(Allegati allegati,boolean prettyPrint) throws SerializerException {
  715.         return this.objToXml(Allegati.class, allegati, prettyPrint).toByteArray();
  716.     }
  717.    
  718.     /**
  719.      * Serialize to String the object <var>allegati</var> of type {@link org.openspcoop2.core.tracciamento.Allegati}
  720.      *
  721.      * @param allegati Object to be serialized
  722.      * @return Object to be serialized as String
  723.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  724.      */
  725.     public String toString(Allegati allegati) throws SerializerException {
  726.         return this.objToXml(Allegati.class, allegati, false).toString();
  727.     }
  728.     /**
  729.      * Serialize to String the object <var>allegati</var> of type {@link org.openspcoop2.core.tracciamento.Allegati}
  730.      *
  731.      * @param allegati Object to be serialized
  732.      * @param prettyPrint if true output the XML with indenting
  733.      * @return Object to be serialized as String
  734.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  735.      */
  736.     public String toString(Allegati allegati,boolean prettyPrint) throws SerializerException {
  737.         return this.objToXml(Allegati.class, allegati, prettyPrint).toString();
  738.     }
  739.    
  740.    
  741.    
  742.     /*
  743.      =================================================================================
  744.      Object: inoltro
  745.      =================================================================================
  746.     */
  747.    
  748.     /**
  749.      * Serialize to file system in <var>fileName</var> the object <var>inoltro</var> of type {@link org.openspcoop2.core.tracciamento.Inoltro}
  750.      *
  751.      * @param fileName Xml file to serialize the object <var>inoltro</var>
  752.      * @param inoltro Object to be serialized in xml file <var>fileName</var>
  753.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  754.      */
  755.     public void write(String fileName,Inoltro inoltro) throws SerializerException {
  756.         this.objToXml(fileName, Inoltro.class, inoltro, false);
  757.     }
  758.     /**
  759.      * Serialize to file system in <var>fileName</var> the object <var>inoltro</var> of type {@link org.openspcoop2.core.tracciamento.Inoltro}
  760.      *
  761.      * @param fileName Xml file to serialize the object <var>inoltro</var>
  762.      * @param inoltro Object to be serialized in xml file <var>fileName</var>
  763.      * @param prettyPrint if true output the XML with indenting
  764.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  765.      */
  766.     public void write(String fileName,Inoltro inoltro,boolean prettyPrint) throws SerializerException {
  767.         this.objToXml(fileName, Inoltro.class, inoltro, prettyPrint);
  768.     }
  769.    
  770.     /**
  771.      * Serialize to file system in <var>file</var> the object <var>inoltro</var> of type {@link org.openspcoop2.core.tracciamento.Inoltro}
  772.      *
  773.      * @param file Xml file to serialize the object <var>inoltro</var>
  774.      * @param inoltro Object to be serialized in xml file <var>fileName</var>
  775.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  776.      */
  777.     public void write(File file,Inoltro inoltro) throws SerializerException {
  778.         this.objToXml(file, Inoltro.class, inoltro, false);
  779.     }
  780.     /**
  781.      * Serialize to file system in <var>file</var> the object <var>inoltro</var> of type {@link org.openspcoop2.core.tracciamento.Inoltro}
  782.      *
  783.      * @param file Xml file to serialize the object <var>inoltro</var>
  784.      * @param inoltro Object to be serialized in xml file <var>fileName</var>
  785.      * @param prettyPrint if true output the XML with indenting
  786.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  787.      */
  788.     public void write(File file,Inoltro inoltro,boolean prettyPrint) throws SerializerException {
  789.         this.objToXml(file, Inoltro.class, inoltro, prettyPrint);
  790.     }
  791.    
  792.     /**
  793.      * Serialize to output stream <var>out</var> the object <var>inoltro</var> of type {@link org.openspcoop2.core.tracciamento.Inoltro}
  794.      *
  795.      * @param out OutputStream to serialize the object <var>inoltro</var>
  796.      * @param inoltro Object to be serialized in xml file <var>fileName</var>
  797.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  798.      */
  799.     public void write(OutputStream out,Inoltro inoltro) throws SerializerException {
  800.         this.objToXml(out, Inoltro.class, inoltro, false);
  801.     }
  802.     /**
  803.      * Serialize to output stream <var>out</var> the object <var>inoltro</var> of type {@link org.openspcoop2.core.tracciamento.Inoltro}
  804.      *
  805.      * @param out OutputStream to serialize the object <var>inoltro</var>
  806.      * @param inoltro Object to be serialized in xml file <var>fileName</var>
  807.      * @param prettyPrint if true output the XML with indenting
  808.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  809.      */
  810.     public void write(OutputStream out,Inoltro inoltro,boolean prettyPrint) throws SerializerException {
  811.         this.objToXml(out, Inoltro.class, inoltro, prettyPrint);
  812.     }
  813.            
  814.     /**
  815.      * Serialize to byte array the object <var>inoltro</var> of type {@link org.openspcoop2.core.tracciamento.Inoltro}
  816.      *
  817.      * @param inoltro Object to be serialized
  818.      * @return Object to be serialized in byte array
  819.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  820.      */
  821.     public byte[] toByteArray(Inoltro inoltro) throws SerializerException {
  822.         return this.objToXml(Inoltro.class, inoltro, false).toByteArray();
  823.     }
  824.     /**
  825.      * Serialize to byte array the object <var>inoltro</var> of type {@link org.openspcoop2.core.tracciamento.Inoltro}
  826.      *
  827.      * @param inoltro Object to be serialized
  828.      * @param prettyPrint if true output the XML with indenting
  829.      * @return Object to be serialized in byte array
  830.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  831.      */
  832.     public byte[] toByteArray(Inoltro inoltro,boolean prettyPrint) throws SerializerException {
  833.         return this.objToXml(Inoltro.class, inoltro, prettyPrint).toByteArray();
  834.     }
  835.    
  836.     /**
  837.      * Serialize to String the object <var>inoltro</var> of type {@link org.openspcoop2.core.tracciamento.Inoltro}
  838.      *
  839.      * @param inoltro Object to be serialized
  840.      * @return Object to be serialized as String
  841.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  842.      */
  843.     public String toString(Inoltro inoltro) throws SerializerException {
  844.         return this.objToXml(Inoltro.class, inoltro, false).toString();
  845.     }
  846.     /**
  847.      * Serialize to String the object <var>inoltro</var> of type {@link org.openspcoop2.core.tracciamento.Inoltro}
  848.      *
  849.      * @param inoltro Object to be serialized
  850.      * @param prettyPrint if true output the XML with indenting
  851.      * @return Object to be serialized as String
  852.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  853.      */
  854.     public String toString(Inoltro inoltro,boolean prettyPrint) throws SerializerException {
  855.         return this.objToXml(Inoltro.class, inoltro, prettyPrint).toString();
  856.     }
  857.    
  858.    
  859.    
  860.     /*
  861.      =================================================================================
  862.      Object: profilo-trasmissione
  863.      =================================================================================
  864.     */
  865.    
  866.     /**
  867.      * Serialize to file system in <var>fileName</var> the object <var>profiloTrasmissione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloTrasmissione}
  868.      *
  869.      * @param fileName Xml file to serialize the object <var>profiloTrasmissione</var>
  870.      * @param profiloTrasmissione Object to be serialized in xml file <var>fileName</var>
  871.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  872.      */
  873.     public void write(String fileName,ProfiloTrasmissione profiloTrasmissione) throws SerializerException {
  874.         this.objToXml(fileName, ProfiloTrasmissione.class, profiloTrasmissione, false);
  875.     }
  876.     /**
  877.      * Serialize to file system in <var>fileName</var> the object <var>profiloTrasmissione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloTrasmissione}
  878.      *
  879.      * @param fileName Xml file to serialize the object <var>profiloTrasmissione</var>
  880.      * @param profiloTrasmissione Object to be serialized in xml file <var>fileName</var>
  881.      * @param prettyPrint if true output the XML with indenting
  882.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  883.      */
  884.     public void write(String fileName,ProfiloTrasmissione profiloTrasmissione,boolean prettyPrint) throws SerializerException {
  885.         this.objToXml(fileName, ProfiloTrasmissione.class, profiloTrasmissione, prettyPrint);
  886.     }
  887.    
  888.     /**
  889.      * Serialize to file system in <var>file</var> the object <var>profiloTrasmissione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloTrasmissione}
  890.      *
  891.      * @param file Xml file to serialize the object <var>profiloTrasmissione</var>
  892.      * @param profiloTrasmissione Object to be serialized in xml file <var>fileName</var>
  893.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  894.      */
  895.     public void write(File file,ProfiloTrasmissione profiloTrasmissione) throws SerializerException {
  896.         this.objToXml(file, ProfiloTrasmissione.class, profiloTrasmissione, false);
  897.     }
  898.     /**
  899.      * Serialize to file system in <var>file</var> the object <var>profiloTrasmissione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloTrasmissione}
  900.      *
  901.      * @param file Xml file to serialize the object <var>profiloTrasmissione</var>
  902.      * @param profiloTrasmissione Object to be serialized in xml file <var>fileName</var>
  903.      * @param prettyPrint if true output the XML with indenting
  904.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  905.      */
  906.     public void write(File file,ProfiloTrasmissione profiloTrasmissione,boolean prettyPrint) throws SerializerException {
  907.         this.objToXml(file, ProfiloTrasmissione.class, profiloTrasmissione, prettyPrint);
  908.     }
  909.    
  910.     /**
  911.      * Serialize to output stream <var>out</var> the object <var>profiloTrasmissione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloTrasmissione}
  912.      *
  913.      * @param out OutputStream to serialize the object <var>profiloTrasmissione</var>
  914.      * @param profiloTrasmissione Object to be serialized in xml file <var>fileName</var>
  915.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  916.      */
  917.     public void write(OutputStream out,ProfiloTrasmissione profiloTrasmissione) throws SerializerException {
  918.         this.objToXml(out, ProfiloTrasmissione.class, profiloTrasmissione, false);
  919.     }
  920.     /**
  921.      * Serialize to output stream <var>out</var> the object <var>profiloTrasmissione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloTrasmissione}
  922.      *
  923.      * @param out OutputStream to serialize the object <var>profiloTrasmissione</var>
  924.      * @param profiloTrasmissione Object to be serialized in xml file <var>fileName</var>
  925.      * @param prettyPrint if true output the XML with indenting
  926.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  927.      */
  928.     public void write(OutputStream out,ProfiloTrasmissione profiloTrasmissione,boolean prettyPrint) throws SerializerException {
  929.         this.objToXml(out, ProfiloTrasmissione.class, profiloTrasmissione, prettyPrint);
  930.     }
  931.            
  932.     /**
  933.      * Serialize to byte array the object <var>profiloTrasmissione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloTrasmissione}
  934.      *
  935.      * @param profiloTrasmissione Object to be serialized
  936.      * @return Object to be serialized in byte array
  937.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  938.      */
  939.     public byte[] toByteArray(ProfiloTrasmissione profiloTrasmissione) throws SerializerException {
  940.         return this.objToXml(ProfiloTrasmissione.class, profiloTrasmissione, false).toByteArray();
  941.     }
  942.     /**
  943.      * Serialize to byte array the object <var>profiloTrasmissione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloTrasmissione}
  944.      *
  945.      * @param profiloTrasmissione Object to be serialized
  946.      * @param prettyPrint if true output the XML with indenting
  947.      * @return Object to be serialized in byte array
  948.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  949.      */
  950.     public byte[] toByteArray(ProfiloTrasmissione profiloTrasmissione,boolean prettyPrint) throws SerializerException {
  951.         return this.objToXml(ProfiloTrasmissione.class, profiloTrasmissione, prettyPrint).toByteArray();
  952.     }
  953.    
  954.     /**
  955.      * Serialize to String the object <var>profiloTrasmissione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloTrasmissione}
  956.      *
  957.      * @param profiloTrasmissione Object to be serialized
  958.      * @return Object to be serialized as String
  959.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  960.      */
  961.     public String toString(ProfiloTrasmissione profiloTrasmissione) throws SerializerException {
  962.         return this.objToXml(ProfiloTrasmissione.class, profiloTrasmissione, false).toString();
  963.     }
  964.     /**
  965.      * Serialize to String the object <var>profiloTrasmissione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloTrasmissione}
  966.      *
  967.      * @param profiloTrasmissione Object to be serialized
  968.      * @param prettyPrint if true output the XML with indenting
  969.      * @return Object to be serialized as String
  970.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  971.      */
  972.     public String toString(ProfiloTrasmissione profiloTrasmissione,boolean prettyPrint) throws SerializerException {
  973.         return this.objToXml(ProfiloTrasmissione.class, profiloTrasmissione, prettyPrint).toString();
  974.     }
  975.    
  976.    
  977.    
  978.     /*
  979.      =================================================================================
  980.      Object: id-traccia
  981.      =================================================================================
  982.     */
  983.    
  984.     /**
  985.      * Serialize to file system in <var>fileName</var> the object <var>idTraccia</var> of type {@link org.openspcoop2.core.tracciamento.IdTraccia}
  986.      *
  987.      * @param fileName Xml file to serialize the object <var>idTraccia</var>
  988.      * @param idTraccia Object to be serialized in xml file <var>fileName</var>
  989.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  990.      */
  991.     public void write(String fileName,IdTraccia idTraccia) throws SerializerException {
  992.         this.objToXml(fileName, IdTraccia.class, idTraccia, false);
  993.     }
  994.     /**
  995.      * Serialize to file system in <var>fileName</var> the object <var>idTraccia</var> of type {@link org.openspcoop2.core.tracciamento.IdTraccia}
  996.      *
  997.      * @param fileName Xml file to serialize the object <var>idTraccia</var>
  998.      * @param idTraccia Object to be serialized in xml file <var>fileName</var>
  999.      * @param prettyPrint if true output the XML with indenting
  1000.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1001.      */
  1002.     public void write(String fileName,IdTraccia idTraccia,boolean prettyPrint) throws SerializerException {
  1003.         this.objToXml(fileName, IdTraccia.class, idTraccia, prettyPrint);
  1004.     }
  1005.    
  1006.     /**
  1007.      * Serialize to file system in <var>file</var> the object <var>idTraccia</var> of type {@link org.openspcoop2.core.tracciamento.IdTraccia}
  1008.      *
  1009.      * @param file Xml file to serialize the object <var>idTraccia</var>
  1010.      * @param idTraccia Object to be serialized in xml file <var>fileName</var>
  1011.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1012.      */
  1013.     public void write(File file,IdTraccia idTraccia) throws SerializerException {
  1014.         this.objToXml(file, IdTraccia.class, idTraccia, false);
  1015.     }
  1016.     /**
  1017.      * Serialize to file system in <var>file</var> the object <var>idTraccia</var> of type {@link org.openspcoop2.core.tracciamento.IdTraccia}
  1018.      *
  1019.      * @param file Xml file to serialize the object <var>idTraccia</var>
  1020.      * @param idTraccia Object to be serialized in xml file <var>fileName</var>
  1021.      * @param prettyPrint if true output the XML with indenting
  1022.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1023.      */
  1024.     public void write(File file,IdTraccia idTraccia,boolean prettyPrint) throws SerializerException {
  1025.         this.objToXml(file, IdTraccia.class, idTraccia, prettyPrint);
  1026.     }
  1027.    
  1028.     /**
  1029.      * Serialize to output stream <var>out</var> the object <var>idTraccia</var> of type {@link org.openspcoop2.core.tracciamento.IdTraccia}
  1030.      *
  1031.      * @param out OutputStream to serialize the object <var>idTraccia</var>
  1032.      * @param idTraccia Object to be serialized in xml file <var>fileName</var>
  1033.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1034.      */
  1035.     public void write(OutputStream out,IdTraccia idTraccia) throws SerializerException {
  1036.         this.objToXml(out, IdTraccia.class, idTraccia, false);
  1037.     }
  1038.     /**
  1039.      * Serialize to output stream <var>out</var> the object <var>idTraccia</var> of type {@link org.openspcoop2.core.tracciamento.IdTraccia}
  1040.      *
  1041.      * @param out OutputStream to serialize the object <var>idTraccia</var>
  1042.      * @param idTraccia Object to be serialized in xml file <var>fileName</var>
  1043.      * @param prettyPrint if true output the XML with indenting
  1044.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1045.      */
  1046.     public void write(OutputStream out,IdTraccia idTraccia,boolean prettyPrint) throws SerializerException {
  1047.         this.objToXml(out, IdTraccia.class, idTraccia, prettyPrint);
  1048.     }
  1049.            
  1050.     /**
  1051.      * Serialize to byte array the object <var>idTraccia</var> of type {@link org.openspcoop2.core.tracciamento.IdTraccia}
  1052.      *
  1053.      * @param idTraccia Object to be serialized
  1054.      * @return Object to be serialized in byte array
  1055.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1056.      */
  1057.     public byte[] toByteArray(IdTraccia idTraccia) throws SerializerException {
  1058.         return this.objToXml(IdTraccia.class, idTraccia, false).toByteArray();
  1059.     }
  1060.     /**
  1061.      * Serialize to byte array the object <var>idTraccia</var> of type {@link org.openspcoop2.core.tracciamento.IdTraccia}
  1062.      *
  1063.      * @param idTraccia Object to be serialized
  1064.      * @param prettyPrint if true output the XML with indenting
  1065.      * @return Object to be serialized in byte array
  1066.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1067.      */
  1068.     public byte[] toByteArray(IdTraccia idTraccia,boolean prettyPrint) throws SerializerException {
  1069.         return this.objToXml(IdTraccia.class, idTraccia, prettyPrint).toByteArray();
  1070.     }
  1071.    
  1072.     /**
  1073.      * Serialize to String the object <var>idTraccia</var> of type {@link org.openspcoop2.core.tracciamento.IdTraccia}
  1074.      *
  1075.      * @param idTraccia Object to be serialized
  1076.      * @return Object to be serialized as String
  1077.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1078.      */
  1079.     public String toString(IdTraccia idTraccia) throws SerializerException {
  1080.         return this.objToXml(IdTraccia.class, idTraccia, false).toString();
  1081.     }
  1082.     /**
  1083.      * Serialize to String the object <var>idTraccia</var> of type {@link org.openspcoop2.core.tracciamento.IdTraccia}
  1084.      *
  1085.      * @param idTraccia Object to be serialized
  1086.      * @param prettyPrint if true output the XML with indenting
  1087.      * @return Object to be serialized as String
  1088.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1089.      */
  1090.     public String toString(IdTraccia idTraccia,boolean prettyPrint) throws SerializerException {
  1091.         return this.objToXml(IdTraccia.class, idTraccia, prettyPrint).toString();
  1092.     }
  1093.    
  1094.    
  1095.    
  1096.     /*
  1097.      =================================================================================
  1098.      Object: dominio-id-traccia
  1099.      =================================================================================
  1100.     */
  1101.    
  1102.     /**
  1103.      * Serialize to file system in <var>fileName</var> the object <var>dominioIdTraccia</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTraccia}
  1104.      *
  1105.      * @param fileName Xml file to serialize the object <var>dominioIdTraccia</var>
  1106.      * @param dominioIdTraccia Object to be serialized in xml file <var>fileName</var>
  1107.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1108.      */
  1109.     public void write(String fileName,DominioIdTraccia dominioIdTraccia) throws SerializerException {
  1110.         this.objToXml(fileName, DominioIdTraccia.class, dominioIdTraccia, false);
  1111.     }
  1112.     /**
  1113.      * Serialize to file system in <var>fileName</var> the object <var>dominioIdTraccia</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTraccia}
  1114.      *
  1115.      * @param fileName Xml file to serialize the object <var>dominioIdTraccia</var>
  1116.      * @param dominioIdTraccia Object to be serialized in xml file <var>fileName</var>
  1117.      * @param prettyPrint if true output the XML with indenting
  1118.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1119.      */
  1120.     public void write(String fileName,DominioIdTraccia dominioIdTraccia,boolean prettyPrint) throws SerializerException {
  1121.         this.objToXml(fileName, DominioIdTraccia.class, dominioIdTraccia, prettyPrint);
  1122.     }
  1123.    
  1124.     /**
  1125.      * Serialize to file system in <var>file</var> the object <var>dominioIdTraccia</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTraccia}
  1126.      *
  1127.      * @param file Xml file to serialize the object <var>dominioIdTraccia</var>
  1128.      * @param dominioIdTraccia Object to be serialized in xml file <var>fileName</var>
  1129.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1130.      */
  1131.     public void write(File file,DominioIdTraccia dominioIdTraccia) throws SerializerException {
  1132.         this.objToXml(file, DominioIdTraccia.class, dominioIdTraccia, false);
  1133.     }
  1134.     /**
  1135.      * Serialize to file system in <var>file</var> the object <var>dominioIdTraccia</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTraccia}
  1136.      *
  1137.      * @param file Xml file to serialize the object <var>dominioIdTraccia</var>
  1138.      * @param dominioIdTraccia Object to be serialized in xml file <var>fileName</var>
  1139.      * @param prettyPrint if true output the XML with indenting
  1140.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1141.      */
  1142.     public void write(File file,DominioIdTraccia dominioIdTraccia,boolean prettyPrint) throws SerializerException {
  1143.         this.objToXml(file, DominioIdTraccia.class, dominioIdTraccia, prettyPrint);
  1144.     }
  1145.    
  1146.     /**
  1147.      * Serialize to output stream <var>out</var> the object <var>dominioIdTraccia</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTraccia}
  1148.      *
  1149.      * @param out OutputStream to serialize the object <var>dominioIdTraccia</var>
  1150.      * @param dominioIdTraccia Object to be serialized in xml file <var>fileName</var>
  1151.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1152.      */
  1153.     public void write(OutputStream out,DominioIdTraccia dominioIdTraccia) throws SerializerException {
  1154.         this.objToXml(out, DominioIdTraccia.class, dominioIdTraccia, false);
  1155.     }
  1156.     /**
  1157.      * Serialize to output stream <var>out</var> the object <var>dominioIdTraccia</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTraccia}
  1158.      *
  1159.      * @param out OutputStream to serialize the object <var>dominioIdTraccia</var>
  1160.      * @param dominioIdTraccia Object to be serialized in xml file <var>fileName</var>
  1161.      * @param prettyPrint if true output the XML with indenting
  1162.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1163.      */
  1164.     public void write(OutputStream out,DominioIdTraccia dominioIdTraccia,boolean prettyPrint) throws SerializerException {
  1165.         this.objToXml(out, DominioIdTraccia.class, dominioIdTraccia, prettyPrint);
  1166.     }
  1167.            
  1168.     /**
  1169.      * Serialize to byte array the object <var>dominioIdTraccia</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTraccia}
  1170.      *
  1171.      * @param dominioIdTraccia Object to be serialized
  1172.      * @return Object to be serialized in byte array
  1173.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1174.      */
  1175.     public byte[] toByteArray(DominioIdTraccia dominioIdTraccia) throws SerializerException {
  1176.         return this.objToXml(DominioIdTraccia.class, dominioIdTraccia, false).toByteArray();
  1177.     }
  1178.     /**
  1179.      * Serialize to byte array the object <var>dominioIdTraccia</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTraccia}
  1180.      *
  1181.      * @param dominioIdTraccia Object to be serialized
  1182.      * @param prettyPrint if true output the XML with indenting
  1183.      * @return Object to be serialized in byte array
  1184.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1185.      */
  1186.     public byte[] toByteArray(DominioIdTraccia dominioIdTraccia,boolean prettyPrint) throws SerializerException {
  1187.         return this.objToXml(DominioIdTraccia.class, dominioIdTraccia, prettyPrint).toByteArray();
  1188.     }
  1189.    
  1190.     /**
  1191.      * Serialize to String the object <var>dominioIdTraccia</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTraccia}
  1192.      *
  1193.      * @param dominioIdTraccia Object to be serialized
  1194.      * @return Object to be serialized as String
  1195.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1196.      */
  1197.     public String toString(DominioIdTraccia dominioIdTraccia) throws SerializerException {
  1198.         return this.objToXml(DominioIdTraccia.class, dominioIdTraccia, false).toString();
  1199.     }
  1200.     /**
  1201.      * Serialize to String the object <var>dominioIdTraccia</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTraccia}
  1202.      *
  1203.      * @param dominioIdTraccia Object to be serialized
  1204.      * @param prettyPrint if true output the XML with indenting
  1205.      * @return Object to be serialized as String
  1206.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1207.      */
  1208.     public String toString(DominioIdTraccia dominioIdTraccia,boolean prettyPrint) throws SerializerException {
  1209.         return this.objToXml(DominioIdTraccia.class, dominioIdTraccia, prettyPrint).toString();
  1210.     }
  1211.    
  1212.    
  1213.    
  1214.     /*
  1215.      =================================================================================
  1216.      Object: allegato
  1217.      =================================================================================
  1218.     */
  1219.    
  1220.     /**
  1221.      * Serialize to file system in <var>fileName</var> the object <var>allegato</var> of type {@link org.openspcoop2.core.tracciamento.Allegato}
  1222.      *
  1223.      * @param fileName Xml file to serialize the object <var>allegato</var>
  1224.      * @param allegato Object to be serialized in xml file <var>fileName</var>
  1225.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1226.      */
  1227.     public void write(String fileName,Allegato allegato) throws SerializerException {
  1228.         this.objToXml(fileName, Allegato.class, allegato, false);
  1229.     }
  1230.     /**
  1231.      * Serialize to file system in <var>fileName</var> the object <var>allegato</var> of type {@link org.openspcoop2.core.tracciamento.Allegato}
  1232.      *
  1233.      * @param fileName Xml file to serialize the object <var>allegato</var>
  1234.      * @param allegato Object to be serialized in xml file <var>fileName</var>
  1235.      * @param prettyPrint if true output the XML with indenting
  1236.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1237.      */
  1238.     public void write(String fileName,Allegato allegato,boolean prettyPrint) throws SerializerException {
  1239.         this.objToXml(fileName, Allegato.class, allegato, prettyPrint);
  1240.     }
  1241.    
  1242.     /**
  1243.      * Serialize to file system in <var>file</var> the object <var>allegato</var> of type {@link org.openspcoop2.core.tracciamento.Allegato}
  1244.      *
  1245.      * @param file Xml file to serialize the object <var>allegato</var>
  1246.      * @param allegato Object to be serialized in xml file <var>fileName</var>
  1247.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1248.      */
  1249.     public void write(File file,Allegato allegato) throws SerializerException {
  1250.         this.objToXml(file, Allegato.class, allegato, false);
  1251.     }
  1252.     /**
  1253.      * Serialize to file system in <var>file</var> the object <var>allegato</var> of type {@link org.openspcoop2.core.tracciamento.Allegato}
  1254.      *
  1255.      * @param file Xml file to serialize the object <var>allegato</var>
  1256.      * @param allegato Object to be serialized in xml file <var>fileName</var>
  1257.      * @param prettyPrint if true output the XML with indenting
  1258.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1259.      */
  1260.     public void write(File file,Allegato allegato,boolean prettyPrint) throws SerializerException {
  1261.         this.objToXml(file, Allegato.class, allegato, prettyPrint);
  1262.     }
  1263.    
  1264.     /**
  1265.      * Serialize to output stream <var>out</var> the object <var>allegato</var> of type {@link org.openspcoop2.core.tracciamento.Allegato}
  1266.      *
  1267.      * @param out OutputStream to serialize the object <var>allegato</var>
  1268.      * @param allegato Object to be serialized in xml file <var>fileName</var>
  1269.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1270.      */
  1271.     public void write(OutputStream out,Allegato allegato) throws SerializerException {
  1272.         this.objToXml(out, Allegato.class, allegato, false);
  1273.     }
  1274.     /**
  1275.      * Serialize to output stream <var>out</var> the object <var>allegato</var> of type {@link org.openspcoop2.core.tracciamento.Allegato}
  1276.      *
  1277.      * @param out OutputStream to serialize the object <var>allegato</var>
  1278.      * @param allegato Object to be serialized in xml file <var>fileName</var>
  1279.      * @param prettyPrint if true output the XML with indenting
  1280.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1281.      */
  1282.     public void write(OutputStream out,Allegato allegato,boolean prettyPrint) throws SerializerException {
  1283.         this.objToXml(out, Allegato.class, allegato, prettyPrint);
  1284.     }
  1285.            
  1286.     /**
  1287.      * Serialize to byte array the object <var>allegato</var> of type {@link org.openspcoop2.core.tracciamento.Allegato}
  1288.      *
  1289.      * @param allegato Object to be serialized
  1290.      * @return Object to be serialized in byte array
  1291.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1292.      */
  1293.     public byte[] toByteArray(Allegato allegato) throws SerializerException {
  1294.         return this.objToXml(Allegato.class, allegato, false).toByteArray();
  1295.     }
  1296.     /**
  1297.      * Serialize to byte array the object <var>allegato</var> of type {@link org.openspcoop2.core.tracciamento.Allegato}
  1298.      *
  1299.      * @param allegato Object to be serialized
  1300.      * @param prettyPrint if true output the XML with indenting
  1301.      * @return Object to be serialized in byte array
  1302.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1303.      */
  1304.     public byte[] toByteArray(Allegato allegato,boolean prettyPrint) throws SerializerException {
  1305.         return this.objToXml(Allegato.class, allegato, prettyPrint).toByteArray();
  1306.     }
  1307.    
  1308.     /**
  1309.      * Serialize to String the object <var>allegato</var> of type {@link org.openspcoop2.core.tracciamento.Allegato}
  1310.      *
  1311.      * @param allegato Object to be serialized
  1312.      * @return Object to be serialized as String
  1313.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1314.      */
  1315.     public String toString(Allegato allegato) throws SerializerException {
  1316.         return this.objToXml(Allegato.class, allegato, false).toString();
  1317.     }
  1318.     /**
  1319.      * Serialize to String the object <var>allegato</var> of type {@link org.openspcoop2.core.tracciamento.Allegato}
  1320.      *
  1321.      * @param allegato Object to be serialized
  1322.      * @param prettyPrint if true output the XML with indenting
  1323.      * @return Object to be serialized as String
  1324.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1325.      */
  1326.     public String toString(Allegato allegato,boolean prettyPrint) throws SerializerException {
  1327.         return this.objToXml(Allegato.class, allegato, prettyPrint).toString();
  1328.     }
  1329.    
  1330.    
  1331.    
  1332.     /*
  1333.      =================================================================================
  1334.      Object: soggetto
  1335.      =================================================================================
  1336.     */
  1337.    
  1338.     /**
  1339.      * Serialize to file system in <var>fileName</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.tracciamento.Soggetto}
  1340.      *
  1341.      * @param fileName Xml file to serialize the object <var>soggetto</var>
  1342.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  1343.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1344.      */
  1345.     public void write(String fileName,Soggetto soggetto) throws SerializerException {
  1346.         this.objToXml(fileName, Soggetto.class, soggetto, false);
  1347.     }
  1348.     /**
  1349.      * Serialize to file system in <var>fileName</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.tracciamento.Soggetto}
  1350.      *
  1351.      * @param fileName Xml file to serialize the object <var>soggetto</var>
  1352.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  1353.      * @param prettyPrint if true output the XML with indenting
  1354.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1355.      */
  1356.     public void write(String fileName,Soggetto soggetto,boolean prettyPrint) throws SerializerException {
  1357.         this.objToXml(fileName, Soggetto.class, soggetto, prettyPrint);
  1358.     }
  1359.    
  1360.     /**
  1361.      * Serialize to file system in <var>file</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.tracciamento.Soggetto}
  1362.      *
  1363.      * @param file Xml file to serialize the object <var>soggetto</var>
  1364.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  1365.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1366.      */
  1367.     public void write(File file,Soggetto soggetto) throws SerializerException {
  1368.         this.objToXml(file, Soggetto.class, soggetto, false);
  1369.     }
  1370.     /**
  1371.      * Serialize to file system in <var>file</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.tracciamento.Soggetto}
  1372.      *
  1373.      * @param file Xml file to serialize the object <var>soggetto</var>
  1374.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  1375.      * @param prettyPrint if true output the XML with indenting
  1376.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1377.      */
  1378.     public void write(File file,Soggetto soggetto,boolean prettyPrint) throws SerializerException {
  1379.         this.objToXml(file, Soggetto.class, soggetto, prettyPrint);
  1380.     }
  1381.    
  1382.     /**
  1383.      * Serialize to output stream <var>out</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.tracciamento.Soggetto}
  1384.      *
  1385.      * @param out OutputStream to serialize the object <var>soggetto</var>
  1386.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  1387.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1388.      */
  1389.     public void write(OutputStream out,Soggetto soggetto) throws SerializerException {
  1390.         this.objToXml(out, Soggetto.class, soggetto, false);
  1391.     }
  1392.     /**
  1393.      * Serialize to output stream <var>out</var> the object <var>soggetto</var> of type {@link org.openspcoop2.core.tracciamento.Soggetto}
  1394.      *
  1395.      * @param out OutputStream to serialize the object <var>soggetto</var>
  1396.      * @param soggetto Object to be serialized in xml file <var>fileName</var>
  1397.      * @param prettyPrint if true output the XML with indenting
  1398.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1399.      */
  1400.     public void write(OutputStream out,Soggetto soggetto,boolean prettyPrint) throws SerializerException {
  1401.         this.objToXml(out, Soggetto.class, soggetto, prettyPrint);
  1402.     }
  1403.            
  1404.     /**
  1405.      * Serialize to byte array the object <var>soggetto</var> of type {@link org.openspcoop2.core.tracciamento.Soggetto}
  1406.      *
  1407.      * @param soggetto Object to be serialized
  1408.      * @return Object to be serialized in byte array
  1409.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1410.      */
  1411.     public byte[] toByteArray(Soggetto soggetto) throws SerializerException {
  1412.         return this.objToXml(Soggetto.class, soggetto, false).toByteArray();
  1413.     }
  1414.     /**
  1415.      * Serialize to byte array the object <var>soggetto</var> of type {@link org.openspcoop2.core.tracciamento.Soggetto}
  1416.      *
  1417.      * @param soggetto Object to be serialized
  1418.      * @param prettyPrint if true output the XML with indenting
  1419.      * @return Object to be serialized in byte array
  1420.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1421.      */
  1422.     public byte[] toByteArray(Soggetto soggetto,boolean prettyPrint) throws SerializerException {
  1423.         return this.objToXml(Soggetto.class, soggetto, prettyPrint).toByteArray();
  1424.     }
  1425.    
  1426.     /**
  1427.      * Serialize to String the object <var>soggetto</var> of type {@link org.openspcoop2.core.tracciamento.Soggetto}
  1428.      *
  1429.      * @param soggetto Object to be serialized
  1430.      * @return Object to be serialized as String
  1431.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1432.      */
  1433.     public String toString(Soggetto soggetto) throws SerializerException {
  1434.         return this.objToXml(Soggetto.class, soggetto, false).toString();
  1435.     }
  1436.     /**
  1437.      * Serialize to String the object <var>soggetto</var> of type {@link org.openspcoop2.core.tracciamento.Soggetto}
  1438.      *
  1439.      * @param soggetto Object to be serialized
  1440.      * @param prettyPrint if true output the XML with indenting
  1441.      * @return Object to be serialized as String
  1442.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1443.      */
  1444.     public String toString(Soggetto soggetto,boolean prettyPrint) throws SerializerException {
  1445.         return this.objToXml(Soggetto.class, soggetto, prettyPrint).toString();
  1446.     }
  1447.    
  1448.    
  1449.    
  1450.     /*
  1451.      =================================================================================
  1452.      Object: profilo-collaborazione
  1453.      =================================================================================
  1454.     */
  1455.    
  1456.     /**
  1457.      * Serialize to file system in <var>fileName</var> the object <var>profiloCollaborazione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloCollaborazione}
  1458.      *
  1459.      * @param fileName Xml file to serialize the object <var>profiloCollaborazione</var>
  1460.      * @param profiloCollaborazione Object to be serialized in xml file <var>fileName</var>
  1461.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1462.      */
  1463.     public void write(String fileName,ProfiloCollaborazione profiloCollaborazione) throws SerializerException {
  1464.         this.objToXml(fileName, ProfiloCollaborazione.class, profiloCollaborazione, false);
  1465.     }
  1466.     /**
  1467.      * Serialize to file system in <var>fileName</var> the object <var>profiloCollaborazione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloCollaborazione}
  1468.      *
  1469.      * @param fileName Xml file to serialize the object <var>profiloCollaborazione</var>
  1470.      * @param profiloCollaborazione Object to be serialized in xml file <var>fileName</var>
  1471.      * @param prettyPrint if true output the XML with indenting
  1472.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1473.      */
  1474.     public void write(String fileName,ProfiloCollaborazione profiloCollaborazione,boolean prettyPrint) throws SerializerException {
  1475.         this.objToXml(fileName, ProfiloCollaborazione.class, profiloCollaborazione, prettyPrint);
  1476.     }
  1477.    
  1478.     /**
  1479.      * Serialize to file system in <var>file</var> the object <var>profiloCollaborazione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloCollaborazione}
  1480.      *
  1481.      * @param file Xml file to serialize the object <var>profiloCollaborazione</var>
  1482.      * @param profiloCollaborazione Object to be serialized in xml file <var>fileName</var>
  1483.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1484.      */
  1485.     public void write(File file,ProfiloCollaborazione profiloCollaborazione) throws SerializerException {
  1486.         this.objToXml(file, ProfiloCollaborazione.class, profiloCollaborazione, false);
  1487.     }
  1488.     /**
  1489.      * Serialize to file system in <var>file</var> the object <var>profiloCollaborazione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloCollaborazione}
  1490.      *
  1491.      * @param file Xml file to serialize the object <var>profiloCollaborazione</var>
  1492.      * @param profiloCollaborazione Object to be serialized in xml file <var>fileName</var>
  1493.      * @param prettyPrint if true output the XML with indenting
  1494.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1495.      */
  1496.     public void write(File file,ProfiloCollaborazione profiloCollaborazione,boolean prettyPrint) throws SerializerException {
  1497.         this.objToXml(file, ProfiloCollaborazione.class, profiloCollaborazione, prettyPrint);
  1498.     }
  1499.    
  1500.     /**
  1501.      * Serialize to output stream <var>out</var> the object <var>profiloCollaborazione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloCollaborazione}
  1502.      *
  1503.      * @param out OutputStream to serialize the object <var>profiloCollaborazione</var>
  1504.      * @param profiloCollaborazione Object to be serialized in xml file <var>fileName</var>
  1505.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1506.      */
  1507.     public void write(OutputStream out,ProfiloCollaborazione profiloCollaborazione) throws SerializerException {
  1508.         this.objToXml(out, ProfiloCollaborazione.class, profiloCollaborazione, false);
  1509.     }
  1510.     /**
  1511.      * Serialize to output stream <var>out</var> the object <var>profiloCollaborazione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloCollaborazione}
  1512.      *
  1513.      * @param out OutputStream to serialize the object <var>profiloCollaborazione</var>
  1514.      * @param profiloCollaborazione Object to be serialized in xml file <var>fileName</var>
  1515.      * @param prettyPrint if true output the XML with indenting
  1516.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1517.      */
  1518.     public void write(OutputStream out,ProfiloCollaborazione profiloCollaborazione,boolean prettyPrint) throws SerializerException {
  1519.         this.objToXml(out, ProfiloCollaborazione.class, profiloCollaborazione, prettyPrint);
  1520.     }
  1521.            
  1522.     /**
  1523.      * Serialize to byte array the object <var>profiloCollaborazione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloCollaborazione}
  1524.      *
  1525.      * @param profiloCollaborazione Object to be serialized
  1526.      * @return Object to be serialized in byte array
  1527.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1528.      */
  1529.     public byte[] toByteArray(ProfiloCollaborazione profiloCollaborazione) throws SerializerException {
  1530.         return this.objToXml(ProfiloCollaborazione.class, profiloCollaborazione, false).toByteArray();
  1531.     }
  1532.     /**
  1533.      * Serialize to byte array the object <var>profiloCollaborazione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloCollaborazione}
  1534.      *
  1535.      * @param profiloCollaborazione Object to be serialized
  1536.      * @param prettyPrint if true output the XML with indenting
  1537.      * @return Object to be serialized in byte array
  1538.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1539.      */
  1540.     public byte[] toByteArray(ProfiloCollaborazione profiloCollaborazione,boolean prettyPrint) throws SerializerException {
  1541.         return this.objToXml(ProfiloCollaborazione.class, profiloCollaborazione, prettyPrint).toByteArray();
  1542.     }
  1543.    
  1544.     /**
  1545.      * Serialize to String the object <var>profiloCollaborazione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloCollaborazione}
  1546.      *
  1547.      * @param profiloCollaborazione Object to be serialized
  1548.      * @return Object to be serialized as String
  1549.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1550.      */
  1551.     public String toString(ProfiloCollaborazione profiloCollaborazione) throws SerializerException {
  1552.         return this.objToXml(ProfiloCollaborazione.class, profiloCollaborazione, false).toString();
  1553.     }
  1554.     /**
  1555.      * Serialize to String the object <var>profiloCollaborazione</var> of type {@link org.openspcoop2.core.tracciamento.ProfiloCollaborazione}
  1556.      *
  1557.      * @param profiloCollaborazione Object to be serialized
  1558.      * @param prettyPrint if true output the XML with indenting
  1559.      * @return Object to be serialized as String
  1560.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1561.      */
  1562.     public String toString(ProfiloCollaborazione profiloCollaborazione,boolean prettyPrint) throws SerializerException {
  1563.         return this.objToXml(ProfiloCollaborazione.class, profiloCollaborazione, prettyPrint).toString();
  1564.     }
  1565.    
  1566.    
  1567.    
  1568.     /*
  1569.      =================================================================================
  1570.      Object: servizio
  1571.      =================================================================================
  1572.     */
  1573.    
  1574.     /**
  1575.      * Serialize to file system in <var>fileName</var> the object <var>servizio</var> of type {@link org.openspcoop2.core.tracciamento.Servizio}
  1576.      *
  1577.      * @param fileName Xml file to serialize the object <var>servizio</var>
  1578.      * @param servizio Object to be serialized in xml file <var>fileName</var>
  1579.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1580.      */
  1581.     public void write(String fileName,Servizio servizio) throws SerializerException {
  1582.         this.objToXml(fileName, Servizio.class, servizio, false);
  1583.     }
  1584.     /**
  1585.      * Serialize to file system in <var>fileName</var> the object <var>servizio</var> of type {@link org.openspcoop2.core.tracciamento.Servizio}
  1586.      *
  1587.      * @param fileName Xml file to serialize the object <var>servizio</var>
  1588.      * @param servizio Object to be serialized in xml file <var>fileName</var>
  1589.      * @param prettyPrint if true output the XML with indenting
  1590.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1591.      */
  1592.     public void write(String fileName,Servizio servizio,boolean prettyPrint) throws SerializerException {
  1593.         this.objToXml(fileName, Servizio.class, servizio, prettyPrint);
  1594.     }
  1595.    
  1596.     /**
  1597.      * Serialize to file system in <var>file</var> the object <var>servizio</var> of type {@link org.openspcoop2.core.tracciamento.Servizio}
  1598.      *
  1599.      * @param file Xml file to serialize the object <var>servizio</var>
  1600.      * @param servizio Object to be serialized in xml file <var>fileName</var>
  1601.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1602.      */
  1603.     public void write(File file,Servizio servizio) throws SerializerException {
  1604.         this.objToXml(file, Servizio.class, servizio, false);
  1605.     }
  1606.     /**
  1607.      * Serialize to file system in <var>file</var> the object <var>servizio</var> of type {@link org.openspcoop2.core.tracciamento.Servizio}
  1608.      *
  1609.      * @param file Xml file to serialize the object <var>servizio</var>
  1610.      * @param servizio Object to be serialized in xml file <var>fileName</var>
  1611.      * @param prettyPrint if true output the XML with indenting
  1612.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1613.      */
  1614.     public void write(File file,Servizio servizio,boolean prettyPrint) throws SerializerException {
  1615.         this.objToXml(file, Servizio.class, servizio, prettyPrint);
  1616.     }
  1617.    
  1618.     /**
  1619.      * Serialize to output stream <var>out</var> the object <var>servizio</var> of type {@link org.openspcoop2.core.tracciamento.Servizio}
  1620.      *
  1621.      * @param out OutputStream to serialize the object <var>servizio</var>
  1622.      * @param servizio Object to be serialized in xml file <var>fileName</var>
  1623.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1624.      */
  1625.     public void write(OutputStream out,Servizio servizio) throws SerializerException {
  1626.         this.objToXml(out, Servizio.class, servizio, false);
  1627.     }
  1628.     /**
  1629.      * Serialize to output stream <var>out</var> the object <var>servizio</var> of type {@link org.openspcoop2.core.tracciamento.Servizio}
  1630.      *
  1631.      * @param out OutputStream to serialize the object <var>servizio</var>
  1632.      * @param servizio Object to be serialized in xml file <var>fileName</var>
  1633.      * @param prettyPrint if true output the XML with indenting
  1634.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1635.      */
  1636.     public void write(OutputStream out,Servizio servizio,boolean prettyPrint) throws SerializerException {
  1637.         this.objToXml(out, Servizio.class, servizio, prettyPrint);
  1638.     }
  1639.            
  1640.     /**
  1641.      * Serialize to byte array the object <var>servizio</var> of type {@link org.openspcoop2.core.tracciamento.Servizio}
  1642.      *
  1643.      * @param servizio Object to be serialized
  1644.      * @return Object to be serialized in byte array
  1645.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1646.      */
  1647.     public byte[] toByteArray(Servizio servizio) throws SerializerException {
  1648.         return this.objToXml(Servizio.class, servizio, false).toByteArray();
  1649.     }
  1650.     /**
  1651.      * Serialize to byte array the object <var>servizio</var> of type {@link org.openspcoop2.core.tracciamento.Servizio}
  1652.      *
  1653.      * @param servizio Object to be serialized
  1654.      * @param prettyPrint if true output the XML with indenting
  1655.      * @return Object to be serialized in byte array
  1656.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1657.      */
  1658.     public byte[] toByteArray(Servizio servizio,boolean prettyPrint) throws SerializerException {
  1659.         return this.objToXml(Servizio.class, servizio, prettyPrint).toByteArray();
  1660.     }
  1661.    
  1662.     /**
  1663.      * Serialize to String the object <var>servizio</var> of type {@link org.openspcoop2.core.tracciamento.Servizio}
  1664.      *
  1665.      * @param servizio Object to be serialized
  1666.      * @return Object to be serialized as String
  1667.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1668.      */
  1669.     public String toString(Servizio servizio) throws SerializerException {
  1670.         return this.objToXml(Servizio.class, servizio, false).toString();
  1671.     }
  1672.     /**
  1673.      * Serialize to String the object <var>servizio</var> of type {@link org.openspcoop2.core.tracciamento.Servizio}
  1674.      *
  1675.      * @param servizio Object to be serialized
  1676.      * @param prettyPrint if true output the XML with indenting
  1677.      * @return Object to be serialized as String
  1678.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1679.      */
  1680.     public String toString(Servizio servizio,boolean prettyPrint) throws SerializerException {
  1681.         return this.objToXml(Servizio.class, servizio, prettyPrint).toString();
  1682.     }
  1683.    
  1684.    
  1685.    
  1686.     /*
  1687.      =================================================================================
  1688.      Object: data
  1689.      =================================================================================
  1690.     */
  1691.    
  1692.     /**
  1693.      * Serialize to file system in <var>fileName</var> the object <var>data</var> of type {@link org.openspcoop2.core.tracciamento.Data}
  1694.      *
  1695.      * @param fileName Xml file to serialize the object <var>data</var>
  1696.      * @param data Object to be serialized in xml file <var>fileName</var>
  1697.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1698.      */
  1699.     public void write(String fileName,Data data) throws SerializerException {
  1700.         this.objToXml(fileName, Data.class, data, false);
  1701.     }
  1702.     /**
  1703.      * Serialize to file system in <var>fileName</var> the object <var>data</var> of type {@link org.openspcoop2.core.tracciamento.Data}
  1704.      *
  1705.      * @param fileName Xml file to serialize the object <var>data</var>
  1706.      * @param data Object to be serialized in xml file <var>fileName</var>
  1707.      * @param prettyPrint if true output the XML with indenting
  1708.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1709.      */
  1710.     public void write(String fileName,Data data,boolean prettyPrint) throws SerializerException {
  1711.         this.objToXml(fileName, Data.class, data, prettyPrint);
  1712.     }
  1713.    
  1714.     /**
  1715.      * Serialize to file system in <var>file</var> the object <var>data</var> of type {@link org.openspcoop2.core.tracciamento.Data}
  1716.      *
  1717.      * @param file Xml file to serialize the object <var>data</var>
  1718.      * @param data Object to be serialized in xml file <var>fileName</var>
  1719.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1720.      */
  1721.     public void write(File file,Data data) throws SerializerException {
  1722.         this.objToXml(file, Data.class, data, false);
  1723.     }
  1724.     /**
  1725.      * Serialize to file system in <var>file</var> the object <var>data</var> of type {@link org.openspcoop2.core.tracciamento.Data}
  1726.      *
  1727.      * @param file Xml file to serialize the object <var>data</var>
  1728.      * @param data Object to be serialized in xml file <var>fileName</var>
  1729.      * @param prettyPrint if true output the XML with indenting
  1730.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1731.      */
  1732.     public void write(File file,Data data,boolean prettyPrint) throws SerializerException {
  1733.         this.objToXml(file, Data.class, data, prettyPrint);
  1734.     }
  1735.    
  1736.     /**
  1737.      * Serialize to output stream <var>out</var> the object <var>data</var> of type {@link org.openspcoop2.core.tracciamento.Data}
  1738.      *
  1739.      * @param out OutputStream to serialize the object <var>data</var>
  1740.      * @param data Object to be serialized in xml file <var>fileName</var>
  1741.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1742.      */
  1743.     public void write(OutputStream out,Data data) throws SerializerException {
  1744.         this.objToXml(out, Data.class, data, false);
  1745.     }
  1746.     /**
  1747.      * Serialize to output stream <var>out</var> the object <var>data</var> of type {@link org.openspcoop2.core.tracciamento.Data}
  1748.      *
  1749.      * @param out OutputStream to serialize the object <var>data</var>
  1750.      * @param data Object to be serialized in xml file <var>fileName</var>
  1751.      * @param prettyPrint if true output the XML with indenting
  1752.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1753.      */
  1754.     public void write(OutputStream out,Data data,boolean prettyPrint) throws SerializerException {
  1755.         this.objToXml(out, Data.class, data, prettyPrint);
  1756.     }
  1757.            
  1758.     /**
  1759.      * Serialize to byte array the object <var>data</var> of type {@link org.openspcoop2.core.tracciamento.Data}
  1760.      *
  1761.      * @param data Object to be serialized
  1762.      * @return Object to be serialized in byte array
  1763.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1764.      */
  1765.     public byte[] toByteArray(Data data) throws SerializerException {
  1766.         return this.objToXml(Data.class, data, false).toByteArray();
  1767.     }
  1768.     /**
  1769.      * Serialize to byte array the object <var>data</var> of type {@link org.openspcoop2.core.tracciamento.Data}
  1770.      *
  1771.      * @param data Object to be serialized
  1772.      * @param prettyPrint if true output the XML with indenting
  1773.      * @return Object to be serialized in byte array
  1774.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1775.      */
  1776.     public byte[] toByteArray(Data data,boolean prettyPrint) throws SerializerException {
  1777.         return this.objToXml(Data.class, data, prettyPrint).toByteArray();
  1778.     }
  1779.    
  1780.     /**
  1781.      * Serialize to String the object <var>data</var> of type {@link org.openspcoop2.core.tracciamento.Data}
  1782.      *
  1783.      * @param data Object to be serialized
  1784.      * @return Object to be serialized as String
  1785.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1786.      */
  1787.     public String toString(Data data) throws SerializerException {
  1788.         return this.objToXml(Data.class, data, false).toString();
  1789.     }
  1790.     /**
  1791.      * Serialize to String the object <var>data</var> of type {@link org.openspcoop2.core.tracciamento.Data}
  1792.      *
  1793.      * @param data Object to be serialized
  1794.      * @param prettyPrint if true output the XML with indenting
  1795.      * @return Object to be serialized as String
  1796.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1797.      */
  1798.     public String toString(Data data,boolean prettyPrint) throws SerializerException {
  1799.         return this.objToXml(Data.class, data, prettyPrint).toString();
  1800.     }
  1801.    
  1802.    
  1803.    
  1804.     /*
  1805.      =================================================================================
  1806.      Object: trasmissioni
  1807.      =================================================================================
  1808.     */
  1809.    
  1810.     /**
  1811.      * Serialize to file system in <var>fileName</var> the object <var>trasmissioni</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissioni}
  1812.      *
  1813.      * @param fileName Xml file to serialize the object <var>trasmissioni</var>
  1814.      * @param trasmissioni Object to be serialized in xml file <var>fileName</var>
  1815.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1816.      */
  1817.     public void write(String fileName,Trasmissioni trasmissioni) throws SerializerException {
  1818.         this.objToXml(fileName, Trasmissioni.class, trasmissioni, false);
  1819.     }
  1820.     /**
  1821.      * Serialize to file system in <var>fileName</var> the object <var>trasmissioni</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissioni}
  1822.      *
  1823.      * @param fileName Xml file to serialize the object <var>trasmissioni</var>
  1824.      * @param trasmissioni Object to be serialized in xml file <var>fileName</var>
  1825.      * @param prettyPrint if true output the XML with indenting
  1826.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1827.      */
  1828.     public void write(String fileName,Trasmissioni trasmissioni,boolean prettyPrint) throws SerializerException {
  1829.         this.objToXml(fileName, Trasmissioni.class, trasmissioni, prettyPrint);
  1830.     }
  1831.    
  1832.     /**
  1833.      * Serialize to file system in <var>file</var> the object <var>trasmissioni</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissioni}
  1834.      *
  1835.      * @param file Xml file to serialize the object <var>trasmissioni</var>
  1836.      * @param trasmissioni Object to be serialized in xml file <var>fileName</var>
  1837.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1838.      */
  1839.     public void write(File file,Trasmissioni trasmissioni) throws SerializerException {
  1840.         this.objToXml(file, Trasmissioni.class, trasmissioni, false);
  1841.     }
  1842.     /**
  1843.      * Serialize to file system in <var>file</var> the object <var>trasmissioni</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissioni}
  1844.      *
  1845.      * @param file Xml file to serialize the object <var>trasmissioni</var>
  1846.      * @param trasmissioni Object to be serialized in xml file <var>fileName</var>
  1847.      * @param prettyPrint if true output the XML with indenting
  1848.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1849.      */
  1850.     public void write(File file,Trasmissioni trasmissioni,boolean prettyPrint) throws SerializerException {
  1851.         this.objToXml(file, Trasmissioni.class, trasmissioni, prettyPrint);
  1852.     }
  1853.    
  1854.     /**
  1855.      * Serialize to output stream <var>out</var> the object <var>trasmissioni</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissioni}
  1856.      *
  1857.      * @param out OutputStream to serialize the object <var>trasmissioni</var>
  1858.      * @param trasmissioni Object to be serialized in xml file <var>fileName</var>
  1859.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1860.      */
  1861.     public void write(OutputStream out,Trasmissioni trasmissioni) throws SerializerException {
  1862.         this.objToXml(out, Trasmissioni.class, trasmissioni, false);
  1863.     }
  1864.     /**
  1865.      * Serialize to output stream <var>out</var> the object <var>trasmissioni</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissioni}
  1866.      *
  1867.      * @param out OutputStream to serialize the object <var>trasmissioni</var>
  1868.      * @param trasmissioni Object to be serialized in xml file <var>fileName</var>
  1869.      * @param prettyPrint if true output the XML with indenting
  1870.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1871.      */
  1872.     public void write(OutputStream out,Trasmissioni trasmissioni,boolean prettyPrint) throws SerializerException {
  1873.         this.objToXml(out, Trasmissioni.class, trasmissioni, prettyPrint);
  1874.     }
  1875.            
  1876.     /**
  1877.      * Serialize to byte array the object <var>trasmissioni</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissioni}
  1878.      *
  1879.      * @param trasmissioni Object to be serialized
  1880.      * @return Object to be serialized in byte array
  1881.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1882.      */
  1883.     public byte[] toByteArray(Trasmissioni trasmissioni) throws SerializerException {
  1884.         return this.objToXml(Trasmissioni.class, trasmissioni, false).toByteArray();
  1885.     }
  1886.     /**
  1887.      * Serialize to byte array the object <var>trasmissioni</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissioni}
  1888.      *
  1889.      * @param trasmissioni Object to be serialized
  1890.      * @param prettyPrint if true output the XML with indenting
  1891.      * @return Object to be serialized in byte array
  1892.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1893.      */
  1894.     public byte[] toByteArray(Trasmissioni trasmissioni,boolean prettyPrint) throws SerializerException {
  1895.         return this.objToXml(Trasmissioni.class, trasmissioni, prettyPrint).toByteArray();
  1896.     }
  1897.    
  1898.     /**
  1899.      * Serialize to String the object <var>trasmissioni</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissioni}
  1900.      *
  1901.      * @param trasmissioni Object to be serialized
  1902.      * @return Object to be serialized as String
  1903.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1904.      */
  1905.     public String toString(Trasmissioni trasmissioni) throws SerializerException {
  1906.         return this.objToXml(Trasmissioni.class, trasmissioni, false).toString();
  1907.     }
  1908.     /**
  1909.      * Serialize to String the object <var>trasmissioni</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissioni}
  1910.      *
  1911.      * @param trasmissioni Object to be serialized
  1912.      * @param prettyPrint if true output the XML with indenting
  1913.      * @return Object to be serialized as String
  1914.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1915.      */
  1916.     public String toString(Trasmissioni trasmissioni,boolean prettyPrint) throws SerializerException {
  1917.         return this.objToXml(Trasmissioni.class, trasmissioni, prettyPrint).toString();
  1918.     }
  1919.    
  1920.    
  1921.    
  1922.     /*
  1923.      =================================================================================
  1924.      Object: riscontri
  1925.      =================================================================================
  1926.     */
  1927.    
  1928.     /**
  1929.      * Serialize to file system in <var>fileName</var> the object <var>riscontri</var> of type {@link org.openspcoop2.core.tracciamento.Riscontri}
  1930.      *
  1931.      * @param fileName Xml file to serialize the object <var>riscontri</var>
  1932.      * @param riscontri Object to be serialized in xml file <var>fileName</var>
  1933.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1934.      */
  1935.     public void write(String fileName,Riscontri riscontri) throws SerializerException {
  1936.         this.objToXml(fileName, Riscontri.class, riscontri, false);
  1937.     }
  1938.     /**
  1939.      * Serialize to file system in <var>fileName</var> the object <var>riscontri</var> of type {@link org.openspcoop2.core.tracciamento.Riscontri}
  1940.      *
  1941.      * @param fileName Xml file to serialize the object <var>riscontri</var>
  1942.      * @param riscontri Object to be serialized in xml file <var>fileName</var>
  1943.      * @param prettyPrint if true output the XML with indenting
  1944.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1945.      */
  1946.     public void write(String fileName,Riscontri riscontri,boolean prettyPrint) throws SerializerException {
  1947.         this.objToXml(fileName, Riscontri.class, riscontri, prettyPrint);
  1948.     }
  1949.    
  1950.     /**
  1951.      * Serialize to file system in <var>file</var> the object <var>riscontri</var> of type {@link org.openspcoop2.core.tracciamento.Riscontri}
  1952.      *
  1953.      * @param file Xml file to serialize the object <var>riscontri</var>
  1954.      * @param riscontri Object to be serialized in xml file <var>fileName</var>
  1955.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1956.      */
  1957.     public void write(File file,Riscontri riscontri) throws SerializerException {
  1958.         this.objToXml(file, Riscontri.class, riscontri, false);
  1959.     }
  1960.     /**
  1961.      * Serialize to file system in <var>file</var> the object <var>riscontri</var> of type {@link org.openspcoop2.core.tracciamento.Riscontri}
  1962.      *
  1963.      * @param file Xml file to serialize the object <var>riscontri</var>
  1964.      * @param riscontri Object to be serialized in xml file <var>fileName</var>
  1965.      * @param prettyPrint if true output the XML with indenting
  1966.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1967.      */
  1968.     public void write(File file,Riscontri riscontri,boolean prettyPrint) throws SerializerException {
  1969.         this.objToXml(file, Riscontri.class, riscontri, prettyPrint);
  1970.     }
  1971.    
  1972.     /**
  1973.      * Serialize to output stream <var>out</var> the object <var>riscontri</var> of type {@link org.openspcoop2.core.tracciamento.Riscontri}
  1974.      *
  1975.      * @param out OutputStream to serialize the object <var>riscontri</var>
  1976.      * @param riscontri Object to be serialized in xml file <var>fileName</var>
  1977.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1978.      */
  1979.     public void write(OutputStream out,Riscontri riscontri) throws SerializerException {
  1980.         this.objToXml(out, Riscontri.class, riscontri, false);
  1981.     }
  1982.     /**
  1983.      * Serialize to output stream <var>out</var> the object <var>riscontri</var> of type {@link org.openspcoop2.core.tracciamento.Riscontri}
  1984.      *
  1985.      * @param out OutputStream to serialize the object <var>riscontri</var>
  1986.      * @param riscontri Object to be serialized in xml file <var>fileName</var>
  1987.      * @param prettyPrint if true output the XML with indenting
  1988.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1989.      */
  1990.     public void write(OutputStream out,Riscontri riscontri,boolean prettyPrint) throws SerializerException {
  1991.         this.objToXml(out, Riscontri.class, riscontri, prettyPrint);
  1992.     }
  1993.            
  1994.     /**
  1995.      * Serialize to byte array the object <var>riscontri</var> of type {@link org.openspcoop2.core.tracciamento.Riscontri}
  1996.      *
  1997.      * @param riscontri Object to be serialized
  1998.      * @return Object to be serialized in byte array
  1999.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2000.      */
  2001.     public byte[] toByteArray(Riscontri riscontri) throws SerializerException {
  2002.         return this.objToXml(Riscontri.class, riscontri, false).toByteArray();
  2003.     }
  2004.     /**
  2005.      * Serialize to byte array the object <var>riscontri</var> of type {@link org.openspcoop2.core.tracciamento.Riscontri}
  2006.      *
  2007.      * @param riscontri Object to be serialized
  2008.      * @param prettyPrint if true output the XML with indenting
  2009.      * @return Object to be serialized in byte array
  2010.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2011.      */
  2012.     public byte[] toByteArray(Riscontri riscontri,boolean prettyPrint) throws SerializerException {
  2013.         return this.objToXml(Riscontri.class, riscontri, prettyPrint).toByteArray();
  2014.     }
  2015.    
  2016.     /**
  2017.      * Serialize to String the object <var>riscontri</var> of type {@link org.openspcoop2.core.tracciamento.Riscontri}
  2018.      *
  2019.      * @param riscontri Object to be serialized
  2020.      * @return Object to be serialized as String
  2021.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2022.      */
  2023.     public String toString(Riscontri riscontri) throws SerializerException {
  2024.         return this.objToXml(Riscontri.class, riscontri, false).toString();
  2025.     }
  2026.     /**
  2027.      * Serialize to String the object <var>riscontri</var> of type {@link org.openspcoop2.core.tracciamento.Riscontri}
  2028.      *
  2029.      * @param riscontri Object to be serialized
  2030.      * @param prettyPrint if true output the XML with indenting
  2031.      * @return Object to be serialized as String
  2032.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2033.      */
  2034.     public String toString(Riscontri riscontri,boolean prettyPrint) throws SerializerException {
  2035.         return this.objToXml(Riscontri.class, riscontri, prettyPrint).toString();
  2036.     }
  2037.    
  2038.    
  2039.    
  2040.     /*
  2041.      =================================================================================
  2042.      Object: eccezioni
  2043.      =================================================================================
  2044.     */
  2045.    
  2046.     /**
  2047.      * Serialize to file system in <var>fileName</var> the object <var>eccezioni</var> of type {@link org.openspcoop2.core.tracciamento.Eccezioni}
  2048.      *
  2049.      * @param fileName Xml file to serialize the object <var>eccezioni</var>
  2050.      * @param eccezioni Object to be serialized in xml file <var>fileName</var>
  2051.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2052.      */
  2053.     public void write(String fileName,Eccezioni eccezioni) throws SerializerException {
  2054.         this.objToXml(fileName, Eccezioni.class, eccezioni, false);
  2055.     }
  2056.     /**
  2057.      * Serialize to file system in <var>fileName</var> the object <var>eccezioni</var> of type {@link org.openspcoop2.core.tracciamento.Eccezioni}
  2058.      *
  2059.      * @param fileName Xml file to serialize the object <var>eccezioni</var>
  2060.      * @param eccezioni Object to be serialized in xml file <var>fileName</var>
  2061.      * @param prettyPrint if true output the XML with indenting
  2062.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2063.      */
  2064.     public void write(String fileName,Eccezioni eccezioni,boolean prettyPrint) throws SerializerException {
  2065.         this.objToXml(fileName, Eccezioni.class, eccezioni, prettyPrint);
  2066.     }
  2067.    
  2068.     /**
  2069.      * Serialize to file system in <var>file</var> the object <var>eccezioni</var> of type {@link org.openspcoop2.core.tracciamento.Eccezioni}
  2070.      *
  2071.      * @param file Xml file to serialize the object <var>eccezioni</var>
  2072.      * @param eccezioni Object to be serialized in xml file <var>fileName</var>
  2073.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2074.      */
  2075.     public void write(File file,Eccezioni eccezioni) throws SerializerException {
  2076.         this.objToXml(file, Eccezioni.class, eccezioni, false);
  2077.     }
  2078.     /**
  2079.      * Serialize to file system in <var>file</var> the object <var>eccezioni</var> of type {@link org.openspcoop2.core.tracciamento.Eccezioni}
  2080.      *
  2081.      * @param file Xml file to serialize the object <var>eccezioni</var>
  2082.      * @param eccezioni Object to be serialized in xml file <var>fileName</var>
  2083.      * @param prettyPrint if true output the XML with indenting
  2084.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2085.      */
  2086.     public void write(File file,Eccezioni eccezioni,boolean prettyPrint) throws SerializerException {
  2087.         this.objToXml(file, Eccezioni.class, eccezioni, prettyPrint);
  2088.     }
  2089.    
  2090.     /**
  2091.      * Serialize to output stream <var>out</var> the object <var>eccezioni</var> of type {@link org.openspcoop2.core.tracciamento.Eccezioni}
  2092.      *
  2093.      * @param out OutputStream to serialize the object <var>eccezioni</var>
  2094.      * @param eccezioni Object to be serialized in xml file <var>fileName</var>
  2095.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2096.      */
  2097.     public void write(OutputStream out,Eccezioni eccezioni) throws SerializerException {
  2098.         this.objToXml(out, Eccezioni.class, eccezioni, false);
  2099.     }
  2100.     /**
  2101.      * Serialize to output stream <var>out</var> the object <var>eccezioni</var> of type {@link org.openspcoop2.core.tracciamento.Eccezioni}
  2102.      *
  2103.      * @param out OutputStream to serialize the object <var>eccezioni</var>
  2104.      * @param eccezioni Object to be serialized in xml file <var>fileName</var>
  2105.      * @param prettyPrint if true output the XML with indenting
  2106.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2107.      */
  2108.     public void write(OutputStream out,Eccezioni eccezioni,boolean prettyPrint) throws SerializerException {
  2109.         this.objToXml(out, Eccezioni.class, eccezioni, prettyPrint);
  2110.     }
  2111.            
  2112.     /**
  2113.      * Serialize to byte array the object <var>eccezioni</var> of type {@link org.openspcoop2.core.tracciamento.Eccezioni}
  2114.      *
  2115.      * @param eccezioni Object to be serialized
  2116.      * @return Object to be serialized in byte array
  2117.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2118.      */
  2119.     public byte[] toByteArray(Eccezioni eccezioni) throws SerializerException {
  2120.         return this.objToXml(Eccezioni.class, eccezioni, false).toByteArray();
  2121.     }
  2122.     /**
  2123.      * Serialize to byte array the object <var>eccezioni</var> of type {@link org.openspcoop2.core.tracciamento.Eccezioni}
  2124.      *
  2125.      * @param eccezioni Object to be serialized
  2126.      * @param prettyPrint if true output the XML with indenting
  2127.      * @return Object to be serialized in byte array
  2128.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2129.      */
  2130.     public byte[] toByteArray(Eccezioni eccezioni,boolean prettyPrint) throws SerializerException {
  2131.         return this.objToXml(Eccezioni.class, eccezioni, prettyPrint).toByteArray();
  2132.     }
  2133.    
  2134.     /**
  2135.      * Serialize to String the object <var>eccezioni</var> of type {@link org.openspcoop2.core.tracciamento.Eccezioni}
  2136.      *
  2137.      * @param eccezioni Object to be serialized
  2138.      * @return Object to be serialized as String
  2139.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2140.      */
  2141.     public String toString(Eccezioni eccezioni) throws SerializerException {
  2142.         return this.objToXml(Eccezioni.class, eccezioni, false).toString();
  2143.     }
  2144.     /**
  2145.      * Serialize to String the object <var>eccezioni</var> of type {@link org.openspcoop2.core.tracciamento.Eccezioni}
  2146.      *
  2147.      * @param eccezioni Object to be serialized
  2148.      * @param prettyPrint if true output the XML with indenting
  2149.      * @return Object to be serialized as String
  2150.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2151.      */
  2152.     public String toString(Eccezioni eccezioni,boolean prettyPrint) throws SerializerException {
  2153.         return this.objToXml(Eccezioni.class, eccezioni, prettyPrint).toString();
  2154.     }
  2155.    
  2156.    
  2157.    
  2158.     /*
  2159.      =================================================================================
  2160.      Object: protocollo
  2161.      =================================================================================
  2162.     */
  2163.    
  2164.     /**
  2165.      * Serialize to file system in <var>fileName</var> the object <var>protocollo</var> of type {@link org.openspcoop2.core.tracciamento.Protocollo}
  2166.      *
  2167.      * @param fileName Xml file to serialize the object <var>protocollo</var>
  2168.      * @param protocollo Object to be serialized in xml file <var>fileName</var>
  2169.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2170.      */
  2171.     public void write(String fileName,Protocollo protocollo) throws SerializerException {
  2172.         this.objToXml(fileName, Protocollo.class, protocollo, false);
  2173.     }
  2174.     /**
  2175.      * Serialize to file system in <var>fileName</var> the object <var>protocollo</var> of type {@link org.openspcoop2.core.tracciamento.Protocollo}
  2176.      *
  2177.      * @param fileName Xml file to serialize the object <var>protocollo</var>
  2178.      * @param protocollo Object to be serialized in xml file <var>fileName</var>
  2179.      * @param prettyPrint if true output the XML with indenting
  2180.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2181.      */
  2182.     public void write(String fileName,Protocollo protocollo,boolean prettyPrint) throws SerializerException {
  2183.         this.objToXml(fileName, Protocollo.class, protocollo, prettyPrint);
  2184.     }
  2185.    
  2186.     /**
  2187.      * Serialize to file system in <var>file</var> the object <var>protocollo</var> of type {@link org.openspcoop2.core.tracciamento.Protocollo}
  2188.      *
  2189.      * @param file Xml file to serialize the object <var>protocollo</var>
  2190.      * @param protocollo Object to be serialized in xml file <var>fileName</var>
  2191.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2192.      */
  2193.     public void write(File file,Protocollo protocollo) throws SerializerException {
  2194.         this.objToXml(file, Protocollo.class, protocollo, false);
  2195.     }
  2196.     /**
  2197.      * Serialize to file system in <var>file</var> the object <var>protocollo</var> of type {@link org.openspcoop2.core.tracciamento.Protocollo}
  2198.      *
  2199.      * @param file Xml file to serialize the object <var>protocollo</var>
  2200.      * @param protocollo Object to be serialized in xml file <var>fileName</var>
  2201.      * @param prettyPrint if true output the XML with indenting
  2202.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2203.      */
  2204.     public void write(File file,Protocollo protocollo,boolean prettyPrint) throws SerializerException {
  2205.         this.objToXml(file, Protocollo.class, protocollo, prettyPrint);
  2206.     }
  2207.    
  2208.     /**
  2209.      * Serialize to output stream <var>out</var> the object <var>protocollo</var> of type {@link org.openspcoop2.core.tracciamento.Protocollo}
  2210.      *
  2211.      * @param out OutputStream to serialize the object <var>protocollo</var>
  2212.      * @param protocollo Object to be serialized in xml file <var>fileName</var>
  2213.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2214.      */
  2215.     public void write(OutputStream out,Protocollo protocollo) throws SerializerException {
  2216.         this.objToXml(out, Protocollo.class, protocollo, false);
  2217.     }
  2218.     /**
  2219.      * Serialize to output stream <var>out</var> the object <var>protocollo</var> of type {@link org.openspcoop2.core.tracciamento.Protocollo}
  2220.      *
  2221.      * @param out OutputStream to serialize the object <var>protocollo</var>
  2222.      * @param protocollo Object to be serialized in xml file <var>fileName</var>
  2223.      * @param prettyPrint if true output the XML with indenting
  2224.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2225.      */
  2226.     public void write(OutputStream out,Protocollo protocollo,boolean prettyPrint) throws SerializerException {
  2227.         this.objToXml(out, Protocollo.class, protocollo, prettyPrint);
  2228.     }
  2229.            
  2230.     /**
  2231.      * Serialize to byte array the object <var>protocollo</var> of type {@link org.openspcoop2.core.tracciamento.Protocollo}
  2232.      *
  2233.      * @param protocollo Object to be serialized
  2234.      * @return Object to be serialized in byte array
  2235.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2236.      */
  2237.     public byte[] toByteArray(Protocollo protocollo) throws SerializerException {
  2238.         return this.objToXml(Protocollo.class, protocollo, false).toByteArray();
  2239.     }
  2240.     /**
  2241.      * Serialize to byte array the object <var>protocollo</var> of type {@link org.openspcoop2.core.tracciamento.Protocollo}
  2242.      *
  2243.      * @param protocollo Object to be serialized
  2244.      * @param prettyPrint if true output the XML with indenting
  2245.      * @return Object to be serialized in byte array
  2246.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2247.      */
  2248.     public byte[] toByteArray(Protocollo protocollo,boolean prettyPrint) throws SerializerException {
  2249.         return this.objToXml(Protocollo.class, protocollo, prettyPrint).toByteArray();
  2250.     }
  2251.    
  2252.     /**
  2253.      * Serialize to String the object <var>protocollo</var> of type {@link org.openspcoop2.core.tracciamento.Protocollo}
  2254.      *
  2255.      * @param protocollo Object to be serialized
  2256.      * @return Object to be serialized as String
  2257.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2258.      */
  2259.     public String toString(Protocollo protocollo) throws SerializerException {
  2260.         return this.objToXml(Protocollo.class, protocollo, false).toString();
  2261.     }
  2262.     /**
  2263.      * Serialize to String the object <var>protocollo</var> of type {@link org.openspcoop2.core.tracciamento.Protocollo}
  2264.      *
  2265.      * @param protocollo Object to be serialized
  2266.      * @param prettyPrint if true output the XML with indenting
  2267.      * @return Object to be serialized as String
  2268.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2269.      */
  2270.     public String toString(Protocollo protocollo,boolean prettyPrint) throws SerializerException {
  2271.         return this.objToXml(Protocollo.class, protocollo, prettyPrint).toString();
  2272.     }
  2273.    
  2274.    
  2275.    
  2276.     /*
  2277.      =================================================================================
  2278.      Object: TipoData
  2279.      =================================================================================
  2280.     */
  2281.    
  2282.     /**
  2283.      * Serialize to file system in <var>fileName</var> the object <var>tipoData</var> of type {@link org.openspcoop2.core.tracciamento.TipoData}
  2284.      *
  2285.      * @param fileName Xml file to serialize the object <var>tipoData</var>
  2286.      * @param tipoData Object to be serialized in xml file <var>fileName</var>
  2287.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2288.      */
  2289.     public void write(String fileName,TipoData tipoData) throws SerializerException {
  2290.         this.objToXml(fileName, TipoData.class, tipoData, false);
  2291.     }
  2292.     /**
  2293.      * Serialize to file system in <var>fileName</var> the object <var>tipoData</var> of type {@link org.openspcoop2.core.tracciamento.TipoData}
  2294.      *
  2295.      * @param fileName Xml file to serialize the object <var>tipoData</var>
  2296.      * @param tipoData Object to be serialized in xml file <var>fileName</var>
  2297.      * @param prettyPrint if true output the XML with indenting
  2298.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2299.      */
  2300.     public void write(String fileName,TipoData tipoData,boolean prettyPrint) throws SerializerException {
  2301.         this.objToXml(fileName, TipoData.class, tipoData, prettyPrint);
  2302.     }
  2303.    
  2304.     /**
  2305.      * Serialize to file system in <var>file</var> the object <var>tipoData</var> of type {@link org.openspcoop2.core.tracciamento.TipoData}
  2306.      *
  2307.      * @param file Xml file to serialize the object <var>tipoData</var>
  2308.      * @param tipoData Object to be serialized in xml file <var>fileName</var>
  2309.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2310.      */
  2311.     public void write(File file,TipoData tipoData) throws SerializerException {
  2312.         this.objToXml(file, TipoData.class, tipoData, false);
  2313.     }
  2314.     /**
  2315.      * Serialize to file system in <var>file</var> the object <var>tipoData</var> of type {@link org.openspcoop2.core.tracciamento.TipoData}
  2316.      *
  2317.      * @param file Xml file to serialize the object <var>tipoData</var>
  2318.      * @param tipoData Object to be serialized in xml file <var>fileName</var>
  2319.      * @param prettyPrint if true output the XML with indenting
  2320.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2321.      */
  2322.     public void write(File file,TipoData tipoData,boolean prettyPrint) throws SerializerException {
  2323.         this.objToXml(file, TipoData.class, tipoData, prettyPrint);
  2324.     }
  2325.    
  2326.     /**
  2327.      * Serialize to output stream <var>out</var> the object <var>tipoData</var> of type {@link org.openspcoop2.core.tracciamento.TipoData}
  2328.      *
  2329.      * @param out OutputStream to serialize the object <var>tipoData</var>
  2330.      * @param tipoData Object to be serialized in xml file <var>fileName</var>
  2331.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2332.      */
  2333.     public void write(OutputStream out,TipoData tipoData) throws SerializerException {
  2334.         this.objToXml(out, TipoData.class, tipoData, false);
  2335.     }
  2336.     /**
  2337.      * Serialize to output stream <var>out</var> the object <var>tipoData</var> of type {@link org.openspcoop2.core.tracciamento.TipoData}
  2338.      *
  2339.      * @param out OutputStream to serialize the object <var>tipoData</var>
  2340.      * @param tipoData Object to be serialized in xml file <var>fileName</var>
  2341.      * @param prettyPrint if true output the XML with indenting
  2342.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2343.      */
  2344.     public void write(OutputStream out,TipoData tipoData,boolean prettyPrint) throws SerializerException {
  2345.         this.objToXml(out, TipoData.class, tipoData, prettyPrint);
  2346.     }
  2347.            
  2348.     /**
  2349.      * Serialize to byte array the object <var>tipoData</var> of type {@link org.openspcoop2.core.tracciamento.TipoData}
  2350.      *
  2351.      * @param tipoData Object to be serialized
  2352.      * @return Object to be serialized in byte array
  2353.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2354.      */
  2355.     public byte[] toByteArray(TipoData tipoData) throws SerializerException {
  2356.         return this.objToXml(TipoData.class, tipoData, false).toByteArray();
  2357.     }
  2358.     /**
  2359.      * Serialize to byte array the object <var>tipoData</var> of type {@link org.openspcoop2.core.tracciamento.TipoData}
  2360.      *
  2361.      * @param tipoData Object to be serialized
  2362.      * @param prettyPrint if true output the XML with indenting
  2363.      * @return Object to be serialized in byte array
  2364.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2365.      */
  2366.     public byte[] toByteArray(TipoData tipoData,boolean prettyPrint) throws SerializerException {
  2367.         return this.objToXml(TipoData.class, tipoData, prettyPrint).toByteArray();
  2368.     }
  2369.    
  2370.     /**
  2371.      * Serialize to String the object <var>tipoData</var> of type {@link org.openspcoop2.core.tracciamento.TipoData}
  2372.      *
  2373.      * @param tipoData Object to be serialized
  2374.      * @return Object to be serialized as String
  2375.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2376.      */
  2377.     public String toString(TipoData tipoData) throws SerializerException {
  2378.         return this.objToXml(TipoData.class, tipoData, false).toString();
  2379.     }
  2380.     /**
  2381.      * Serialize to String the object <var>tipoData</var> of type {@link org.openspcoop2.core.tracciamento.TipoData}
  2382.      *
  2383.      * @param tipoData Object to be serialized
  2384.      * @param prettyPrint if true output the XML with indenting
  2385.      * @return Object to be serialized as String
  2386.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2387.      */
  2388.     public String toString(TipoData tipoData,boolean prettyPrint) throws SerializerException {
  2389.         return this.objToXml(TipoData.class, tipoData, prettyPrint).toString();
  2390.     }
  2391.    
  2392.    
  2393.    
  2394.     /*
  2395.      =================================================================================
  2396.      Object: soggetto-identificativo
  2397.      =================================================================================
  2398.     */
  2399.    
  2400.     /**
  2401.      * Serialize to file system in <var>fileName</var> the object <var>soggettoIdentificativo</var> of type {@link org.openspcoop2.core.tracciamento.SoggettoIdentificativo}
  2402.      *
  2403.      * @param fileName Xml file to serialize the object <var>soggettoIdentificativo</var>
  2404.      * @param soggettoIdentificativo Object to be serialized in xml file <var>fileName</var>
  2405.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2406.      */
  2407.     public void write(String fileName,SoggettoIdentificativo soggettoIdentificativo) throws SerializerException {
  2408.         this.objToXml(fileName, SoggettoIdentificativo.class, soggettoIdentificativo, false);
  2409.     }
  2410.     /**
  2411.      * Serialize to file system in <var>fileName</var> the object <var>soggettoIdentificativo</var> of type {@link org.openspcoop2.core.tracciamento.SoggettoIdentificativo}
  2412.      *
  2413.      * @param fileName Xml file to serialize the object <var>soggettoIdentificativo</var>
  2414.      * @param soggettoIdentificativo Object to be serialized in xml file <var>fileName</var>
  2415.      * @param prettyPrint if true output the XML with indenting
  2416.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2417.      */
  2418.     public void write(String fileName,SoggettoIdentificativo soggettoIdentificativo,boolean prettyPrint) throws SerializerException {
  2419.         this.objToXml(fileName, SoggettoIdentificativo.class, soggettoIdentificativo, prettyPrint);
  2420.     }
  2421.    
  2422.     /**
  2423.      * Serialize to file system in <var>file</var> the object <var>soggettoIdentificativo</var> of type {@link org.openspcoop2.core.tracciamento.SoggettoIdentificativo}
  2424.      *
  2425.      * @param file Xml file to serialize the object <var>soggettoIdentificativo</var>
  2426.      * @param soggettoIdentificativo Object to be serialized in xml file <var>fileName</var>
  2427.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2428.      */
  2429.     public void write(File file,SoggettoIdentificativo soggettoIdentificativo) throws SerializerException {
  2430.         this.objToXml(file, SoggettoIdentificativo.class, soggettoIdentificativo, false);
  2431.     }
  2432.     /**
  2433.      * Serialize to file system in <var>file</var> the object <var>soggettoIdentificativo</var> of type {@link org.openspcoop2.core.tracciamento.SoggettoIdentificativo}
  2434.      *
  2435.      * @param file Xml file to serialize the object <var>soggettoIdentificativo</var>
  2436.      * @param soggettoIdentificativo Object to be serialized in xml file <var>fileName</var>
  2437.      * @param prettyPrint if true output the XML with indenting
  2438.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2439.      */
  2440.     public void write(File file,SoggettoIdentificativo soggettoIdentificativo,boolean prettyPrint) throws SerializerException {
  2441.         this.objToXml(file, SoggettoIdentificativo.class, soggettoIdentificativo, prettyPrint);
  2442.     }
  2443.    
  2444.     /**
  2445.      * Serialize to output stream <var>out</var> the object <var>soggettoIdentificativo</var> of type {@link org.openspcoop2.core.tracciamento.SoggettoIdentificativo}
  2446.      *
  2447.      * @param out OutputStream to serialize the object <var>soggettoIdentificativo</var>
  2448.      * @param soggettoIdentificativo Object to be serialized in xml file <var>fileName</var>
  2449.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2450.      */
  2451.     public void write(OutputStream out,SoggettoIdentificativo soggettoIdentificativo) throws SerializerException {
  2452.         this.objToXml(out, SoggettoIdentificativo.class, soggettoIdentificativo, false);
  2453.     }
  2454.     /**
  2455.      * Serialize to output stream <var>out</var> the object <var>soggettoIdentificativo</var> of type {@link org.openspcoop2.core.tracciamento.SoggettoIdentificativo}
  2456.      *
  2457.      * @param out OutputStream to serialize the object <var>soggettoIdentificativo</var>
  2458.      * @param soggettoIdentificativo Object to be serialized in xml file <var>fileName</var>
  2459.      * @param prettyPrint if true output the XML with indenting
  2460.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2461.      */
  2462.     public void write(OutputStream out,SoggettoIdentificativo soggettoIdentificativo,boolean prettyPrint) throws SerializerException {
  2463.         this.objToXml(out, SoggettoIdentificativo.class, soggettoIdentificativo, prettyPrint);
  2464.     }
  2465.            
  2466.     /**
  2467.      * Serialize to byte array the object <var>soggettoIdentificativo</var> of type {@link org.openspcoop2.core.tracciamento.SoggettoIdentificativo}
  2468.      *
  2469.      * @param soggettoIdentificativo Object to be serialized
  2470.      * @return Object to be serialized in byte array
  2471.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2472.      */
  2473.     public byte[] toByteArray(SoggettoIdentificativo soggettoIdentificativo) throws SerializerException {
  2474.         return this.objToXml(SoggettoIdentificativo.class, soggettoIdentificativo, false).toByteArray();
  2475.     }
  2476.     /**
  2477.      * Serialize to byte array the object <var>soggettoIdentificativo</var> of type {@link org.openspcoop2.core.tracciamento.SoggettoIdentificativo}
  2478.      *
  2479.      * @param soggettoIdentificativo Object to be serialized
  2480.      * @param prettyPrint if true output the XML with indenting
  2481.      * @return Object to be serialized in byte array
  2482.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2483.      */
  2484.     public byte[] toByteArray(SoggettoIdentificativo soggettoIdentificativo,boolean prettyPrint) throws SerializerException {
  2485.         return this.objToXml(SoggettoIdentificativo.class, soggettoIdentificativo, prettyPrint).toByteArray();
  2486.     }
  2487.    
  2488.     /**
  2489.      * Serialize to String the object <var>soggettoIdentificativo</var> of type {@link org.openspcoop2.core.tracciamento.SoggettoIdentificativo}
  2490.      *
  2491.      * @param soggettoIdentificativo Object to be serialized
  2492.      * @return Object to be serialized as String
  2493.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2494.      */
  2495.     public String toString(SoggettoIdentificativo soggettoIdentificativo) throws SerializerException {
  2496.         return this.objToXml(SoggettoIdentificativo.class, soggettoIdentificativo, false).toString();
  2497.     }
  2498.     /**
  2499.      * Serialize to String the object <var>soggettoIdentificativo</var> of type {@link org.openspcoop2.core.tracciamento.SoggettoIdentificativo}
  2500.      *
  2501.      * @param soggettoIdentificativo Object to be serialized
  2502.      * @param prettyPrint if true output the XML with indenting
  2503.      * @return Object to be serialized as String
  2504.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2505.      */
  2506.     public String toString(SoggettoIdentificativo soggettoIdentificativo,boolean prettyPrint) throws SerializerException {
  2507.         return this.objToXml(SoggettoIdentificativo.class, soggettoIdentificativo, prettyPrint).toString();
  2508.     }
  2509.    
  2510.    
  2511.    
  2512.     /*
  2513.      =================================================================================
  2514.      Object: dominio-soggetto
  2515.      =================================================================================
  2516.     */
  2517.    
  2518.     /**
  2519.      * Serialize to file system in <var>fileName</var> the object <var>dominioSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioSoggetto}
  2520.      *
  2521.      * @param fileName Xml file to serialize the object <var>dominioSoggetto</var>
  2522.      * @param dominioSoggetto Object to be serialized in xml file <var>fileName</var>
  2523.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2524.      */
  2525.     public void write(String fileName,DominioSoggetto dominioSoggetto) throws SerializerException {
  2526.         this.objToXml(fileName, DominioSoggetto.class, dominioSoggetto, false);
  2527.     }
  2528.     /**
  2529.      * Serialize to file system in <var>fileName</var> the object <var>dominioSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioSoggetto}
  2530.      *
  2531.      * @param fileName Xml file to serialize the object <var>dominioSoggetto</var>
  2532.      * @param dominioSoggetto Object to be serialized in xml file <var>fileName</var>
  2533.      * @param prettyPrint if true output the XML with indenting
  2534.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2535.      */
  2536.     public void write(String fileName,DominioSoggetto dominioSoggetto,boolean prettyPrint) throws SerializerException {
  2537.         this.objToXml(fileName, DominioSoggetto.class, dominioSoggetto, prettyPrint);
  2538.     }
  2539.    
  2540.     /**
  2541.      * Serialize to file system in <var>file</var> the object <var>dominioSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioSoggetto}
  2542.      *
  2543.      * @param file Xml file to serialize the object <var>dominioSoggetto</var>
  2544.      * @param dominioSoggetto Object to be serialized in xml file <var>fileName</var>
  2545.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2546.      */
  2547.     public void write(File file,DominioSoggetto dominioSoggetto) throws SerializerException {
  2548.         this.objToXml(file, DominioSoggetto.class, dominioSoggetto, false);
  2549.     }
  2550.     /**
  2551.      * Serialize to file system in <var>file</var> the object <var>dominioSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioSoggetto}
  2552.      *
  2553.      * @param file Xml file to serialize the object <var>dominioSoggetto</var>
  2554.      * @param dominioSoggetto Object to be serialized in xml file <var>fileName</var>
  2555.      * @param prettyPrint if true output the XML with indenting
  2556.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2557.      */
  2558.     public void write(File file,DominioSoggetto dominioSoggetto,boolean prettyPrint) throws SerializerException {
  2559.         this.objToXml(file, DominioSoggetto.class, dominioSoggetto, prettyPrint);
  2560.     }
  2561.    
  2562.     /**
  2563.      * Serialize to output stream <var>out</var> the object <var>dominioSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioSoggetto}
  2564.      *
  2565.      * @param out OutputStream to serialize the object <var>dominioSoggetto</var>
  2566.      * @param dominioSoggetto Object to be serialized in xml file <var>fileName</var>
  2567.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2568.      */
  2569.     public void write(OutputStream out,DominioSoggetto dominioSoggetto) throws SerializerException {
  2570.         this.objToXml(out, DominioSoggetto.class, dominioSoggetto, false);
  2571.     }
  2572.     /**
  2573.      * Serialize to output stream <var>out</var> the object <var>dominioSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioSoggetto}
  2574.      *
  2575.      * @param out OutputStream to serialize the object <var>dominioSoggetto</var>
  2576.      * @param dominioSoggetto Object to be serialized in xml file <var>fileName</var>
  2577.      * @param prettyPrint if true output the XML with indenting
  2578.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2579.      */
  2580.     public void write(OutputStream out,DominioSoggetto dominioSoggetto,boolean prettyPrint) throws SerializerException {
  2581.         this.objToXml(out, DominioSoggetto.class, dominioSoggetto, prettyPrint);
  2582.     }
  2583.            
  2584.     /**
  2585.      * Serialize to byte array the object <var>dominioSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioSoggetto}
  2586.      *
  2587.      * @param dominioSoggetto Object to be serialized
  2588.      * @return Object to be serialized in byte array
  2589.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2590.      */
  2591.     public byte[] toByteArray(DominioSoggetto dominioSoggetto) throws SerializerException {
  2592.         return this.objToXml(DominioSoggetto.class, dominioSoggetto, false).toByteArray();
  2593.     }
  2594.     /**
  2595.      * Serialize to byte array the object <var>dominioSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioSoggetto}
  2596.      *
  2597.      * @param dominioSoggetto Object to be serialized
  2598.      * @param prettyPrint if true output the XML with indenting
  2599.      * @return Object to be serialized in byte array
  2600.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2601.      */
  2602.     public byte[] toByteArray(DominioSoggetto dominioSoggetto,boolean prettyPrint) throws SerializerException {
  2603.         return this.objToXml(DominioSoggetto.class, dominioSoggetto, prettyPrint).toByteArray();
  2604.     }
  2605.    
  2606.     /**
  2607.      * Serialize to String the object <var>dominioSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioSoggetto}
  2608.      *
  2609.      * @param dominioSoggetto Object to be serialized
  2610.      * @return Object to be serialized as String
  2611.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2612.      */
  2613.     public String toString(DominioSoggetto dominioSoggetto) throws SerializerException {
  2614.         return this.objToXml(DominioSoggetto.class, dominioSoggetto, false).toString();
  2615.     }
  2616.     /**
  2617.      * Serialize to String the object <var>dominioSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioSoggetto}
  2618.      *
  2619.      * @param dominioSoggetto Object to be serialized
  2620.      * @param prettyPrint if true output the XML with indenting
  2621.      * @return Object to be serialized as String
  2622.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2623.      */
  2624.     public String toString(DominioSoggetto dominioSoggetto,boolean prettyPrint) throws SerializerException {
  2625.         return this.objToXml(DominioSoggetto.class, dominioSoggetto, prettyPrint).toString();
  2626.     }
  2627.    
  2628.    
  2629.    
  2630.     /*
  2631.      =================================================================================
  2632.      Object: riscontro
  2633.      =================================================================================
  2634.     */
  2635.    
  2636.     /**
  2637.      * Serialize to file system in <var>fileName</var> the object <var>riscontro</var> of type {@link org.openspcoop2.core.tracciamento.Riscontro}
  2638.      *
  2639.      * @param fileName Xml file to serialize the object <var>riscontro</var>
  2640.      * @param riscontro Object to be serialized in xml file <var>fileName</var>
  2641.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2642.      */
  2643.     public void write(String fileName,Riscontro riscontro) throws SerializerException {
  2644.         this.objToXml(fileName, Riscontro.class, riscontro, false);
  2645.     }
  2646.     /**
  2647.      * Serialize to file system in <var>fileName</var> the object <var>riscontro</var> of type {@link org.openspcoop2.core.tracciamento.Riscontro}
  2648.      *
  2649.      * @param fileName Xml file to serialize the object <var>riscontro</var>
  2650.      * @param riscontro Object to be serialized in xml file <var>fileName</var>
  2651.      * @param prettyPrint if true output the XML with indenting
  2652.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2653.      */
  2654.     public void write(String fileName,Riscontro riscontro,boolean prettyPrint) throws SerializerException {
  2655.         this.objToXml(fileName, Riscontro.class, riscontro, prettyPrint);
  2656.     }
  2657.    
  2658.     /**
  2659.      * Serialize to file system in <var>file</var> the object <var>riscontro</var> of type {@link org.openspcoop2.core.tracciamento.Riscontro}
  2660.      *
  2661.      * @param file Xml file to serialize the object <var>riscontro</var>
  2662.      * @param riscontro Object to be serialized in xml file <var>fileName</var>
  2663.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2664.      */
  2665.     public void write(File file,Riscontro riscontro) throws SerializerException {
  2666.         this.objToXml(file, Riscontro.class, riscontro, false);
  2667.     }
  2668.     /**
  2669.      * Serialize to file system in <var>file</var> the object <var>riscontro</var> of type {@link org.openspcoop2.core.tracciamento.Riscontro}
  2670.      *
  2671.      * @param file Xml file to serialize the object <var>riscontro</var>
  2672.      * @param riscontro Object to be serialized in xml file <var>fileName</var>
  2673.      * @param prettyPrint if true output the XML with indenting
  2674.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2675.      */
  2676.     public void write(File file,Riscontro riscontro,boolean prettyPrint) throws SerializerException {
  2677.         this.objToXml(file, Riscontro.class, riscontro, prettyPrint);
  2678.     }
  2679.    
  2680.     /**
  2681.      * Serialize to output stream <var>out</var> the object <var>riscontro</var> of type {@link org.openspcoop2.core.tracciamento.Riscontro}
  2682.      *
  2683.      * @param out OutputStream to serialize the object <var>riscontro</var>
  2684.      * @param riscontro Object to be serialized in xml file <var>fileName</var>
  2685.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2686.      */
  2687.     public void write(OutputStream out,Riscontro riscontro) throws SerializerException {
  2688.         this.objToXml(out, Riscontro.class, riscontro, false);
  2689.     }
  2690.     /**
  2691.      * Serialize to output stream <var>out</var> the object <var>riscontro</var> of type {@link org.openspcoop2.core.tracciamento.Riscontro}
  2692.      *
  2693.      * @param out OutputStream to serialize the object <var>riscontro</var>
  2694.      * @param riscontro Object to be serialized in xml file <var>fileName</var>
  2695.      * @param prettyPrint if true output the XML with indenting
  2696.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2697.      */
  2698.     public void write(OutputStream out,Riscontro riscontro,boolean prettyPrint) throws SerializerException {
  2699.         this.objToXml(out, Riscontro.class, riscontro, prettyPrint);
  2700.     }
  2701.            
  2702.     /**
  2703.      * Serialize to byte array the object <var>riscontro</var> of type {@link org.openspcoop2.core.tracciamento.Riscontro}
  2704.      *
  2705.      * @param riscontro Object to be serialized
  2706.      * @return Object to be serialized in byte array
  2707.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2708.      */
  2709.     public byte[] toByteArray(Riscontro riscontro) throws SerializerException {
  2710.         return this.objToXml(Riscontro.class, riscontro, false).toByteArray();
  2711.     }
  2712.     /**
  2713.      * Serialize to byte array the object <var>riscontro</var> of type {@link org.openspcoop2.core.tracciamento.Riscontro}
  2714.      *
  2715.      * @param riscontro Object to be serialized
  2716.      * @param prettyPrint if true output the XML with indenting
  2717.      * @return Object to be serialized in byte array
  2718.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2719.      */
  2720.     public byte[] toByteArray(Riscontro riscontro,boolean prettyPrint) throws SerializerException {
  2721.         return this.objToXml(Riscontro.class, riscontro, prettyPrint).toByteArray();
  2722.     }
  2723.    
  2724.     /**
  2725.      * Serialize to String the object <var>riscontro</var> of type {@link org.openspcoop2.core.tracciamento.Riscontro}
  2726.      *
  2727.      * @param riscontro Object to be serialized
  2728.      * @return Object to be serialized as String
  2729.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2730.      */
  2731.     public String toString(Riscontro riscontro) throws SerializerException {
  2732.         return this.objToXml(Riscontro.class, riscontro, false).toString();
  2733.     }
  2734.     /**
  2735.      * Serialize to String the object <var>riscontro</var> of type {@link org.openspcoop2.core.tracciamento.Riscontro}
  2736.      *
  2737.      * @param riscontro Object to be serialized
  2738.      * @param prettyPrint if true output the XML with indenting
  2739.      * @return Object to be serialized as String
  2740.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2741.      */
  2742.     public String toString(Riscontro riscontro,boolean prettyPrint) throws SerializerException {
  2743.         return this.objToXml(Riscontro.class, riscontro, prettyPrint).toString();
  2744.     }
  2745.    
  2746.    
  2747.    
  2748.     /*
  2749.      =================================================================================
  2750.      Object: eccezione
  2751.      =================================================================================
  2752.     */
  2753.    
  2754.     /**
  2755.      * Serialize to file system in <var>fileName</var> the object <var>eccezione</var> of type {@link org.openspcoop2.core.tracciamento.Eccezione}
  2756.      *
  2757.      * @param fileName Xml file to serialize the object <var>eccezione</var>
  2758.      * @param eccezione Object to be serialized in xml file <var>fileName</var>
  2759.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2760.      */
  2761.     public void write(String fileName,Eccezione eccezione) throws SerializerException {
  2762.         this.objToXml(fileName, Eccezione.class, eccezione, false);
  2763.     }
  2764.     /**
  2765.      * Serialize to file system in <var>fileName</var> the object <var>eccezione</var> of type {@link org.openspcoop2.core.tracciamento.Eccezione}
  2766.      *
  2767.      * @param fileName Xml file to serialize the object <var>eccezione</var>
  2768.      * @param eccezione Object to be serialized in xml file <var>fileName</var>
  2769.      * @param prettyPrint if true output the XML with indenting
  2770.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2771.      */
  2772.     public void write(String fileName,Eccezione eccezione,boolean prettyPrint) throws SerializerException {
  2773.         this.objToXml(fileName, Eccezione.class, eccezione, prettyPrint);
  2774.     }
  2775.    
  2776.     /**
  2777.      * Serialize to file system in <var>file</var> the object <var>eccezione</var> of type {@link org.openspcoop2.core.tracciamento.Eccezione}
  2778.      *
  2779.      * @param file Xml file to serialize the object <var>eccezione</var>
  2780.      * @param eccezione Object to be serialized in xml file <var>fileName</var>
  2781.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2782.      */
  2783.     public void write(File file,Eccezione eccezione) throws SerializerException {
  2784.         this.objToXml(file, Eccezione.class, eccezione, false);
  2785.     }
  2786.     /**
  2787.      * Serialize to file system in <var>file</var> the object <var>eccezione</var> of type {@link org.openspcoop2.core.tracciamento.Eccezione}
  2788.      *
  2789.      * @param file Xml file to serialize the object <var>eccezione</var>
  2790.      * @param eccezione Object to be serialized in xml file <var>fileName</var>
  2791.      * @param prettyPrint if true output the XML with indenting
  2792.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2793.      */
  2794.     public void write(File file,Eccezione eccezione,boolean prettyPrint) throws SerializerException {
  2795.         this.objToXml(file, Eccezione.class, eccezione, prettyPrint);
  2796.     }
  2797.    
  2798.     /**
  2799.      * Serialize to output stream <var>out</var> the object <var>eccezione</var> of type {@link org.openspcoop2.core.tracciamento.Eccezione}
  2800.      *
  2801.      * @param out OutputStream to serialize the object <var>eccezione</var>
  2802.      * @param eccezione Object to be serialized in xml file <var>fileName</var>
  2803.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2804.      */
  2805.     public void write(OutputStream out,Eccezione eccezione) throws SerializerException {
  2806.         this.objToXml(out, Eccezione.class, eccezione, false);
  2807.     }
  2808.     /**
  2809.      * Serialize to output stream <var>out</var> the object <var>eccezione</var> of type {@link org.openspcoop2.core.tracciamento.Eccezione}
  2810.      *
  2811.      * @param out OutputStream to serialize the object <var>eccezione</var>
  2812.      * @param eccezione Object to be serialized in xml file <var>fileName</var>
  2813.      * @param prettyPrint if true output the XML with indenting
  2814.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2815.      */
  2816.     public void write(OutputStream out,Eccezione eccezione,boolean prettyPrint) throws SerializerException {
  2817.         this.objToXml(out, Eccezione.class, eccezione, prettyPrint);
  2818.     }
  2819.            
  2820.     /**
  2821.      * Serialize to byte array the object <var>eccezione</var> of type {@link org.openspcoop2.core.tracciamento.Eccezione}
  2822.      *
  2823.      * @param eccezione Object to be serialized
  2824.      * @return Object to be serialized in byte array
  2825.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2826.      */
  2827.     public byte[] toByteArray(Eccezione eccezione) throws SerializerException {
  2828.         return this.objToXml(Eccezione.class, eccezione, false).toByteArray();
  2829.     }
  2830.     /**
  2831.      * Serialize to byte array the object <var>eccezione</var> of type {@link org.openspcoop2.core.tracciamento.Eccezione}
  2832.      *
  2833.      * @param eccezione Object to be serialized
  2834.      * @param prettyPrint if true output the XML with indenting
  2835.      * @return Object to be serialized in byte array
  2836.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2837.      */
  2838.     public byte[] toByteArray(Eccezione eccezione,boolean prettyPrint) throws SerializerException {
  2839.         return this.objToXml(Eccezione.class, eccezione, prettyPrint).toByteArray();
  2840.     }
  2841.    
  2842.     /**
  2843.      * Serialize to String the object <var>eccezione</var> of type {@link org.openspcoop2.core.tracciamento.Eccezione}
  2844.      *
  2845.      * @param eccezione Object to be serialized
  2846.      * @return Object to be serialized as String
  2847.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2848.      */
  2849.     public String toString(Eccezione eccezione) throws SerializerException {
  2850.         return this.objToXml(Eccezione.class, eccezione, false).toString();
  2851.     }
  2852.     /**
  2853.      * Serialize to String the object <var>eccezione</var> of type {@link org.openspcoop2.core.tracciamento.Eccezione}
  2854.      *
  2855.      * @param eccezione Object to be serialized
  2856.      * @param prettyPrint if true output the XML with indenting
  2857.      * @return Object to be serialized as String
  2858.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2859.      */
  2860.     public String toString(Eccezione eccezione,boolean prettyPrint) throws SerializerException {
  2861.         return this.objToXml(Eccezione.class, eccezione, prettyPrint).toString();
  2862.     }
  2863.    
  2864.    
  2865.    
  2866.     /*
  2867.      =================================================================================
  2868.      Object: CodiceEccezione
  2869.      =================================================================================
  2870.     */
  2871.    
  2872.     /**
  2873.      * Serialize to file system in <var>fileName</var> the object <var>codiceEccezione</var> of type {@link org.openspcoop2.core.tracciamento.CodiceEccezione}
  2874.      *
  2875.      * @param fileName Xml file to serialize the object <var>codiceEccezione</var>
  2876.      * @param codiceEccezione Object to be serialized in xml file <var>fileName</var>
  2877.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2878.      */
  2879.     public void write(String fileName,CodiceEccezione codiceEccezione) throws SerializerException {
  2880.         this.objToXml(fileName, CodiceEccezione.class, codiceEccezione, false);
  2881.     }
  2882.     /**
  2883.      * Serialize to file system in <var>fileName</var> the object <var>codiceEccezione</var> of type {@link org.openspcoop2.core.tracciamento.CodiceEccezione}
  2884.      *
  2885.      * @param fileName Xml file to serialize the object <var>codiceEccezione</var>
  2886.      * @param codiceEccezione Object to be serialized in xml file <var>fileName</var>
  2887.      * @param prettyPrint if true output the XML with indenting
  2888.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2889.      */
  2890.     public void write(String fileName,CodiceEccezione codiceEccezione,boolean prettyPrint) throws SerializerException {
  2891.         this.objToXml(fileName, CodiceEccezione.class, codiceEccezione, prettyPrint);
  2892.     }
  2893.    
  2894.     /**
  2895.      * Serialize to file system in <var>file</var> the object <var>codiceEccezione</var> of type {@link org.openspcoop2.core.tracciamento.CodiceEccezione}
  2896.      *
  2897.      * @param file Xml file to serialize the object <var>codiceEccezione</var>
  2898.      * @param codiceEccezione Object to be serialized in xml file <var>fileName</var>
  2899.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2900.      */
  2901.     public void write(File file,CodiceEccezione codiceEccezione) throws SerializerException {
  2902.         this.objToXml(file, CodiceEccezione.class, codiceEccezione, false);
  2903.     }
  2904.     /**
  2905.      * Serialize to file system in <var>file</var> the object <var>codiceEccezione</var> of type {@link org.openspcoop2.core.tracciamento.CodiceEccezione}
  2906.      *
  2907.      * @param file Xml file to serialize the object <var>codiceEccezione</var>
  2908.      * @param codiceEccezione Object to be serialized in xml file <var>fileName</var>
  2909.      * @param prettyPrint if true output the XML with indenting
  2910.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2911.      */
  2912.     public void write(File file,CodiceEccezione codiceEccezione,boolean prettyPrint) throws SerializerException {
  2913.         this.objToXml(file, CodiceEccezione.class, codiceEccezione, prettyPrint);
  2914.     }
  2915.    
  2916.     /**
  2917.      * Serialize to output stream <var>out</var> the object <var>codiceEccezione</var> of type {@link org.openspcoop2.core.tracciamento.CodiceEccezione}
  2918.      *
  2919.      * @param out OutputStream to serialize the object <var>codiceEccezione</var>
  2920.      * @param codiceEccezione Object to be serialized in xml file <var>fileName</var>
  2921.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2922.      */
  2923.     public void write(OutputStream out,CodiceEccezione codiceEccezione) throws SerializerException {
  2924.         this.objToXml(out, CodiceEccezione.class, codiceEccezione, false);
  2925.     }
  2926.     /**
  2927.      * Serialize to output stream <var>out</var> the object <var>codiceEccezione</var> of type {@link org.openspcoop2.core.tracciamento.CodiceEccezione}
  2928.      *
  2929.      * @param out OutputStream to serialize the object <var>codiceEccezione</var>
  2930.      * @param codiceEccezione Object to be serialized in xml file <var>fileName</var>
  2931.      * @param prettyPrint if true output the XML with indenting
  2932.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2933.      */
  2934.     public void write(OutputStream out,CodiceEccezione codiceEccezione,boolean prettyPrint) throws SerializerException {
  2935.         this.objToXml(out, CodiceEccezione.class, codiceEccezione, prettyPrint);
  2936.     }
  2937.            
  2938.     /**
  2939.      * Serialize to byte array the object <var>codiceEccezione</var> of type {@link org.openspcoop2.core.tracciamento.CodiceEccezione}
  2940.      *
  2941.      * @param codiceEccezione Object to be serialized
  2942.      * @return Object to be serialized in byte array
  2943.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2944.      */
  2945.     public byte[] toByteArray(CodiceEccezione codiceEccezione) throws SerializerException {
  2946.         return this.objToXml(CodiceEccezione.class, codiceEccezione, false).toByteArray();
  2947.     }
  2948.     /**
  2949.      * Serialize to byte array the object <var>codiceEccezione</var> of type {@link org.openspcoop2.core.tracciamento.CodiceEccezione}
  2950.      *
  2951.      * @param codiceEccezione Object to be serialized
  2952.      * @param prettyPrint if true output the XML with indenting
  2953.      * @return Object to be serialized in byte array
  2954.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2955.      */
  2956.     public byte[] toByteArray(CodiceEccezione codiceEccezione,boolean prettyPrint) throws SerializerException {
  2957.         return this.objToXml(CodiceEccezione.class, codiceEccezione, prettyPrint).toByteArray();
  2958.     }
  2959.    
  2960.     /**
  2961.      * Serialize to String the object <var>codiceEccezione</var> of type {@link org.openspcoop2.core.tracciamento.CodiceEccezione}
  2962.      *
  2963.      * @param codiceEccezione Object to be serialized
  2964.      * @return Object to be serialized as String
  2965.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2966.      */
  2967.     public String toString(CodiceEccezione codiceEccezione) throws SerializerException {
  2968.         return this.objToXml(CodiceEccezione.class, codiceEccezione, false).toString();
  2969.     }
  2970.     /**
  2971.      * Serialize to String the object <var>codiceEccezione</var> of type {@link org.openspcoop2.core.tracciamento.CodiceEccezione}
  2972.      *
  2973.      * @param codiceEccezione Object to be serialized
  2974.      * @param prettyPrint if true output the XML with indenting
  2975.      * @return Object to be serialized as String
  2976.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2977.      */
  2978.     public String toString(CodiceEccezione codiceEccezione,boolean prettyPrint) throws SerializerException {
  2979.         return this.objToXml(CodiceEccezione.class, codiceEccezione, prettyPrint).toString();
  2980.     }
  2981.    
  2982.    
  2983.    
  2984.     /*
  2985.      =================================================================================
  2986.      Object: ContestoCodificaEccezione
  2987.      =================================================================================
  2988.     */
  2989.    
  2990.     /**
  2991.      * Serialize to file system in <var>fileName</var> the object <var>contestoCodificaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.ContestoCodificaEccezione}
  2992.      *
  2993.      * @param fileName Xml file to serialize the object <var>contestoCodificaEccezione</var>
  2994.      * @param contestoCodificaEccezione Object to be serialized in xml file <var>fileName</var>
  2995.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2996.      */
  2997.     public void write(String fileName,ContestoCodificaEccezione contestoCodificaEccezione) throws SerializerException {
  2998.         this.objToXml(fileName, ContestoCodificaEccezione.class, contestoCodificaEccezione, false);
  2999.     }
  3000.     /**
  3001.      * Serialize to file system in <var>fileName</var> the object <var>contestoCodificaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.ContestoCodificaEccezione}
  3002.      *
  3003.      * @param fileName Xml file to serialize the object <var>contestoCodificaEccezione</var>
  3004.      * @param contestoCodificaEccezione Object to be serialized in xml file <var>fileName</var>
  3005.      * @param prettyPrint if true output the XML with indenting
  3006.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3007.      */
  3008.     public void write(String fileName,ContestoCodificaEccezione contestoCodificaEccezione,boolean prettyPrint) throws SerializerException {
  3009.         this.objToXml(fileName, ContestoCodificaEccezione.class, contestoCodificaEccezione, prettyPrint);
  3010.     }
  3011.    
  3012.     /**
  3013.      * Serialize to file system in <var>file</var> the object <var>contestoCodificaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.ContestoCodificaEccezione}
  3014.      *
  3015.      * @param file Xml file to serialize the object <var>contestoCodificaEccezione</var>
  3016.      * @param contestoCodificaEccezione Object to be serialized in xml file <var>fileName</var>
  3017.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3018.      */
  3019.     public void write(File file,ContestoCodificaEccezione contestoCodificaEccezione) throws SerializerException {
  3020.         this.objToXml(file, ContestoCodificaEccezione.class, contestoCodificaEccezione, false);
  3021.     }
  3022.     /**
  3023.      * Serialize to file system in <var>file</var> the object <var>contestoCodificaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.ContestoCodificaEccezione}
  3024.      *
  3025.      * @param file Xml file to serialize the object <var>contestoCodificaEccezione</var>
  3026.      * @param contestoCodificaEccezione Object to be serialized in xml file <var>fileName</var>
  3027.      * @param prettyPrint if true output the XML with indenting
  3028.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3029.      */
  3030.     public void write(File file,ContestoCodificaEccezione contestoCodificaEccezione,boolean prettyPrint) throws SerializerException {
  3031.         this.objToXml(file, ContestoCodificaEccezione.class, contestoCodificaEccezione, prettyPrint);
  3032.     }
  3033.    
  3034.     /**
  3035.      * Serialize to output stream <var>out</var> the object <var>contestoCodificaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.ContestoCodificaEccezione}
  3036.      *
  3037.      * @param out OutputStream to serialize the object <var>contestoCodificaEccezione</var>
  3038.      * @param contestoCodificaEccezione Object to be serialized in xml file <var>fileName</var>
  3039.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3040.      */
  3041.     public void write(OutputStream out,ContestoCodificaEccezione contestoCodificaEccezione) throws SerializerException {
  3042.         this.objToXml(out, ContestoCodificaEccezione.class, contestoCodificaEccezione, false);
  3043.     }
  3044.     /**
  3045.      * Serialize to output stream <var>out</var> the object <var>contestoCodificaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.ContestoCodificaEccezione}
  3046.      *
  3047.      * @param out OutputStream to serialize the object <var>contestoCodificaEccezione</var>
  3048.      * @param contestoCodificaEccezione Object to be serialized in xml file <var>fileName</var>
  3049.      * @param prettyPrint if true output the XML with indenting
  3050.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3051.      */
  3052.     public void write(OutputStream out,ContestoCodificaEccezione contestoCodificaEccezione,boolean prettyPrint) throws SerializerException {
  3053.         this.objToXml(out, ContestoCodificaEccezione.class, contestoCodificaEccezione, prettyPrint);
  3054.     }
  3055.            
  3056.     /**
  3057.      * Serialize to byte array the object <var>contestoCodificaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.ContestoCodificaEccezione}
  3058.      *
  3059.      * @param contestoCodificaEccezione Object to be serialized
  3060.      * @return Object to be serialized in byte array
  3061.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3062.      */
  3063.     public byte[] toByteArray(ContestoCodificaEccezione contestoCodificaEccezione) throws SerializerException {
  3064.         return this.objToXml(ContestoCodificaEccezione.class, contestoCodificaEccezione, false).toByteArray();
  3065.     }
  3066.     /**
  3067.      * Serialize to byte array the object <var>contestoCodificaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.ContestoCodificaEccezione}
  3068.      *
  3069.      * @param contestoCodificaEccezione Object to be serialized
  3070.      * @param prettyPrint if true output the XML with indenting
  3071.      * @return Object to be serialized in byte array
  3072.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3073.      */
  3074.     public byte[] toByteArray(ContestoCodificaEccezione contestoCodificaEccezione,boolean prettyPrint) throws SerializerException {
  3075.         return this.objToXml(ContestoCodificaEccezione.class, contestoCodificaEccezione, prettyPrint).toByteArray();
  3076.     }
  3077.    
  3078.     /**
  3079.      * Serialize to String the object <var>contestoCodificaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.ContestoCodificaEccezione}
  3080.      *
  3081.      * @param contestoCodificaEccezione Object to be serialized
  3082.      * @return Object to be serialized as String
  3083.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3084.      */
  3085.     public String toString(ContestoCodificaEccezione contestoCodificaEccezione) throws SerializerException {
  3086.         return this.objToXml(ContestoCodificaEccezione.class, contestoCodificaEccezione, false).toString();
  3087.     }
  3088.     /**
  3089.      * Serialize to String the object <var>contestoCodificaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.ContestoCodificaEccezione}
  3090.      *
  3091.      * @param contestoCodificaEccezione Object to be serialized
  3092.      * @param prettyPrint if true output the XML with indenting
  3093.      * @return Object to be serialized as String
  3094.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3095.      */
  3096.     public String toString(ContestoCodificaEccezione contestoCodificaEccezione,boolean prettyPrint) throws SerializerException {
  3097.         return this.objToXml(ContestoCodificaEccezione.class, contestoCodificaEccezione, prettyPrint).toString();
  3098.     }
  3099.    
  3100.    
  3101.    
  3102.     /*
  3103.      =================================================================================
  3104.      Object: RilevanzaEccezione
  3105.      =================================================================================
  3106.     */
  3107.    
  3108.     /**
  3109.      * Serialize to file system in <var>fileName</var> the object <var>rilevanzaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.RilevanzaEccezione}
  3110.      *
  3111.      * @param fileName Xml file to serialize the object <var>rilevanzaEccezione</var>
  3112.      * @param rilevanzaEccezione Object to be serialized in xml file <var>fileName</var>
  3113.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3114.      */
  3115.     public void write(String fileName,RilevanzaEccezione rilevanzaEccezione) throws SerializerException {
  3116.         this.objToXml(fileName, RilevanzaEccezione.class, rilevanzaEccezione, false);
  3117.     }
  3118.     /**
  3119.      * Serialize to file system in <var>fileName</var> the object <var>rilevanzaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.RilevanzaEccezione}
  3120.      *
  3121.      * @param fileName Xml file to serialize the object <var>rilevanzaEccezione</var>
  3122.      * @param rilevanzaEccezione Object to be serialized in xml file <var>fileName</var>
  3123.      * @param prettyPrint if true output the XML with indenting
  3124.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3125.      */
  3126.     public void write(String fileName,RilevanzaEccezione rilevanzaEccezione,boolean prettyPrint) throws SerializerException {
  3127.         this.objToXml(fileName, RilevanzaEccezione.class, rilevanzaEccezione, prettyPrint);
  3128.     }
  3129.    
  3130.     /**
  3131.      * Serialize to file system in <var>file</var> the object <var>rilevanzaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.RilevanzaEccezione}
  3132.      *
  3133.      * @param file Xml file to serialize the object <var>rilevanzaEccezione</var>
  3134.      * @param rilevanzaEccezione Object to be serialized in xml file <var>fileName</var>
  3135.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3136.      */
  3137.     public void write(File file,RilevanzaEccezione rilevanzaEccezione) throws SerializerException {
  3138.         this.objToXml(file, RilevanzaEccezione.class, rilevanzaEccezione, false);
  3139.     }
  3140.     /**
  3141.      * Serialize to file system in <var>file</var> the object <var>rilevanzaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.RilevanzaEccezione}
  3142.      *
  3143.      * @param file Xml file to serialize the object <var>rilevanzaEccezione</var>
  3144.      * @param rilevanzaEccezione Object to be serialized in xml file <var>fileName</var>
  3145.      * @param prettyPrint if true output the XML with indenting
  3146.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3147.      */
  3148.     public void write(File file,RilevanzaEccezione rilevanzaEccezione,boolean prettyPrint) throws SerializerException {
  3149.         this.objToXml(file, RilevanzaEccezione.class, rilevanzaEccezione, prettyPrint);
  3150.     }
  3151.    
  3152.     /**
  3153.      * Serialize to output stream <var>out</var> the object <var>rilevanzaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.RilevanzaEccezione}
  3154.      *
  3155.      * @param out OutputStream to serialize the object <var>rilevanzaEccezione</var>
  3156.      * @param rilevanzaEccezione Object to be serialized in xml file <var>fileName</var>
  3157.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3158.      */
  3159.     public void write(OutputStream out,RilevanzaEccezione rilevanzaEccezione) throws SerializerException {
  3160.         this.objToXml(out, RilevanzaEccezione.class, rilevanzaEccezione, false);
  3161.     }
  3162.     /**
  3163.      * Serialize to output stream <var>out</var> the object <var>rilevanzaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.RilevanzaEccezione}
  3164.      *
  3165.      * @param out OutputStream to serialize the object <var>rilevanzaEccezione</var>
  3166.      * @param rilevanzaEccezione Object to be serialized in xml file <var>fileName</var>
  3167.      * @param prettyPrint if true output the XML with indenting
  3168.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3169.      */
  3170.     public void write(OutputStream out,RilevanzaEccezione rilevanzaEccezione,boolean prettyPrint) throws SerializerException {
  3171.         this.objToXml(out, RilevanzaEccezione.class, rilevanzaEccezione, prettyPrint);
  3172.     }
  3173.            
  3174.     /**
  3175.      * Serialize to byte array the object <var>rilevanzaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.RilevanzaEccezione}
  3176.      *
  3177.      * @param rilevanzaEccezione Object to be serialized
  3178.      * @return Object to be serialized in byte array
  3179.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3180.      */
  3181.     public byte[] toByteArray(RilevanzaEccezione rilevanzaEccezione) throws SerializerException {
  3182.         return this.objToXml(RilevanzaEccezione.class, rilevanzaEccezione, false).toByteArray();
  3183.     }
  3184.     /**
  3185.      * Serialize to byte array the object <var>rilevanzaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.RilevanzaEccezione}
  3186.      *
  3187.      * @param rilevanzaEccezione Object to be serialized
  3188.      * @param prettyPrint if true output the XML with indenting
  3189.      * @return Object to be serialized in byte array
  3190.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3191.      */
  3192.     public byte[] toByteArray(RilevanzaEccezione rilevanzaEccezione,boolean prettyPrint) throws SerializerException {
  3193.         return this.objToXml(RilevanzaEccezione.class, rilevanzaEccezione, prettyPrint).toByteArray();
  3194.     }
  3195.    
  3196.     /**
  3197.      * Serialize to String the object <var>rilevanzaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.RilevanzaEccezione}
  3198.      *
  3199.      * @param rilevanzaEccezione Object to be serialized
  3200.      * @return Object to be serialized as String
  3201.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3202.      */
  3203.     public String toString(RilevanzaEccezione rilevanzaEccezione) throws SerializerException {
  3204.         return this.objToXml(RilevanzaEccezione.class, rilevanzaEccezione, false).toString();
  3205.     }
  3206.     /**
  3207.      * Serialize to String the object <var>rilevanzaEccezione</var> of type {@link org.openspcoop2.core.tracciamento.RilevanzaEccezione}
  3208.      *
  3209.      * @param rilevanzaEccezione Object to be serialized
  3210.      * @param prettyPrint if true output the XML with indenting
  3211.      * @return Object to be serialized as String
  3212.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3213.      */
  3214.     public String toString(RilevanzaEccezione rilevanzaEccezione,boolean prettyPrint) throws SerializerException {
  3215.         return this.objToXml(RilevanzaEccezione.class, rilevanzaEccezione, prettyPrint).toString();
  3216.     }
  3217.    
  3218.    
  3219.    
  3220.     /*
  3221.      =================================================================================
  3222.      Object: proprieta
  3223.      =================================================================================
  3224.     */
  3225.    
  3226.     /**
  3227.      * Serialize to file system in <var>fileName</var> the object <var>proprieta</var> of type {@link org.openspcoop2.core.tracciamento.Proprieta}
  3228.      *
  3229.      * @param fileName Xml file to serialize the object <var>proprieta</var>
  3230.      * @param proprieta Object to be serialized in xml file <var>fileName</var>
  3231.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3232.      */
  3233.     public void write(String fileName,Proprieta proprieta) throws SerializerException {
  3234.         this.objToXml(fileName, Proprieta.class, proprieta, false);
  3235.     }
  3236.     /**
  3237.      * Serialize to file system in <var>fileName</var> the object <var>proprieta</var> of type {@link org.openspcoop2.core.tracciamento.Proprieta}
  3238.      *
  3239.      * @param fileName Xml file to serialize the object <var>proprieta</var>
  3240.      * @param proprieta Object to be serialized in xml file <var>fileName</var>
  3241.      * @param prettyPrint if true output the XML with indenting
  3242.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3243.      */
  3244.     public void write(String fileName,Proprieta proprieta,boolean prettyPrint) throws SerializerException {
  3245.         this.objToXml(fileName, Proprieta.class, proprieta, prettyPrint);
  3246.     }
  3247.    
  3248.     /**
  3249.      * Serialize to file system in <var>file</var> the object <var>proprieta</var> of type {@link org.openspcoop2.core.tracciamento.Proprieta}
  3250.      *
  3251.      * @param file Xml file to serialize the object <var>proprieta</var>
  3252.      * @param proprieta Object to be serialized in xml file <var>fileName</var>
  3253.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3254.      */
  3255.     public void write(File file,Proprieta proprieta) throws SerializerException {
  3256.         this.objToXml(file, Proprieta.class, proprieta, false);
  3257.     }
  3258.     /**
  3259.      * Serialize to file system in <var>file</var> the object <var>proprieta</var> of type {@link org.openspcoop2.core.tracciamento.Proprieta}
  3260.      *
  3261.      * @param file Xml file to serialize the object <var>proprieta</var>
  3262.      * @param proprieta Object to be serialized in xml file <var>fileName</var>
  3263.      * @param prettyPrint if true output the XML with indenting
  3264.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3265.      */
  3266.     public void write(File file,Proprieta proprieta,boolean prettyPrint) throws SerializerException {
  3267.         this.objToXml(file, Proprieta.class, proprieta, prettyPrint);
  3268.     }
  3269.    
  3270.     /**
  3271.      * Serialize to output stream <var>out</var> the object <var>proprieta</var> of type {@link org.openspcoop2.core.tracciamento.Proprieta}
  3272.      *
  3273.      * @param out OutputStream to serialize the object <var>proprieta</var>
  3274.      * @param proprieta Object to be serialized in xml file <var>fileName</var>
  3275.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3276.      */
  3277.     public void write(OutputStream out,Proprieta proprieta) throws SerializerException {
  3278.         this.objToXml(out, Proprieta.class, proprieta, false);
  3279.     }
  3280.     /**
  3281.      * Serialize to output stream <var>out</var> the object <var>proprieta</var> of type {@link org.openspcoop2.core.tracciamento.Proprieta}
  3282.      *
  3283.      * @param out OutputStream to serialize the object <var>proprieta</var>
  3284.      * @param proprieta Object to be serialized in xml file <var>fileName</var>
  3285.      * @param prettyPrint if true output the XML with indenting
  3286.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3287.      */
  3288.     public void write(OutputStream out,Proprieta proprieta,boolean prettyPrint) throws SerializerException {
  3289.         this.objToXml(out, Proprieta.class, proprieta, prettyPrint);
  3290.     }
  3291.            
  3292.     /**
  3293.      * Serialize to byte array the object <var>proprieta</var> of type {@link org.openspcoop2.core.tracciamento.Proprieta}
  3294.      *
  3295.      * @param proprieta Object to be serialized
  3296.      * @return Object to be serialized in byte array
  3297.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3298.      */
  3299.     public byte[] toByteArray(Proprieta proprieta) throws SerializerException {
  3300.         return this.objToXml(Proprieta.class, proprieta, false).toByteArray();
  3301.     }
  3302.     /**
  3303.      * Serialize to byte array the object <var>proprieta</var> of type {@link org.openspcoop2.core.tracciamento.Proprieta}
  3304.      *
  3305.      * @param proprieta Object to be serialized
  3306.      * @param prettyPrint if true output the XML with indenting
  3307.      * @return Object to be serialized in byte array
  3308.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3309.      */
  3310.     public byte[] toByteArray(Proprieta proprieta,boolean prettyPrint) throws SerializerException {
  3311.         return this.objToXml(Proprieta.class, proprieta, prettyPrint).toByteArray();
  3312.     }
  3313.    
  3314.     /**
  3315.      * Serialize to String the object <var>proprieta</var> of type {@link org.openspcoop2.core.tracciamento.Proprieta}
  3316.      *
  3317.      * @param proprieta Object to be serialized
  3318.      * @return Object to be serialized as String
  3319.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3320.      */
  3321.     public String toString(Proprieta proprieta) throws SerializerException {
  3322.         return this.objToXml(Proprieta.class, proprieta, false).toString();
  3323.     }
  3324.     /**
  3325.      * Serialize to String the object <var>proprieta</var> of type {@link org.openspcoop2.core.tracciamento.Proprieta}
  3326.      *
  3327.      * @param proprieta Object to be serialized
  3328.      * @param prettyPrint if true output the XML with indenting
  3329.      * @return Object to be serialized as String
  3330.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3331.      */
  3332.     public String toString(Proprieta proprieta,boolean prettyPrint) throws SerializerException {
  3333.         return this.objToXml(Proprieta.class, proprieta, prettyPrint).toString();
  3334.     }
  3335.    
  3336.    
  3337.    
  3338.     /*
  3339.      =================================================================================
  3340.      Object: trasmissione
  3341.      =================================================================================
  3342.     */
  3343.    
  3344.     /**
  3345.      * Serialize to file system in <var>fileName</var> the object <var>trasmissione</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissione}
  3346.      *
  3347.      * @param fileName Xml file to serialize the object <var>trasmissione</var>
  3348.      * @param trasmissione Object to be serialized in xml file <var>fileName</var>
  3349.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3350.      */
  3351.     public void write(String fileName,Trasmissione trasmissione) throws SerializerException {
  3352.         this.objToXml(fileName, Trasmissione.class, trasmissione, false);
  3353.     }
  3354.     /**
  3355.      * Serialize to file system in <var>fileName</var> the object <var>trasmissione</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissione}
  3356.      *
  3357.      * @param fileName Xml file to serialize the object <var>trasmissione</var>
  3358.      * @param trasmissione Object to be serialized in xml file <var>fileName</var>
  3359.      * @param prettyPrint if true output the XML with indenting
  3360.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3361.      */
  3362.     public void write(String fileName,Trasmissione trasmissione,boolean prettyPrint) throws SerializerException {
  3363.         this.objToXml(fileName, Trasmissione.class, trasmissione, prettyPrint);
  3364.     }
  3365.    
  3366.     /**
  3367.      * Serialize to file system in <var>file</var> the object <var>trasmissione</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissione}
  3368.      *
  3369.      * @param file Xml file to serialize the object <var>trasmissione</var>
  3370.      * @param trasmissione Object to be serialized in xml file <var>fileName</var>
  3371.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3372.      */
  3373.     public void write(File file,Trasmissione trasmissione) throws SerializerException {
  3374.         this.objToXml(file, Trasmissione.class, trasmissione, false);
  3375.     }
  3376.     /**
  3377.      * Serialize to file system in <var>file</var> the object <var>trasmissione</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissione}
  3378.      *
  3379.      * @param file Xml file to serialize the object <var>trasmissione</var>
  3380.      * @param trasmissione Object to be serialized in xml file <var>fileName</var>
  3381.      * @param prettyPrint if true output the XML with indenting
  3382.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3383.      */
  3384.     public void write(File file,Trasmissione trasmissione,boolean prettyPrint) throws SerializerException {
  3385.         this.objToXml(file, Trasmissione.class, trasmissione, prettyPrint);
  3386.     }
  3387.    
  3388.     /**
  3389.      * Serialize to output stream <var>out</var> the object <var>trasmissione</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissione}
  3390.      *
  3391.      * @param out OutputStream to serialize the object <var>trasmissione</var>
  3392.      * @param trasmissione Object to be serialized in xml file <var>fileName</var>
  3393.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3394.      */
  3395.     public void write(OutputStream out,Trasmissione trasmissione) throws SerializerException {
  3396.         this.objToXml(out, Trasmissione.class, trasmissione, false);
  3397.     }
  3398.     /**
  3399.      * Serialize to output stream <var>out</var> the object <var>trasmissione</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissione}
  3400.      *
  3401.      * @param out OutputStream to serialize the object <var>trasmissione</var>
  3402.      * @param trasmissione Object to be serialized in xml file <var>fileName</var>
  3403.      * @param prettyPrint if true output the XML with indenting
  3404.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3405.      */
  3406.     public void write(OutputStream out,Trasmissione trasmissione,boolean prettyPrint) throws SerializerException {
  3407.         this.objToXml(out, Trasmissione.class, trasmissione, prettyPrint);
  3408.     }
  3409.            
  3410.     /**
  3411.      * Serialize to byte array the object <var>trasmissione</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissione}
  3412.      *
  3413.      * @param trasmissione Object to be serialized
  3414.      * @return Object to be serialized in byte array
  3415.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3416.      */
  3417.     public byte[] toByteArray(Trasmissione trasmissione) throws SerializerException {
  3418.         return this.objToXml(Trasmissione.class, trasmissione, false).toByteArray();
  3419.     }
  3420.     /**
  3421.      * Serialize to byte array the object <var>trasmissione</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissione}
  3422.      *
  3423.      * @param trasmissione Object to be serialized
  3424.      * @param prettyPrint if true output the XML with indenting
  3425.      * @return Object to be serialized in byte array
  3426.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3427.      */
  3428.     public byte[] toByteArray(Trasmissione trasmissione,boolean prettyPrint) throws SerializerException {
  3429.         return this.objToXml(Trasmissione.class, trasmissione, prettyPrint).toByteArray();
  3430.     }
  3431.    
  3432.     /**
  3433.      * Serialize to String the object <var>trasmissione</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissione}
  3434.      *
  3435.      * @param trasmissione Object to be serialized
  3436.      * @return Object to be serialized as String
  3437.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3438.      */
  3439.     public String toString(Trasmissione trasmissione) throws SerializerException {
  3440.         return this.objToXml(Trasmissione.class, trasmissione, false).toString();
  3441.     }
  3442.     /**
  3443.      * Serialize to String the object <var>trasmissione</var> of type {@link org.openspcoop2.core.tracciamento.Trasmissione}
  3444.      *
  3445.      * @param trasmissione Object to be serialized
  3446.      * @param prettyPrint if true output the XML with indenting
  3447.      * @return Object to be serialized as String
  3448.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3449.      */
  3450.     public String toString(Trasmissione trasmissione,boolean prettyPrint) throws SerializerException {
  3451.         return this.objToXml(Trasmissione.class, trasmissione, prettyPrint).toString();
  3452.     }
  3453.    
  3454.    
  3455.    
  3456.     /*
  3457.      =================================================================================
  3458.      Object: dominio-id-traccia-soggetto
  3459.      =================================================================================
  3460.     */
  3461.    
  3462.     /**
  3463.      * Serialize to file system in <var>fileName</var> the object <var>dominioIdTracciaSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTracciaSoggetto}
  3464.      *
  3465.      * @param fileName Xml file to serialize the object <var>dominioIdTracciaSoggetto</var>
  3466.      * @param dominioIdTracciaSoggetto Object to be serialized in xml file <var>fileName</var>
  3467.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3468.      */
  3469.     public void write(String fileName,DominioIdTracciaSoggetto dominioIdTracciaSoggetto) throws SerializerException {
  3470.         this.objToXml(fileName, DominioIdTracciaSoggetto.class, dominioIdTracciaSoggetto, false);
  3471.     }
  3472.     /**
  3473.      * Serialize to file system in <var>fileName</var> the object <var>dominioIdTracciaSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTracciaSoggetto}
  3474.      *
  3475.      * @param fileName Xml file to serialize the object <var>dominioIdTracciaSoggetto</var>
  3476.      * @param dominioIdTracciaSoggetto Object to be serialized in xml file <var>fileName</var>
  3477.      * @param prettyPrint if true output the XML with indenting
  3478.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3479.      */
  3480.     public void write(String fileName,DominioIdTracciaSoggetto dominioIdTracciaSoggetto,boolean prettyPrint) throws SerializerException {
  3481.         this.objToXml(fileName, DominioIdTracciaSoggetto.class, dominioIdTracciaSoggetto, prettyPrint);
  3482.     }
  3483.    
  3484.     /**
  3485.      * Serialize to file system in <var>file</var> the object <var>dominioIdTracciaSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTracciaSoggetto}
  3486.      *
  3487.      * @param file Xml file to serialize the object <var>dominioIdTracciaSoggetto</var>
  3488.      * @param dominioIdTracciaSoggetto Object to be serialized in xml file <var>fileName</var>
  3489.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3490.      */
  3491.     public void write(File file,DominioIdTracciaSoggetto dominioIdTracciaSoggetto) throws SerializerException {
  3492.         this.objToXml(file, DominioIdTracciaSoggetto.class, dominioIdTracciaSoggetto, false);
  3493.     }
  3494.     /**
  3495.      * Serialize to file system in <var>file</var> the object <var>dominioIdTracciaSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTracciaSoggetto}
  3496.      *
  3497.      * @param file Xml file to serialize the object <var>dominioIdTracciaSoggetto</var>
  3498.      * @param dominioIdTracciaSoggetto Object to be serialized in xml file <var>fileName</var>
  3499.      * @param prettyPrint if true output the XML with indenting
  3500.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3501.      */
  3502.     public void write(File file,DominioIdTracciaSoggetto dominioIdTracciaSoggetto,boolean prettyPrint) throws SerializerException {
  3503.         this.objToXml(file, DominioIdTracciaSoggetto.class, dominioIdTracciaSoggetto, prettyPrint);
  3504.     }
  3505.    
  3506.     /**
  3507.      * Serialize to output stream <var>out</var> the object <var>dominioIdTracciaSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTracciaSoggetto}
  3508.      *
  3509.      * @param out OutputStream to serialize the object <var>dominioIdTracciaSoggetto</var>
  3510.      * @param dominioIdTracciaSoggetto Object to be serialized in xml file <var>fileName</var>
  3511.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3512.      */
  3513.     public void write(OutputStream out,DominioIdTracciaSoggetto dominioIdTracciaSoggetto) throws SerializerException {
  3514.         this.objToXml(out, DominioIdTracciaSoggetto.class, dominioIdTracciaSoggetto, false);
  3515.     }
  3516.     /**
  3517.      * Serialize to output stream <var>out</var> the object <var>dominioIdTracciaSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTracciaSoggetto}
  3518.      *
  3519.      * @param out OutputStream to serialize the object <var>dominioIdTracciaSoggetto</var>
  3520.      * @param dominioIdTracciaSoggetto Object to be serialized in xml file <var>fileName</var>
  3521.      * @param prettyPrint if true output the XML with indenting
  3522.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3523.      */
  3524.     public void write(OutputStream out,DominioIdTracciaSoggetto dominioIdTracciaSoggetto,boolean prettyPrint) throws SerializerException {
  3525.         this.objToXml(out, DominioIdTracciaSoggetto.class, dominioIdTracciaSoggetto, prettyPrint);
  3526.     }
  3527.            
  3528.     /**
  3529.      * Serialize to byte array the object <var>dominioIdTracciaSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTracciaSoggetto}
  3530.      *
  3531.      * @param dominioIdTracciaSoggetto Object to be serialized
  3532.      * @return Object to be serialized in byte array
  3533.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3534.      */
  3535.     public byte[] toByteArray(DominioIdTracciaSoggetto dominioIdTracciaSoggetto) throws SerializerException {
  3536.         return this.objToXml(DominioIdTracciaSoggetto.class, dominioIdTracciaSoggetto, false).toByteArray();
  3537.     }
  3538.     /**
  3539.      * Serialize to byte array the object <var>dominioIdTracciaSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTracciaSoggetto}
  3540.      *
  3541.      * @param dominioIdTracciaSoggetto Object to be serialized
  3542.      * @param prettyPrint if true output the XML with indenting
  3543.      * @return Object to be serialized in byte array
  3544.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3545.      */
  3546.     public byte[] toByteArray(DominioIdTracciaSoggetto dominioIdTracciaSoggetto,boolean prettyPrint) throws SerializerException {
  3547.         return this.objToXml(DominioIdTracciaSoggetto.class, dominioIdTracciaSoggetto, prettyPrint).toByteArray();
  3548.     }
  3549.    
  3550.     /**
  3551.      * Serialize to String the object <var>dominioIdTracciaSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTracciaSoggetto}
  3552.      *
  3553.      * @param dominioIdTracciaSoggetto Object to be serialized
  3554.      * @return Object to be serialized as String
  3555.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3556.      */
  3557.     public String toString(DominioIdTracciaSoggetto dominioIdTracciaSoggetto) throws SerializerException {
  3558.         return this.objToXml(DominioIdTracciaSoggetto.class, dominioIdTracciaSoggetto, false).toString();
  3559.     }
  3560.     /**
  3561.      * Serialize to String the object <var>dominioIdTracciaSoggetto</var> of type {@link org.openspcoop2.core.tracciamento.DominioIdTracciaSoggetto}
  3562.      *
  3563.      * @param dominioIdTracciaSoggetto Object to be serialized
  3564.      * @param prettyPrint if true output the XML with indenting
  3565.      * @return Object to be serialized as String
  3566.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  3567.      */
  3568.     public String toString(DominioIdTracciaSoggetto dominioIdTracciaSoggetto,boolean prettyPrint) throws SerializerException {
  3569.         return this.objToXml(DominioIdTracciaSoggetto.class, dominioIdTracciaSoggetto, prettyPrint).toString();
  3570.     }
  3571.    
  3572.    
  3573.    

  3574. }