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 it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.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 it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AllegatiType;
  25. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiIVAType;
  26. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AltriDatiIdentificativiType;
  27. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IndirizzoType;
  28. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.RappresentanteFiscaleType;
  29. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdFiscaleType;
  30. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdentificativiFiscaliType;
  31. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliDocumentoType;
  32. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliType;
  33. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiFatturaRettificataType;
  34. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaBodyType;
  35. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiBeniServiziType;
  36. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaHeaderType;
  37. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaType;
  38. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiTrasmissioneType;
  39. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CedentePrestatoreType;
  40. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CessionarioCommittenteType;
  41. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IscrizioneREAType;

  42. import java.io.ByteArrayOutputStream;
  43. import java.io.FileOutputStream;
  44. import java.io.OutputStream;
  45. import java.io.File;
  46. import java.lang.reflect.Method;

  47. import javax.xml.bind.JAXBElement;

  48. /**    
  49.  * XML Serializer of beans
  50.  *
  51.  * @author Poli Andrea (poli@link.it)
  52.  * @author $Author$
  53.  * @version $Rev$, $Date$
  54.  */
  55. public abstract class AbstractSerializer {


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




  141.     /*
  142.      =================================================================================
  143.      Object: AllegatiType
  144.      =================================================================================
  145.     */
  146.    
  147.     /**
  148.      * Serialize to file system in <var>fileName</var> the object <var>allegatiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AllegatiType}
  149.      *
  150.      * @param fileName Xml file to serialize the object <var>allegatiType</var>
  151.      * @param allegatiType Object to be serialized in xml file <var>fileName</var>
  152.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  153.      */
  154.     public void write(String fileName,AllegatiType allegatiType) throws SerializerException {
  155.         this.objToXml(fileName, AllegatiType.class, allegatiType, false);
  156.     }
  157.     /**
  158.      * Serialize to file system in <var>fileName</var> the object <var>allegatiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AllegatiType}
  159.      *
  160.      * @param fileName Xml file to serialize the object <var>allegatiType</var>
  161.      * @param allegatiType Object to be serialized in xml file <var>fileName</var>
  162.      * @param prettyPrint if true output the XML with indenting
  163.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  164.      */
  165.     public void write(String fileName,AllegatiType allegatiType,boolean prettyPrint) throws SerializerException {
  166.         this.objToXml(fileName, AllegatiType.class, allegatiType, prettyPrint);
  167.     }
  168.    
  169.     /**
  170.      * Serialize to file system in <var>file</var> the object <var>allegatiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AllegatiType}
  171.      *
  172.      * @param file Xml file to serialize the object <var>allegatiType</var>
  173.      * @param allegatiType Object to be serialized in xml file <var>fileName</var>
  174.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  175.      */
  176.     public void write(File file,AllegatiType allegatiType) throws SerializerException {
  177.         this.objToXml(file, AllegatiType.class, allegatiType, false);
  178.     }
  179.     /**
  180.      * Serialize to file system in <var>file</var> the object <var>allegatiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AllegatiType}
  181.      *
  182.      * @param file Xml file to serialize the object <var>allegatiType</var>
  183.      * @param allegatiType Object to be serialized in xml file <var>fileName</var>
  184.      * @param prettyPrint if true output the XML with indenting
  185.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  186.      */
  187.     public void write(File file,AllegatiType allegatiType,boolean prettyPrint) throws SerializerException {
  188.         this.objToXml(file, AllegatiType.class, allegatiType, prettyPrint);
  189.     }
  190.    
  191.     /**
  192.      * Serialize to output stream <var>out</var> the object <var>allegatiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AllegatiType}
  193.      *
  194.      * @param out OutputStream to serialize the object <var>allegatiType</var>
  195.      * @param allegatiType Object to be serialized in xml file <var>fileName</var>
  196.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  197.      */
  198.     public void write(OutputStream out,AllegatiType allegatiType) throws SerializerException {
  199.         this.objToXml(out, AllegatiType.class, allegatiType, false);
  200.     }
  201.     /**
  202.      * Serialize to output stream <var>out</var> the object <var>allegatiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AllegatiType}
  203.      *
  204.      * @param out OutputStream to serialize the object <var>allegatiType</var>
  205.      * @param allegatiType Object to be serialized in xml file <var>fileName</var>
  206.      * @param prettyPrint if true output the XML with indenting
  207.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  208.      */
  209.     public void write(OutputStream out,AllegatiType allegatiType,boolean prettyPrint) throws SerializerException {
  210.         this.objToXml(out, AllegatiType.class, allegatiType, prettyPrint);
  211.     }
  212.            
  213.     /**
  214.      * Serialize to byte array the object <var>allegatiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AllegatiType}
  215.      *
  216.      * @param allegatiType Object to be serialized
  217.      * @return Object to be serialized in byte array
  218.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  219.      */
  220.     public byte[] toByteArray(AllegatiType allegatiType) throws SerializerException {
  221.         return this.objToXml(AllegatiType.class, allegatiType, false).toByteArray();
  222.     }
  223.     /**
  224.      * Serialize to byte array the object <var>allegatiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AllegatiType}
  225.      *
  226.      * @param allegatiType Object to be serialized
  227.      * @param prettyPrint if true output the XML with indenting
  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(AllegatiType allegatiType,boolean prettyPrint) throws SerializerException {
  232.         return this.objToXml(AllegatiType.class, allegatiType, prettyPrint).toByteArray();
  233.     }
  234.    
  235.     /**
  236.      * Serialize to String the object <var>allegatiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AllegatiType}
  237.      *
  238.      * @param allegatiType Object to be serialized
  239.      * @return Object to be serialized as String
  240.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  241.      */
  242.     public String toString(AllegatiType allegatiType) throws SerializerException {
  243.         return this.objToXml(AllegatiType.class, allegatiType, false).toString();
  244.     }
  245.     /**
  246.      * Serialize to String the object <var>allegatiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AllegatiType}
  247.      *
  248.      * @param allegatiType Object to be serialized
  249.      * @param prettyPrint if true output the XML with indenting
  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(AllegatiType allegatiType,boolean prettyPrint) throws SerializerException {
  254.         return this.objToXml(AllegatiType.class, allegatiType, prettyPrint).toString();
  255.     }
  256.    
  257.    
  258.    
  259.     /*
  260.      =================================================================================
  261.      Object: DatiIVAType
  262.      =================================================================================
  263.     */
  264.    
  265.     /**
  266.      * Serialize to file system in <var>fileName</var> the object <var>datiIVAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiIVAType}
  267.      *
  268.      * @param fileName Xml file to serialize the object <var>datiIVAType</var>
  269.      * @param datiIVAType Object to be serialized in xml file <var>fileName</var>
  270.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  271.      */
  272.     public void write(String fileName,DatiIVAType datiIVAType) throws SerializerException {
  273.         this.objToXml(fileName, DatiIVAType.class, datiIVAType, false);
  274.     }
  275.     /**
  276.      * Serialize to file system in <var>fileName</var> the object <var>datiIVAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiIVAType}
  277.      *
  278.      * @param fileName Xml file to serialize the object <var>datiIVAType</var>
  279.      * @param datiIVAType Object to be serialized in xml file <var>fileName</var>
  280.      * @param prettyPrint if true output the XML with indenting
  281.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  282.      */
  283.     public void write(String fileName,DatiIVAType datiIVAType,boolean prettyPrint) throws SerializerException {
  284.         this.objToXml(fileName, DatiIVAType.class, datiIVAType, prettyPrint);
  285.     }
  286.    
  287.     /**
  288.      * Serialize to file system in <var>file</var> the object <var>datiIVAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiIVAType}
  289.      *
  290.      * @param file Xml file to serialize the object <var>datiIVAType</var>
  291.      * @param datiIVAType Object to be serialized in xml file <var>fileName</var>
  292.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  293.      */
  294.     public void write(File file,DatiIVAType datiIVAType) throws SerializerException {
  295.         this.objToXml(file, DatiIVAType.class, datiIVAType, false);
  296.     }
  297.     /**
  298.      * Serialize to file system in <var>file</var> the object <var>datiIVAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiIVAType}
  299.      *
  300.      * @param file Xml file to serialize the object <var>datiIVAType</var>
  301.      * @param datiIVAType Object to be serialized in xml file <var>fileName</var>
  302.      * @param prettyPrint if true output the XML with indenting
  303.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  304.      */
  305.     public void write(File file,DatiIVAType datiIVAType,boolean prettyPrint) throws SerializerException {
  306.         this.objToXml(file, DatiIVAType.class, datiIVAType, prettyPrint);
  307.     }
  308.    
  309.     /**
  310.      * Serialize to output stream <var>out</var> the object <var>datiIVAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiIVAType}
  311.      *
  312.      * @param out OutputStream to serialize the object <var>datiIVAType</var>
  313.      * @param datiIVAType Object to be serialized in xml file <var>fileName</var>
  314.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  315.      */
  316.     public void write(OutputStream out,DatiIVAType datiIVAType) throws SerializerException {
  317.         this.objToXml(out, DatiIVAType.class, datiIVAType, false);
  318.     }
  319.     /**
  320.      * Serialize to output stream <var>out</var> the object <var>datiIVAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiIVAType}
  321.      *
  322.      * @param out OutputStream to serialize the object <var>datiIVAType</var>
  323.      * @param datiIVAType Object to be serialized in xml file <var>fileName</var>
  324.      * @param prettyPrint if true output the XML with indenting
  325.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  326.      */
  327.     public void write(OutputStream out,DatiIVAType datiIVAType,boolean prettyPrint) throws SerializerException {
  328.         this.objToXml(out, DatiIVAType.class, datiIVAType, prettyPrint);
  329.     }
  330.            
  331.     /**
  332.      * Serialize to byte array the object <var>datiIVAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiIVAType}
  333.      *
  334.      * @param datiIVAType Object to be serialized
  335.      * @return Object to be serialized in byte array
  336.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  337.      */
  338.     public byte[] toByteArray(DatiIVAType datiIVAType) throws SerializerException {
  339.         return this.objToXml(DatiIVAType.class, datiIVAType, false).toByteArray();
  340.     }
  341.     /**
  342.      * Serialize to byte array the object <var>datiIVAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiIVAType}
  343.      *
  344.      * @param datiIVAType Object to be serialized
  345.      * @param prettyPrint if true output the XML with indenting
  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(DatiIVAType datiIVAType,boolean prettyPrint) throws SerializerException {
  350.         return this.objToXml(DatiIVAType.class, datiIVAType, prettyPrint).toByteArray();
  351.     }
  352.    
  353.     /**
  354.      * Serialize to String the object <var>datiIVAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiIVAType}
  355.      *
  356.      * @param datiIVAType Object to be serialized
  357.      * @return Object to be serialized as String
  358.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  359.      */
  360.     public String toString(DatiIVAType datiIVAType) throws SerializerException {
  361.         return this.objToXml(DatiIVAType.class, datiIVAType, false).toString();
  362.     }
  363.     /**
  364.      * Serialize to String the object <var>datiIVAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiIVAType}
  365.      *
  366.      * @param datiIVAType Object to be serialized
  367.      * @param prettyPrint if true output the XML with indenting
  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(DatiIVAType datiIVAType,boolean prettyPrint) throws SerializerException {
  372.         return this.objToXml(DatiIVAType.class, datiIVAType, prettyPrint).toString();
  373.     }
  374.    
  375.    
  376.    
  377.     /*
  378.      =================================================================================
  379.      Object: AltriDatiIdentificativiType
  380.      =================================================================================
  381.     */
  382.    
  383.     /**
  384.      * Serialize to file system in <var>fileName</var> the object <var>altriDatiIdentificativiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AltriDatiIdentificativiType}
  385.      *
  386.      * @param fileName Xml file to serialize the object <var>altriDatiIdentificativiType</var>
  387.      * @param altriDatiIdentificativiType Object to be serialized in xml file <var>fileName</var>
  388.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  389.      */
  390.     public void write(String fileName,AltriDatiIdentificativiType altriDatiIdentificativiType) throws SerializerException {
  391.         this.objToXml(fileName, AltriDatiIdentificativiType.class, altriDatiIdentificativiType, false);
  392.     }
  393.     /**
  394.      * Serialize to file system in <var>fileName</var> the object <var>altriDatiIdentificativiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AltriDatiIdentificativiType}
  395.      *
  396.      * @param fileName Xml file to serialize the object <var>altriDatiIdentificativiType</var>
  397.      * @param altriDatiIdentificativiType Object to be serialized in xml file <var>fileName</var>
  398.      * @param prettyPrint if true output the XML with indenting
  399.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  400.      */
  401.     public void write(String fileName,AltriDatiIdentificativiType altriDatiIdentificativiType,boolean prettyPrint) throws SerializerException {
  402.         this.objToXml(fileName, AltriDatiIdentificativiType.class, altriDatiIdentificativiType, prettyPrint);
  403.     }
  404.    
  405.     /**
  406.      * Serialize to file system in <var>file</var> the object <var>altriDatiIdentificativiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AltriDatiIdentificativiType}
  407.      *
  408.      * @param file Xml file to serialize the object <var>altriDatiIdentificativiType</var>
  409.      * @param altriDatiIdentificativiType Object to be serialized in xml file <var>fileName</var>
  410.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  411.      */
  412.     public void write(File file,AltriDatiIdentificativiType altriDatiIdentificativiType) throws SerializerException {
  413.         this.objToXml(file, AltriDatiIdentificativiType.class, altriDatiIdentificativiType, false);
  414.     }
  415.     /**
  416.      * Serialize to file system in <var>file</var> the object <var>altriDatiIdentificativiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AltriDatiIdentificativiType}
  417.      *
  418.      * @param file Xml file to serialize the object <var>altriDatiIdentificativiType</var>
  419.      * @param altriDatiIdentificativiType Object to be serialized in xml file <var>fileName</var>
  420.      * @param prettyPrint if true output the XML with indenting
  421.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  422.      */
  423.     public void write(File file,AltriDatiIdentificativiType altriDatiIdentificativiType,boolean prettyPrint) throws SerializerException {
  424.         this.objToXml(file, AltriDatiIdentificativiType.class, altriDatiIdentificativiType, prettyPrint);
  425.     }
  426.    
  427.     /**
  428.      * Serialize to output stream <var>out</var> the object <var>altriDatiIdentificativiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AltriDatiIdentificativiType}
  429.      *
  430.      * @param out OutputStream to serialize the object <var>altriDatiIdentificativiType</var>
  431.      * @param altriDatiIdentificativiType Object to be serialized in xml file <var>fileName</var>
  432.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  433.      */
  434.     public void write(OutputStream out,AltriDatiIdentificativiType altriDatiIdentificativiType) throws SerializerException {
  435.         this.objToXml(out, AltriDatiIdentificativiType.class, altriDatiIdentificativiType, false);
  436.     }
  437.     /**
  438.      * Serialize to output stream <var>out</var> the object <var>altriDatiIdentificativiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AltriDatiIdentificativiType}
  439.      *
  440.      * @param out OutputStream to serialize the object <var>altriDatiIdentificativiType</var>
  441.      * @param altriDatiIdentificativiType Object to be serialized in xml file <var>fileName</var>
  442.      * @param prettyPrint if true output the XML with indenting
  443.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  444.      */
  445.     public void write(OutputStream out,AltriDatiIdentificativiType altriDatiIdentificativiType,boolean prettyPrint) throws SerializerException {
  446.         this.objToXml(out, AltriDatiIdentificativiType.class, altriDatiIdentificativiType, prettyPrint);
  447.     }
  448.            
  449.     /**
  450.      * Serialize to byte array the object <var>altriDatiIdentificativiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AltriDatiIdentificativiType}
  451.      *
  452.      * @param altriDatiIdentificativiType Object to be serialized
  453.      * @return Object to be serialized in byte array
  454.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  455.      */
  456.     public byte[] toByteArray(AltriDatiIdentificativiType altriDatiIdentificativiType) throws SerializerException {
  457.         return this.objToXml(AltriDatiIdentificativiType.class, altriDatiIdentificativiType, false).toByteArray();
  458.     }
  459.     /**
  460.      * Serialize to byte array the object <var>altriDatiIdentificativiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AltriDatiIdentificativiType}
  461.      *
  462.      * @param altriDatiIdentificativiType Object to be serialized
  463.      * @param prettyPrint if true output the XML with indenting
  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(AltriDatiIdentificativiType altriDatiIdentificativiType,boolean prettyPrint) throws SerializerException {
  468.         return this.objToXml(AltriDatiIdentificativiType.class, altriDatiIdentificativiType, prettyPrint).toByteArray();
  469.     }
  470.    
  471.     /**
  472.      * Serialize to String the object <var>altriDatiIdentificativiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AltriDatiIdentificativiType}
  473.      *
  474.      * @param altriDatiIdentificativiType Object to be serialized
  475.      * @return Object to be serialized as String
  476.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  477.      */
  478.     public String toString(AltriDatiIdentificativiType altriDatiIdentificativiType) throws SerializerException {
  479.         return this.objToXml(AltriDatiIdentificativiType.class, altriDatiIdentificativiType, false).toString();
  480.     }
  481.     /**
  482.      * Serialize to String the object <var>altriDatiIdentificativiType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.AltriDatiIdentificativiType}
  483.      *
  484.      * @param altriDatiIdentificativiType Object to be serialized
  485.      * @param prettyPrint if true output the XML with indenting
  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(AltriDatiIdentificativiType altriDatiIdentificativiType,boolean prettyPrint) throws SerializerException {
  490.         return this.objToXml(AltriDatiIdentificativiType.class, altriDatiIdentificativiType, prettyPrint).toString();
  491.     }
  492.    
  493.    
  494.    
  495.     /*
  496.      =================================================================================
  497.      Object: IndirizzoType
  498.      =================================================================================
  499.     */
  500.    
  501.     /**
  502.      * Serialize to file system in <var>fileName</var> the object <var>indirizzoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IndirizzoType}
  503.      *
  504.      * @param fileName Xml file to serialize the object <var>indirizzoType</var>
  505.      * @param indirizzoType Object to be serialized in xml file <var>fileName</var>
  506.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  507.      */
  508.     public void write(String fileName,IndirizzoType indirizzoType) throws SerializerException {
  509.         this.objToXml(fileName, IndirizzoType.class, indirizzoType, false);
  510.     }
  511.     /**
  512.      * Serialize to file system in <var>fileName</var> the object <var>indirizzoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IndirizzoType}
  513.      *
  514.      * @param fileName Xml file to serialize the object <var>indirizzoType</var>
  515.      * @param indirizzoType Object to be serialized in xml file <var>fileName</var>
  516.      * @param prettyPrint if true output the XML with indenting
  517.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  518.      */
  519.     public void write(String fileName,IndirizzoType indirizzoType,boolean prettyPrint) throws SerializerException {
  520.         this.objToXml(fileName, IndirizzoType.class, indirizzoType, prettyPrint);
  521.     }
  522.    
  523.     /**
  524.      * Serialize to file system in <var>file</var> the object <var>indirizzoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IndirizzoType}
  525.      *
  526.      * @param file Xml file to serialize the object <var>indirizzoType</var>
  527.      * @param indirizzoType Object to be serialized in xml file <var>fileName</var>
  528.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  529.      */
  530.     public void write(File file,IndirizzoType indirizzoType) throws SerializerException {
  531.         this.objToXml(file, IndirizzoType.class, indirizzoType, false);
  532.     }
  533.     /**
  534.      * Serialize to file system in <var>file</var> the object <var>indirizzoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IndirizzoType}
  535.      *
  536.      * @param file Xml file to serialize the object <var>indirizzoType</var>
  537.      * @param indirizzoType Object to be serialized in xml file <var>fileName</var>
  538.      * @param prettyPrint if true output the XML with indenting
  539.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  540.      */
  541.     public void write(File file,IndirizzoType indirizzoType,boolean prettyPrint) throws SerializerException {
  542.         this.objToXml(file, IndirizzoType.class, indirizzoType, prettyPrint);
  543.     }
  544.    
  545.     /**
  546.      * Serialize to output stream <var>out</var> the object <var>indirizzoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IndirizzoType}
  547.      *
  548.      * @param out OutputStream to serialize the object <var>indirizzoType</var>
  549.      * @param indirizzoType Object to be serialized in xml file <var>fileName</var>
  550.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  551.      */
  552.     public void write(OutputStream out,IndirizzoType indirizzoType) throws SerializerException {
  553.         this.objToXml(out, IndirizzoType.class, indirizzoType, false);
  554.     }
  555.     /**
  556.      * Serialize to output stream <var>out</var> the object <var>indirizzoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IndirizzoType}
  557.      *
  558.      * @param out OutputStream to serialize the object <var>indirizzoType</var>
  559.      * @param indirizzoType Object to be serialized in xml file <var>fileName</var>
  560.      * @param prettyPrint if true output the XML with indenting
  561.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  562.      */
  563.     public void write(OutputStream out,IndirizzoType indirizzoType,boolean prettyPrint) throws SerializerException {
  564.         this.objToXml(out, IndirizzoType.class, indirizzoType, prettyPrint);
  565.     }
  566.            
  567.     /**
  568.      * Serialize to byte array the object <var>indirizzoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IndirizzoType}
  569.      *
  570.      * @param indirizzoType Object to be serialized
  571.      * @return Object to be serialized in byte array
  572.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  573.      */
  574.     public byte[] toByteArray(IndirizzoType indirizzoType) throws SerializerException {
  575.         return this.objToXml(IndirizzoType.class, indirizzoType, false).toByteArray();
  576.     }
  577.     /**
  578.      * Serialize to byte array the object <var>indirizzoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IndirizzoType}
  579.      *
  580.      * @param indirizzoType Object to be serialized
  581.      * @param prettyPrint if true output the XML with indenting
  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(IndirizzoType indirizzoType,boolean prettyPrint) throws SerializerException {
  586.         return this.objToXml(IndirizzoType.class, indirizzoType, prettyPrint).toByteArray();
  587.     }
  588.    
  589.     /**
  590.      * Serialize to String the object <var>indirizzoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IndirizzoType}
  591.      *
  592.      * @param indirizzoType Object to be serialized
  593.      * @return Object to be serialized as String
  594.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  595.      */
  596.     public String toString(IndirizzoType indirizzoType) throws SerializerException {
  597.         return this.objToXml(IndirizzoType.class, indirizzoType, false).toString();
  598.     }
  599.     /**
  600.      * Serialize to String the object <var>indirizzoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IndirizzoType}
  601.      *
  602.      * @param indirizzoType Object to be serialized
  603.      * @param prettyPrint if true output the XML with indenting
  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(IndirizzoType indirizzoType,boolean prettyPrint) throws SerializerException {
  608.         return this.objToXml(IndirizzoType.class, indirizzoType, prettyPrint).toString();
  609.     }
  610.    
  611.    
  612.    
  613.     /*
  614.      =================================================================================
  615.      Object: RappresentanteFiscaleType
  616.      =================================================================================
  617.     */
  618.    
  619.     /**
  620.      * Serialize to file system in <var>fileName</var> the object <var>rappresentanteFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.RappresentanteFiscaleType}
  621.      *
  622.      * @param fileName Xml file to serialize the object <var>rappresentanteFiscaleType</var>
  623.      * @param rappresentanteFiscaleType Object to be serialized in xml file <var>fileName</var>
  624.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  625.      */
  626.     public void write(String fileName,RappresentanteFiscaleType rappresentanteFiscaleType) throws SerializerException {
  627.         this.objToXml(fileName, RappresentanteFiscaleType.class, rappresentanteFiscaleType, false);
  628.     }
  629.     /**
  630.      * Serialize to file system in <var>fileName</var> the object <var>rappresentanteFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.RappresentanteFiscaleType}
  631.      *
  632.      * @param fileName Xml file to serialize the object <var>rappresentanteFiscaleType</var>
  633.      * @param rappresentanteFiscaleType Object to be serialized in xml file <var>fileName</var>
  634.      * @param prettyPrint if true output the XML with indenting
  635.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  636.      */
  637.     public void write(String fileName,RappresentanteFiscaleType rappresentanteFiscaleType,boolean prettyPrint) throws SerializerException {
  638.         this.objToXml(fileName, RappresentanteFiscaleType.class, rappresentanteFiscaleType, prettyPrint);
  639.     }
  640.    
  641.     /**
  642.      * Serialize to file system in <var>file</var> the object <var>rappresentanteFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.RappresentanteFiscaleType}
  643.      *
  644.      * @param file Xml file to serialize the object <var>rappresentanteFiscaleType</var>
  645.      * @param rappresentanteFiscaleType Object to be serialized in xml file <var>fileName</var>
  646.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  647.      */
  648.     public void write(File file,RappresentanteFiscaleType rappresentanteFiscaleType) throws SerializerException {
  649.         this.objToXml(file, RappresentanteFiscaleType.class, rappresentanteFiscaleType, false);
  650.     }
  651.     /**
  652.      * Serialize to file system in <var>file</var> the object <var>rappresentanteFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.RappresentanteFiscaleType}
  653.      *
  654.      * @param file Xml file to serialize the object <var>rappresentanteFiscaleType</var>
  655.      * @param rappresentanteFiscaleType Object to be serialized in xml file <var>fileName</var>
  656.      * @param prettyPrint if true output the XML with indenting
  657.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  658.      */
  659.     public void write(File file,RappresentanteFiscaleType rappresentanteFiscaleType,boolean prettyPrint) throws SerializerException {
  660.         this.objToXml(file, RappresentanteFiscaleType.class, rappresentanteFiscaleType, prettyPrint);
  661.     }
  662.    
  663.     /**
  664.      * Serialize to output stream <var>out</var> the object <var>rappresentanteFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.RappresentanteFiscaleType}
  665.      *
  666.      * @param out OutputStream to serialize the object <var>rappresentanteFiscaleType</var>
  667.      * @param rappresentanteFiscaleType Object to be serialized in xml file <var>fileName</var>
  668.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  669.      */
  670.     public void write(OutputStream out,RappresentanteFiscaleType rappresentanteFiscaleType) throws SerializerException {
  671.         this.objToXml(out, RappresentanteFiscaleType.class, rappresentanteFiscaleType, false);
  672.     }
  673.     /**
  674.      * Serialize to output stream <var>out</var> the object <var>rappresentanteFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.RappresentanteFiscaleType}
  675.      *
  676.      * @param out OutputStream to serialize the object <var>rappresentanteFiscaleType</var>
  677.      * @param rappresentanteFiscaleType Object to be serialized in xml file <var>fileName</var>
  678.      * @param prettyPrint if true output the XML with indenting
  679.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  680.      */
  681.     public void write(OutputStream out,RappresentanteFiscaleType rappresentanteFiscaleType,boolean prettyPrint) throws SerializerException {
  682.         this.objToXml(out, RappresentanteFiscaleType.class, rappresentanteFiscaleType, prettyPrint);
  683.     }
  684.            
  685.     /**
  686.      * Serialize to byte array the object <var>rappresentanteFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.RappresentanteFiscaleType}
  687.      *
  688.      * @param rappresentanteFiscaleType Object to be serialized
  689.      * @return Object to be serialized in byte array
  690.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  691.      */
  692.     public byte[] toByteArray(RappresentanteFiscaleType rappresentanteFiscaleType) throws SerializerException {
  693.         return this.objToXml(RappresentanteFiscaleType.class, rappresentanteFiscaleType, false).toByteArray();
  694.     }
  695.     /**
  696.      * Serialize to byte array the object <var>rappresentanteFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.RappresentanteFiscaleType}
  697.      *
  698.      * @param rappresentanteFiscaleType Object to be serialized
  699.      * @param prettyPrint if true output the XML with indenting
  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(RappresentanteFiscaleType rappresentanteFiscaleType,boolean prettyPrint) throws SerializerException {
  704.         return this.objToXml(RappresentanteFiscaleType.class, rappresentanteFiscaleType, prettyPrint).toByteArray();
  705.     }
  706.    
  707.     /**
  708.      * Serialize to String the object <var>rappresentanteFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.RappresentanteFiscaleType}
  709.      *
  710.      * @param rappresentanteFiscaleType Object to be serialized
  711.      * @return Object to be serialized as String
  712.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  713.      */
  714.     public String toString(RappresentanteFiscaleType rappresentanteFiscaleType) throws SerializerException {
  715.         return this.objToXml(RappresentanteFiscaleType.class, rappresentanteFiscaleType, false).toString();
  716.     }
  717.     /**
  718.      * Serialize to String the object <var>rappresentanteFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.RappresentanteFiscaleType}
  719.      *
  720.      * @param rappresentanteFiscaleType Object to be serialized
  721.      * @param prettyPrint if true output the XML with indenting
  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(RappresentanteFiscaleType rappresentanteFiscaleType,boolean prettyPrint) throws SerializerException {
  726.         return this.objToXml(RappresentanteFiscaleType.class, rappresentanteFiscaleType, prettyPrint).toString();
  727.     }
  728.    
  729.    
  730.    
  731.     /*
  732.      =================================================================================
  733.      Object: IdFiscaleType
  734.      =================================================================================
  735.     */
  736.    
  737.     /**
  738.      * Serialize to file system in <var>fileName</var> the object <var>idFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdFiscaleType}
  739.      *
  740.      * @param fileName Xml file to serialize the object <var>idFiscaleType</var>
  741.      * @param idFiscaleType Object to be serialized in xml file <var>fileName</var>
  742.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  743.      */
  744.     public void write(String fileName,IdFiscaleType idFiscaleType) throws SerializerException {
  745.         this.objToXml(fileName, IdFiscaleType.class, idFiscaleType, false);
  746.     }
  747.     /**
  748.      * Serialize to file system in <var>fileName</var> the object <var>idFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdFiscaleType}
  749.      *
  750.      * @param fileName Xml file to serialize the object <var>idFiscaleType</var>
  751.      * @param idFiscaleType Object to be serialized in xml file <var>fileName</var>
  752.      * @param prettyPrint if true output the XML with indenting
  753.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  754.      */
  755.     public void write(String fileName,IdFiscaleType idFiscaleType,boolean prettyPrint) throws SerializerException {
  756.         this.objToXml(fileName, IdFiscaleType.class, idFiscaleType, prettyPrint);
  757.     }
  758.    
  759.     /**
  760.      * Serialize to file system in <var>file</var> the object <var>idFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdFiscaleType}
  761.      *
  762.      * @param file Xml file to serialize the object <var>idFiscaleType</var>
  763.      * @param idFiscaleType Object to be serialized in xml file <var>fileName</var>
  764.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  765.      */
  766.     public void write(File file,IdFiscaleType idFiscaleType) throws SerializerException {
  767.         this.objToXml(file, IdFiscaleType.class, idFiscaleType, false);
  768.     }
  769.     /**
  770.      * Serialize to file system in <var>file</var> the object <var>idFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdFiscaleType}
  771.      *
  772.      * @param file Xml file to serialize the object <var>idFiscaleType</var>
  773.      * @param idFiscaleType Object to be serialized in xml file <var>fileName</var>
  774.      * @param prettyPrint if true output the XML with indenting
  775.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  776.      */
  777.     public void write(File file,IdFiscaleType idFiscaleType,boolean prettyPrint) throws SerializerException {
  778.         this.objToXml(file, IdFiscaleType.class, idFiscaleType, prettyPrint);
  779.     }
  780.    
  781.     /**
  782.      * Serialize to output stream <var>out</var> the object <var>idFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdFiscaleType}
  783.      *
  784.      * @param out OutputStream to serialize the object <var>idFiscaleType</var>
  785.      * @param idFiscaleType Object to be serialized in xml file <var>fileName</var>
  786.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  787.      */
  788.     public void write(OutputStream out,IdFiscaleType idFiscaleType) throws SerializerException {
  789.         this.objToXml(out, IdFiscaleType.class, idFiscaleType, false);
  790.     }
  791.     /**
  792.      * Serialize to output stream <var>out</var> the object <var>idFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdFiscaleType}
  793.      *
  794.      * @param out OutputStream to serialize the object <var>idFiscaleType</var>
  795.      * @param idFiscaleType Object to be serialized in xml file <var>fileName</var>
  796.      * @param prettyPrint if true output the XML with indenting
  797.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  798.      */
  799.     public void write(OutputStream out,IdFiscaleType idFiscaleType,boolean prettyPrint) throws SerializerException {
  800.         this.objToXml(out, IdFiscaleType.class, idFiscaleType, prettyPrint);
  801.     }
  802.            
  803.     /**
  804.      * Serialize to byte array the object <var>idFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdFiscaleType}
  805.      *
  806.      * @param idFiscaleType Object to be serialized
  807.      * @return Object to be serialized in byte array
  808.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  809.      */
  810.     public byte[] toByteArray(IdFiscaleType idFiscaleType) throws SerializerException {
  811.         return this.objToXml(IdFiscaleType.class, idFiscaleType, false).toByteArray();
  812.     }
  813.     /**
  814.      * Serialize to byte array the object <var>idFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdFiscaleType}
  815.      *
  816.      * @param idFiscaleType Object to be serialized
  817.      * @param prettyPrint if true output the XML with indenting
  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(IdFiscaleType idFiscaleType,boolean prettyPrint) throws SerializerException {
  822.         return this.objToXml(IdFiscaleType.class, idFiscaleType, prettyPrint).toByteArray();
  823.     }
  824.    
  825.     /**
  826.      * Serialize to String the object <var>idFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdFiscaleType}
  827.      *
  828.      * @param idFiscaleType Object to be serialized
  829.      * @return Object to be serialized as String
  830.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  831.      */
  832.     public String toString(IdFiscaleType idFiscaleType) throws SerializerException {
  833.         return this.objToXml(IdFiscaleType.class, idFiscaleType, false).toString();
  834.     }
  835.     /**
  836.      * Serialize to String the object <var>idFiscaleType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdFiscaleType}
  837.      *
  838.      * @param idFiscaleType Object to be serialized
  839.      * @param prettyPrint if true output the XML with indenting
  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(IdFiscaleType idFiscaleType,boolean prettyPrint) throws SerializerException {
  844.         return this.objToXml(IdFiscaleType.class, idFiscaleType, prettyPrint).toString();
  845.     }
  846.    
  847.    
  848.    
  849.     /*
  850.      =================================================================================
  851.      Object: IdentificativiFiscaliType
  852.      =================================================================================
  853.     */
  854.    
  855.     /**
  856.      * Serialize to file system in <var>fileName</var> the object <var>identificativiFiscaliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdentificativiFiscaliType}
  857.      *
  858.      * @param fileName Xml file to serialize the object <var>identificativiFiscaliType</var>
  859.      * @param identificativiFiscaliType Object to be serialized in xml file <var>fileName</var>
  860.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  861.      */
  862.     public void write(String fileName,IdentificativiFiscaliType identificativiFiscaliType) throws SerializerException {
  863.         this.objToXml(fileName, IdentificativiFiscaliType.class, identificativiFiscaliType, false);
  864.     }
  865.     /**
  866.      * Serialize to file system in <var>fileName</var> the object <var>identificativiFiscaliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdentificativiFiscaliType}
  867.      *
  868.      * @param fileName Xml file to serialize the object <var>identificativiFiscaliType</var>
  869.      * @param identificativiFiscaliType Object to be serialized in xml file <var>fileName</var>
  870.      * @param prettyPrint if true output the XML with indenting
  871.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  872.      */
  873.     public void write(String fileName,IdentificativiFiscaliType identificativiFiscaliType,boolean prettyPrint) throws SerializerException {
  874.         this.objToXml(fileName, IdentificativiFiscaliType.class, identificativiFiscaliType, prettyPrint);
  875.     }
  876.    
  877.     /**
  878.      * Serialize to file system in <var>file</var> the object <var>identificativiFiscaliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdentificativiFiscaliType}
  879.      *
  880.      * @param file Xml file to serialize the object <var>identificativiFiscaliType</var>
  881.      * @param identificativiFiscaliType Object to be serialized in xml file <var>fileName</var>
  882.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  883.      */
  884.     public void write(File file,IdentificativiFiscaliType identificativiFiscaliType) throws SerializerException {
  885.         this.objToXml(file, IdentificativiFiscaliType.class, identificativiFiscaliType, false);
  886.     }
  887.     /**
  888.      * Serialize to file system in <var>file</var> the object <var>identificativiFiscaliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdentificativiFiscaliType}
  889.      *
  890.      * @param file Xml file to serialize the object <var>identificativiFiscaliType</var>
  891.      * @param identificativiFiscaliType Object to be serialized in xml file <var>fileName</var>
  892.      * @param prettyPrint if true output the XML with indenting
  893.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  894.      */
  895.     public void write(File file,IdentificativiFiscaliType identificativiFiscaliType,boolean prettyPrint) throws SerializerException {
  896.         this.objToXml(file, IdentificativiFiscaliType.class, identificativiFiscaliType, prettyPrint);
  897.     }
  898.    
  899.     /**
  900.      * Serialize to output stream <var>out</var> the object <var>identificativiFiscaliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdentificativiFiscaliType}
  901.      *
  902.      * @param out OutputStream to serialize the object <var>identificativiFiscaliType</var>
  903.      * @param identificativiFiscaliType Object to be serialized in xml file <var>fileName</var>
  904.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  905.      */
  906.     public void write(OutputStream out,IdentificativiFiscaliType identificativiFiscaliType) throws SerializerException {
  907.         this.objToXml(out, IdentificativiFiscaliType.class, identificativiFiscaliType, false);
  908.     }
  909.     /**
  910.      * Serialize to output stream <var>out</var> the object <var>identificativiFiscaliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdentificativiFiscaliType}
  911.      *
  912.      * @param out OutputStream to serialize the object <var>identificativiFiscaliType</var>
  913.      * @param identificativiFiscaliType Object to be serialized in xml file <var>fileName</var>
  914.      * @param prettyPrint if true output the XML with indenting
  915.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  916.      */
  917.     public void write(OutputStream out,IdentificativiFiscaliType identificativiFiscaliType,boolean prettyPrint) throws SerializerException {
  918.         this.objToXml(out, IdentificativiFiscaliType.class, identificativiFiscaliType, prettyPrint);
  919.     }
  920.            
  921.     /**
  922.      * Serialize to byte array the object <var>identificativiFiscaliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdentificativiFiscaliType}
  923.      *
  924.      * @param identificativiFiscaliType Object to be serialized
  925.      * @return Object to be serialized in byte array
  926.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  927.      */
  928.     public byte[] toByteArray(IdentificativiFiscaliType identificativiFiscaliType) throws SerializerException {
  929.         return this.objToXml(IdentificativiFiscaliType.class, identificativiFiscaliType, false).toByteArray();
  930.     }
  931.     /**
  932.      * Serialize to byte array the object <var>identificativiFiscaliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdentificativiFiscaliType}
  933.      *
  934.      * @param identificativiFiscaliType Object to be serialized
  935.      * @param prettyPrint if true output the XML with indenting
  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(IdentificativiFiscaliType identificativiFiscaliType,boolean prettyPrint) throws SerializerException {
  940.         return this.objToXml(IdentificativiFiscaliType.class, identificativiFiscaliType, prettyPrint).toByteArray();
  941.     }
  942.    
  943.     /**
  944.      * Serialize to String the object <var>identificativiFiscaliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdentificativiFiscaliType}
  945.      *
  946.      * @param identificativiFiscaliType Object to be serialized
  947.      * @return Object to be serialized as String
  948.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  949.      */
  950.     public String toString(IdentificativiFiscaliType identificativiFiscaliType) throws SerializerException {
  951.         return this.objToXml(IdentificativiFiscaliType.class, identificativiFiscaliType, false).toString();
  952.     }
  953.     /**
  954.      * Serialize to String the object <var>identificativiFiscaliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IdentificativiFiscaliType}
  955.      *
  956.      * @param identificativiFiscaliType Object to be serialized
  957.      * @param prettyPrint if true output the XML with indenting
  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(IdentificativiFiscaliType identificativiFiscaliType,boolean prettyPrint) throws SerializerException {
  962.         return this.objToXml(IdentificativiFiscaliType.class, identificativiFiscaliType, prettyPrint).toString();
  963.     }
  964.    
  965.    
  966.    
  967.     /*
  968.      =================================================================================
  969.      Object: DatiGeneraliDocumentoType
  970.      =================================================================================
  971.     */
  972.    
  973.     /**
  974.      * Serialize to file system in <var>fileName</var> the object <var>datiGeneraliDocumentoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliDocumentoType}
  975.      *
  976.      * @param fileName Xml file to serialize the object <var>datiGeneraliDocumentoType</var>
  977.      * @param datiGeneraliDocumentoType Object to be serialized in xml file <var>fileName</var>
  978.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  979.      */
  980.     public void write(String fileName,DatiGeneraliDocumentoType datiGeneraliDocumentoType) throws SerializerException {
  981.         this.objToXml(fileName, DatiGeneraliDocumentoType.class, datiGeneraliDocumentoType, false);
  982.     }
  983.     /**
  984.      * Serialize to file system in <var>fileName</var> the object <var>datiGeneraliDocumentoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliDocumentoType}
  985.      *
  986.      * @param fileName Xml file to serialize the object <var>datiGeneraliDocumentoType</var>
  987.      * @param datiGeneraliDocumentoType Object to be serialized in xml file <var>fileName</var>
  988.      * @param prettyPrint if true output the XML with indenting
  989.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  990.      */
  991.     public void write(String fileName,DatiGeneraliDocumentoType datiGeneraliDocumentoType,boolean prettyPrint) throws SerializerException {
  992.         this.objToXml(fileName, DatiGeneraliDocumentoType.class, datiGeneraliDocumentoType, prettyPrint);
  993.     }
  994.    
  995.     /**
  996.      * Serialize to file system in <var>file</var> the object <var>datiGeneraliDocumentoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliDocumentoType}
  997.      *
  998.      * @param file Xml file to serialize the object <var>datiGeneraliDocumentoType</var>
  999.      * @param datiGeneraliDocumentoType Object to be serialized in xml file <var>fileName</var>
  1000.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1001.      */
  1002.     public void write(File file,DatiGeneraliDocumentoType datiGeneraliDocumentoType) throws SerializerException {
  1003.         this.objToXml(file, DatiGeneraliDocumentoType.class, datiGeneraliDocumentoType, false);
  1004.     }
  1005.     /**
  1006.      * Serialize to file system in <var>file</var> the object <var>datiGeneraliDocumentoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliDocumentoType}
  1007.      *
  1008.      * @param file Xml file to serialize the object <var>datiGeneraliDocumentoType</var>
  1009.      * @param datiGeneraliDocumentoType Object to be serialized in xml file <var>fileName</var>
  1010.      * @param prettyPrint if true output the XML with indenting
  1011.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1012.      */
  1013.     public void write(File file,DatiGeneraliDocumentoType datiGeneraliDocumentoType,boolean prettyPrint) throws SerializerException {
  1014.         this.objToXml(file, DatiGeneraliDocumentoType.class, datiGeneraliDocumentoType, prettyPrint);
  1015.     }
  1016.    
  1017.     /**
  1018.      * Serialize to output stream <var>out</var> the object <var>datiGeneraliDocumentoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliDocumentoType}
  1019.      *
  1020.      * @param out OutputStream to serialize the object <var>datiGeneraliDocumentoType</var>
  1021.      * @param datiGeneraliDocumentoType Object to be serialized in xml file <var>fileName</var>
  1022.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1023.      */
  1024.     public void write(OutputStream out,DatiGeneraliDocumentoType datiGeneraliDocumentoType) throws SerializerException {
  1025.         this.objToXml(out, DatiGeneraliDocumentoType.class, datiGeneraliDocumentoType, false);
  1026.     }
  1027.     /**
  1028.      * Serialize to output stream <var>out</var> the object <var>datiGeneraliDocumentoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliDocumentoType}
  1029.      *
  1030.      * @param out OutputStream to serialize the object <var>datiGeneraliDocumentoType</var>
  1031.      * @param datiGeneraliDocumentoType Object to be serialized in xml file <var>fileName</var>
  1032.      * @param prettyPrint if true output the XML with indenting
  1033.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1034.      */
  1035.     public void write(OutputStream out,DatiGeneraliDocumentoType datiGeneraliDocumentoType,boolean prettyPrint) throws SerializerException {
  1036.         this.objToXml(out, DatiGeneraliDocumentoType.class, datiGeneraliDocumentoType, prettyPrint);
  1037.     }
  1038.            
  1039.     /**
  1040.      * Serialize to byte array the object <var>datiGeneraliDocumentoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliDocumentoType}
  1041.      *
  1042.      * @param datiGeneraliDocumentoType Object to be serialized
  1043.      * @return Object to be serialized in byte array
  1044.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1045.      */
  1046.     public byte[] toByteArray(DatiGeneraliDocumentoType datiGeneraliDocumentoType) throws SerializerException {
  1047.         return this.objToXml(DatiGeneraliDocumentoType.class, datiGeneraliDocumentoType, false).toByteArray();
  1048.     }
  1049.     /**
  1050.      * Serialize to byte array the object <var>datiGeneraliDocumentoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliDocumentoType}
  1051.      *
  1052.      * @param datiGeneraliDocumentoType Object to be serialized
  1053.      * @param prettyPrint if true output the XML with indenting
  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(DatiGeneraliDocumentoType datiGeneraliDocumentoType,boolean prettyPrint) throws SerializerException {
  1058.         return this.objToXml(DatiGeneraliDocumentoType.class, datiGeneraliDocumentoType, prettyPrint).toByteArray();
  1059.     }
  1060.    
  1061.     /**
  1062.      * Serialize to String the object <var>datiGeneraliDocumentoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliDocumentoType}
  1063.      *
  1064.      * @param datiGeneraliDocumentoType Object to be serialized
  1065.      * @return Object to be serialized as String
  1066.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1067.      */
  1068.     public String toString(DatiGeneraliDocumentoType datiGeneraliDocumentoType) throws SerializerException {
  1069.         return this.objToXml(DatiGeneraliDocumentoType.class, datiGeneraliDocumentoType, false).toString();
  1070.     }
  1071.     /**
  1072.      * Serialize to String the object <var>datiGeneraliDocumentoType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliDocumentoType}
  1073.      *
  1074.      * @param datiGeneraliDocumentoType Object to be serialized
  1075.      * @param prettyPrint if true output the XML with indenting
  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(DatiGeneraliDocumentoType datiGeneraliDocumentoType,boolean prettyPrint) throws SerializerException {
  1080.         return this.objToXml(DatiGeneraliDocumentoType.class, datiGeneraliDocumentoType, prettyPrint).toString();
  1081.     }
  1082.    
  1083.    
  1084.    
  1085.     /*
  1086.      =================================================================================
  1087.      Object: DatiGeneraliType
  1088.      =================================================================================
  1089.     */
  1090.    
  1091.     /**
  1092.      * Serialize to file system in <var>fileName</var> the object <var>datiGeneraliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliType}
  1093.      *
  1094.      * @param fileName Xml file to serialize the object <var>datiGeneraliType</var>
  1095.      * @param datiGeneraliType Object to be serialized in xml file <var>fileName</var>
  1096.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1097.      */
  1098.     public void write(String fileName,DatiGeneraliType datiGeneraliType) throws SerializerException {
  1099.         this.objToXml(fileName, DatiGeneraliType.class, datiGeneraliType, false);
  1100.     }
  1101.     /**
  1102.      * Serialize to file system in <var>fileName</var> the object <var>datiGeneraliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliType}
  1103.      *
  1104.      * @param fileName Xml file to serialize the object <var>datiGeneraliType</var>
  1105.      * @param datiGeneraliType Object to be serialized in xml file <var>fileName</var>
  1106.      * @param prettyPrint if true output the XML with indenting
  1107.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1108.      */
  1109.     public void write(String fileName,DatiGeneraliType datiGeneraliType,boolean prettyPrint) throws SerializerException {
  1110.         this.objToXml(fileName, DatiGeneraliType.class, datiGeneraliType, prettyPrint);
  1111.     }
  1112.    
  1113.     /**
  1114.      * Serialize to file system in <var>file</var> the object <var>datiGeneraliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliType}
  1115.      *
  1116.      * @param file Xml file to serialize the object <var>datiGeneraliType</var>
  1117.      * @param datiGeneraliType Object to be serialized in xml file <var>fileName</var>
  1118.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1119.      */
  1120.     public void write(File file,DatiGeneraliType datiGeneraliType) throws SerializerException {
  1121.         this.objToXml(file, DatiGeneraliType.class, datiGeneraliType, false);
  1122.     }
  1123.     /**
  1124.      * Serialize to file system in <var>file</var> the object <var>datiGeneraliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliType}
  1125.      *
  1126.      * @param file Xml file to serialize the object <var>datiGeneraliType</var>
  1127.      * @param datiGeneraliType Object to be serialized in xml file <var>fileName</var>
  1128.      * @param prettyPrint if true output the XML with indenting
  1129.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1130.      */
  1131.     public void write(File file,DatiGeneraliType datiGeneraliType,boolean prettyPrint) throws SerializerException {
  1132.         this.objToXml(file, DatiGeneraliType.class, datiGeneraliType, prettyPrint);
  1133.     }
  1134.    
  1135.     /**
  1136.      * Serialize to output stream <var>out</var> the object <var>datiGeneraliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliType}
  1137.      *
  1138.      * @param out OutputStream to serialize the object <var>datiGeneraliType</var>
  1139.      * @param datiGeneraliType Object to be serialized in xml file <var>fileName</var>
  1140.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1141.      */
  1142.     public void write(OutputStream out,DatiGeneraliType datiGeneraliType) throws SerializerException {
  1143.         this.objToXml(out, DatiGeneraliType.class, datiGeneraliType, false);
  1144.     }
  1145.     /**
  1146.      * Serialize to output stream <var>out</var> the object <var>datiGeneraliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliType}
  1147.      *
  1148.      * @param out OutputStream to serialize the object <var>datiGeneraliType</var>
  1149.      * @param datiGeneraliType Object to be serialized in xml file <var>fileName</var>
  1150.      * @param prettyPrint if true output the XML with indenting
  1151.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1152.      */
  1153.     public void write(OutputStream out,DatiGeneraliType datiGeneraliType,boolean prettyPrint) throws SerializerException {
  1154.         this.objToXml(out, DatiGeneraliType.class, datiGeneraliType, prettyPrint);
  1155.     }
  1156.            
  1157.     /**
  1158.      * Serialize to byte array the object <var>datiGeneraliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliType}
  1159.      *
  1160.      * @param datiGeneraliType Object to be serialized
  1161.      * @return Object to be serialized in byte array
  1162.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1163.      */
  1164.     public byte[] toByteArray(DatiGeneraliType datiGeneraliType) throws SerializerException {
  1165.         return this.objToXml(DatiGeneraliType.class, datiGeneraliType, false).toByteArray();
  1166.     }
  1167.     /**
  1168.      * Serialize to byte array the object <var>datiGeneraliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliType}
  1169.      *
  1170.      * @param datiGeneraliType Object to be serialized
  1171.      * @param prettyPrint if true output the XML with indenting
  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(DatiGeneraliType datiGeneraliType,boolean prettyPrint) throws SerializerException {
  1176.         return this.objToXml(DatiGeneraliType.class, datiGeneraliType, prettyPrint).toByteArray();
  1177.     }
  1178.    
  1179.     /**
  1180.      * Serialize to String the object <var>datiGeneraliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliType}
  1181.      *
  1182.      * @param datiGeneraliType Object to be serialized
  1183.      * @return Object to be serialized as String
  1184.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1185.      */
  1186.     public String toString(DatiGeneraliType datiGeneraliType) throws SerializerException {
  1187.         return this.objToXml(DatiGeneraliType.class, datiGeneraliType, false).toString();
  1188.     }
  1189.     /**
  1190.      * Serialize to String the object <var>datiGeneraliType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiGeneraliType}
  1191.      *
  1192.      * @param datiGeneraliType Object to be serialized
  1193.      * @param prettyPrint if true output the XML with indenting
  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(DatiGeneraliType datiGeneraliType,boolean prettyPrint) throws SerializerException {
  1198.         return this.objToXml(DatiGeneraliType.class, datiGeneraliType, prettyPrint).toString();
  1199.     }
  1200.    
  1201.    
  1202.    
  1203.     /*
  1204.      =================================================================================
  1205.      Object: DatiFatturaRettificataType
  1206.      =================================================================================
  1207.     */
  1208.    
  1209.     /**
  1210.      * Serialize to file system in <var>fileName</var> the object <var>datiFatturaRettificataType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiFatturaRettificataType}
  1211.      *
  1212.      * @param fileName Xml file to serialize the object <var>datiFatturaRettificataType</var>
  1213.      * @param datiFatturaRettificataType Object to be serialized in xml file <var>fileName</var>
  1214.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1215.      */
  1216.     public void write(String fileName,DatiFatturaRettificataType datiFatturaRettificataType) throws SerializerException {
  1217.         this.objToXml(fileName, DatiFatturaRettificataType.class, datiFatturaRettificataType, false);
  1218.     }
  1219.     /**
  1220.      * Serialize to file system in <var>fileName</var> the object <var>datiFatturaRettificataType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiFatturaRettificataType}
  1221.      *
  1222.      * @param fileName Xml file to serialize the object <var>datiFatturaRettificataType</var>
  1223.      * @param datiFatturaRettificataType Object to be serialized in xml file <var>fileName</var>
  1224.      * @param prettyPrint if true output the XML with indenting
  1225.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1226.      */
  1227.     public void write(String fileName,DatiFatturaRettificataType datiFatturaRettificataType,boolean prettyPrint) throws SerializerException {
  1228.         this.objToXml(fileName, DatiFatturaRettificataType.class, datiFatturaRettificataType, prettyPrint);
  1229.     }
  1230.    
  1231.     /**
  1232.      * Serialize to file system in <var>file</var> the object <var>datiFatturaRettificataType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiFatturaRettificataType}
  1233.      *
  1234.      * @param file Xml file to serialize the object <var>datiFatturaRettificataType</var>
  1235.      * @param datiFatturaRettificataType Object to be serialized in xml file <var>fileName</var>
  1236.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1237.      */
  1238.     public void write(File file,DatiFatturaRettificataType datiFatturaRettificataType) throws SerializerException {
  1239.         this.objToXml(file, DatiFatturaRettificataType.class, datiFatturaRettificataType, false);
  1240.     }
  1241.     /**
  1242.      * Serialize to file system in <var>file</var> the object <var>datiFatturaRettificataType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiFatturaRettificataType}
  1243.      *
  1244.      * @param file Xml file to serialize the object <var>datiFatturaRettificataType</var>
  1245.      * @param datiFatturaRettificataType Object to be serialized in xml file <var>fileName</var>
  1246.      * @param prettyPrint if true output the XML with indenting
  1247.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1248.      */
  1249.     public void write(File file,DatiFatturaRettificataType datiFatturaRettificataType,boolean prettyPrint) throws SerializerException {
  1250.         this.objToXml(file, DatiFatturaRettificataType.class, datiFatturaRettificataType, prettyPrint);
  1251.     }
  1252.    
  1253.     /**
  1254.      * Serialize to output stream <var>out</var> the object <var>datiFatturaRettificataType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiFatturaRettificataType}
  1255.      *
  1256.      * @param out OutputStream to serialize the object <var>datiFatturaRettificataType</var>
  1257.      * @param datiFatturaRettificataType Object to be serialized in xml file <var>fileName</var>
  1258.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1259.      */
  1260.     public void write(OutputStream out,DatiFatturaRettificataType datiFatturaRettificataType) throws SerializerException {
  1261.         this.objToXml(out, DatiFatturaRettificataType.class, datiFatturaRettificataType, false);
  1262.     }
  1263.     /**
  1264.      * Serialize to output stream <var>out</var> the object <var>datiFatturaRettificataType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiFatturaRettificataType}
  1265.      *
  1266.      * @param out OutputStream to serialize the object <var>datiFatturaRettificataType</var>
  1267.      * @param datiFatturaRettificataType Object to be serialized in xml file <var>fileName</var>
  1268.      * @param prettyPrint if true output the XML with indenting
  1269.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1270.      */
  1271.     public void write(OutputStream out,DatiFatturaRettificataType datiFatturaRettificataType,boolean prettyPrint) throws SerializerException {
  1272.         this.objToXml(out, DatiFatturaRettificataType.class, datiFatturaRettificataType, prettyPrint);
  1273.     }
  1274.            
  1275.     /**
  1276.      * Serialize to byte array the object <var>datiFatturaRettificataType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiFatturaRettificataType}
  1277.      *
  1278.      * @param datiFatturaRettificataType Object to be serialized
  1279.      * @return Object to be serialized in byte array
  1280.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1281.      */
  1282.     public byte[] toByteArray(DatiFatturaRettificataType datiFatturaRettificataType) throws SerializerException {
  1283.         return this.objToXml(DatiFatturaRettificataType.class, datiFatturaRettificataType, false).toByteArray();
  1284.     }
  1285.     /**
  1286.      * Serialize to byte array the object <var>datiFatturaRettificataType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiFatturaRettificataType}
  1287.      *
  1288.      * @param datiFatturaRettificataType Object to be serialized
  1289.      * @param prettyPrint if true output the XML with indenting
  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(DatiFatturaRettificataType datiFatturaRettificataType,boolean prettyPrint) throws SerializerException {
  1294.         return this.objToXml(DatiFatturaRettificataType.class, datiFatturaRettificataType, prettyPrint).toByteArray();
  1295.     }
  1296.    
  1297.     /**
  1298.      * Serialize to String the object <var>datiFatturaRettificataType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiFatturaRettificataType}
  1299.      *
  1300.      * @param datiFatturaRettificataType Object to be serialized
  1301.      * @return Object to be serialized as String
  1302.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1303.      */
  1304.     public String toString(DatiFatturaRettificataType datiFatturaRettificataType) throws SerializerException {
  1305.         return this.objToXml(DatiFatturaRettificataType.class, datiFatturaRettificataType, false).toString();
  1306.     }
  1307.     /**
  1308.      * Serialize to String the object <var>datiFatturaRettificataType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiFatturaRettificataType}
  1309.      *
  1310.      * @param datiFatturaRettificataType Object to be serialized
  1311.      * @param prettyPrint if true output the XML with indenting
  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(DatiFatturaRettificataType datiFatturaRettificataType,boolean prettyPrint) throws SerializerException {
  1316.         return this.objToXml(DatiFatturaRettificataType.class, datiFatturaRettificataType, prettyPrint).toString();
  1317.     }
  1318.    
  1319.    
  1320.    
  1321.     /*
  1322.      =================================================================================
  1323.      Object: FatturaElettronicaBodyType
  1324.      =================================================================================
  1325.     */
  1326.    
  1327.     /**
  1328.      * Serialize to file system in <var>fileName</var> the object <var>fatturaElettronicaBodyType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaBodyType}
  1329.      *
  1330.      * @param fileName Xml file to serialize the object <var>fatturaElettronicaBodyType</var>
  1331.      * @param fatturaElettronicaBodyType Object to be serialized in xml file <var>fileName</var>
  1332.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1333.      */
  1334.     public void write(String fileName,FatturaElettronicaBodyType fatturaElettronicaBodyType) throws SerializerException {
  1335.         this.objToXml(fileName, FatturaElettronicaBodyType.class, fatturaElettronicaBodyType, false);
  1336.     }
  1337.     /**
  1338.      * Serialize to file system in <var>fileName</var> the object <var>fatturaElettronicaBodyType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaBodyType}
  1339.      *
  1340.      * @param fileName Xml file to serialize the object <var>fatturaElettronicaBodyType</var>
  1341.      * @param fatturaElettronicaBodyType Object to be serialized in xml file <var>fileName</var>
  1342.      * @param prettyPrint if true output the XML with indenting
  1343.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1344.      */
  1345.     public void write(String fileName,FatturaElettronicaBodyType fatturaElettronicaBodyType,boolean prettyPrint) throws SerializerException {
  1346.         this.objToXml(fileName, FatturaElettronicaBodyType.class, fatturaElettronicaBodyType, prettyPrint);
  1347.     }
  1348.    
  1349.     /**
  1350.      * Serialize to file system in <var>file</var> the object <var>fatturaElettronicaBodyType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaBodyType}
  1351.      *
  1352.      * @param file Xml file to serialize the object <var>fatturaElettronicaBodyType</var>
  1353.      * @param fatturaElettronicaBodyType Object to be serialized in xml file <var>fileName</var>
  1354.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1355.      */
  1356.     public void write(File file,FatturaElettronicaBodyType fatturaElettronicaBodyType) throws SerializerException {
  1357.         this.objToXml(file, FatturaElettronicaBodyType.class, fatturaElettronicaBodyType, false);
  1358.     }
  1359.     /**
  1360.      * Serialize to file system in <var>file</var> the object <var>fatturaElettronicaBodyType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaBodyType}
  1361.      *
  1362.      * @param file Xml file to serialize the object <var>fatturaElettronicaBodyType</var>
  1363.      * @param fatturaElettronicaBodyType Object to be serialized in xml file <var>fileName</var>
  1364.      * @param prettyPrint if true output the XML with indenting
  1365.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1366.      */
  1367.     public void write(File file,FatturaElettronicaBodyType fatturaElettronicaBodyType,boolean prettyPrint) throws SerializerException {
  1368.         this.objToXml(file, FatturaElettronicaBodyType.class, fatturaElettronicaBodyType, prettyPrint);
  1369.     }
  1370.    
  1371.     /**
  1372.      * Serialize to output stream <var>out</var> the object <var>fatturaElettronicaBodyType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaBodyType}
  1373.      *
  1374.      * @param out OutputStream to serialize the object <var>fatturaElettronicaBodyType</var>
  1375.      * @param fatturaElettronicaBodyType Object to be serialized in xml file <var>fileName</var>
  1376.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1377.      */
  1378.     public void write(OutputStream out,FatturaElettronicaBodyType fatturaElettronicaBodyType) throws SerializerException {
  1379.         this.objToXml(out, FatturaElettronicaBodyType.class, fatturaElettronicaBodyType, false);
  1380.     }
  1381.     /**
  1382.      * Serialize to output stream <var>out</var> the object <var>fatturaElettronicaBodyType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaBodyType}
  1383.      *
  1384.      * @param out OutputStream to serialize the object <var>fatturaElettronicaBodyType</var>
  1385.      * @param fatturaElettronicaBodyType Object to be serialized in xml file <var>fileName</var>
  1386.      * @param prettyPrint if true output the XML with indenting
  1387.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1388.      */
  1389.     public void write(OutputStream out,FatturaElettronicaBodyType fatturaElettronicaBodyType,boolean prettyPrint) throws SerializerException {
  1390.         this.objToXml(out, FatturaElettronicaBodyType.class, fatturaElettronicaBodyType, prettyPrint);
  1391.     }
  1392.            
  1393.     /**
  1394.      * Serialize to byte array the object <var>fatturaElettronicaBodyType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaBodyType}
  1395.      *
  1396.      * @param fatturaElettronicaBodyType Object to be serialized
  1397.      * @return Object to be serialized in byte array
  1398.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1399.      */
  1400.     public byte[] toByteArray(FatturaElettronicaBodyType fatturaElettronicaBodyType) throws SerializerException {
  1401.         return this.objToXml(FatturaElettronicaBodyType.class, fatturaElettronicaBodyType, false).toByteArray();
  1402.     }
  1403.     /**
  1404.      * Serialize to byte array the object <var>fatturaElettronicaBodyType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaBodyType}
  1405.      *
  1406.      * @param fatturaElettronicaBodyType Object to be serialized
  1407.      * @param prettyPrint if true output the XML with indenting
  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(FatturaElettronicaBodyType fatturaElettronicaBodyType,boolean prettyPrint) throws SerializerException {
  1412.         return this.objToXml(FatturaElettronicaBodyType.class, fatturaElettronicaBodyType, prettyPrint).toByteArray();
  1413.     }
  1414.    
  1415.     /**
  1416.      * Serialize to String the object <var>fatturaElettronicaBodyType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaBodyType}
  1417.      *
  1418.      * @param fatturaElettronicaBodyType Object to be serialized
  1419.      * @return Object to be serialized as String
  1420.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1421.      */
  1422.     public String toString(FatturaElettronicaBodyType fatturaElettronicaBodyType) throws SerializerException {
  1423.         return this.objToXml(FatturaElettronicaBodyType.class, fatturaElettronicaBodyType, false).toString();
  1424.     }
  1425.     /**
  1426.      * Serialize to String the object <var>fatturaElettronicaBodyType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaBodyType}
  1427.      *
  1428.      * @param fatturaElettronicaBodyType Object to be serialized
  1429.      * @param prettyPrint if true output the XML with indenting
  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(FatturaElettronicaBodyType fatturaElettronicaBodyType,boolean prettyPrint) throws SerializerException {
  1434.         return this.objToXml(FatturaElettronicaBodyType.class, fatturaElettronicaBodyType, prettyPrint).toString();
  1435.     }
  1436.    
  1437.    
  1438.    
  1439.     /*
  1440.      =================================================================================
  1441.      Object: DatiBeniServiziType
  1442.      =================================================================================
  1443.     */
  1444.    
  1445.     /**
  1446.      * Serialize to file system in <var>fileName</var> the object <var>datiBeniServiziType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiBeniServiziType}
  1447.      *
  1448.      * @param fileName Xml file to serialize the object <var>datiBeniServiziType</var>
  1449.      * @param datiBeniServiziType Object to be serialized in xml file <var>fileName</var>
  1450.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1451.      */
  1452.     public void write(String fileName,DatiBeniServiziType datiBeniServiziType) throws SerializerException {
  1453.         this.objToXml(fileName, DatiBeniServiziType.class, datiBeniServiziType, false);
  1454.     }
  1455.     /**
  1456.      * Serialize to file system in <var>fileName</var> the object <var>datiBeniServiziType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiBeniServiziType}
  1457.      *
  1458.      * @param fileName Xml file to serialize the object <var>datiBeniServiziType</var>
  1459.      * @param datiBeniServiziType Object to be serialized in xml file <var>fileName</var>
  1460.      * @param prettyPrint if true output the XML with indenting
  1461.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1462.      */
  1463.     public void write(String fileName,DatiBeniServiziType datiBeniServiziType,boolean prettyPrint) throws SerializerException {
  1464.         this.objToXml(fileName, DatiBeniServiziType.class, datiBeniServiziType, prettyPrint);
  1465.     }
  1466.    
  1467.     /**
  1468.      * Serialize to file system in <var>file</var> the object <var>datiBeniServiziType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiBeniServiziType}
  1469.      *
  1470.      * @param file Xml file to serialize the object <var>datiBeniServiziType</var>
  1471.      * @param datiBeniServiziType Object to be serialized in xml file <var>fileName</var>
  1472.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1473.      */
  1474.     public void write(File file,DatiBeniServiziType datiBeniServiziType) throws SerializerException {
  1475.         this.objToXml(file, DatiBeniServiziType.class, datiBeniServiziType, false);
  1476.     }
  1477.     /**
  1478.      * Serialize to file system in <var>file</var> the object <var>datiBeniServiziType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiBeniServiziType}
  1479.      *
  1480.      * @param file Xml file to serialize the object <var>datiBeniServiziType</var>
  1481.      * @param datiBeniServiziType Object to be serialized in xml file <var>fileName</var>
  1482.      * @param prettyPrint if true output the XML with indenting
  1483.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1484.      */
  1485.     public void write(File file,DatiBeniServiziType datiBeniServiziType,boolean prettyPrint) throws SerializerException {
  1486.         this.objToXml(file, DatiBeniServiziType.class, datiBeniServiziType, prettyPrint);
  1487.     }
  1488.    
  1489.     /**
  1490.      * Serialize to output stream <var>out</var> the object <var>datiBeniServiziType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiBeniServiziType}
  1491.      *
  1492.      * @param out OutputStream to serialize the object <var>datiBeniServiziType</var>
  1493.      * @param datiBeniServiziType Object to be serialized in xml file <var>fileName</var>
  1494.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1495.      */
  1496.     public void write(OutputStream out,DatiBeniServiziType datiBeniServiziType) throws SerializerException {
  1497.         this.objToXml(out, DatiBeniServiziType.class, datiBeniServiziType, false);
  1498.     }
  1499.     /**
  1500.      * Serialize to output stream <var>out</var> the object <var>datiBeniServiziType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiBeniServiziType}
  1501.      *
  1502.      * @param out OutputStream to serialize the object <var>datiBeniServiziType</var>
  1503.      * @param datiBeniServiziType Object to be serialized in xml file <var>fileName</var>
  1504.      * @param prettyPrint if true output the XML with indenting
  1505.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1506.      */
  1507.     public void write(OutputStream out,DatiBeniServiziType datiBeniServiziType,boolean prettyPrint) throws SerializerException {
  1508.         this.objToXml(out, DatiBeniServiziType.class, datiBeniServiziType, prettyPrint);
  1509.     }
  1510.            
  1511.     /**
  1512.      * Serialize to byte array the object <var>datiBeniServiziType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiBeniServiziType}
  1513.      *
  1514.      * @param datiBeniServiziType Object to be serialized
  1515.      * @return Object to be serialized in byte array
  1516.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1517.      */
  1518.     public byte[] toByteArray(DatiBeniServiziType datiBeniServiziType) throws SerializerException {
  1519.         return this.objToXml(DatiBeniServiziType.class, datiBeniServiziType, false).toByteArray();
  1520.     }
  1521.     /**
  1522.      * Serialize to byte array the object <var>datiBeniServiziType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiBeniServiziType}
  1523.      *
  1524.      * @param datiBeniServiziType Object to be serialized
  1525.      * @param prettyPrint if true output the XML with indenting
  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(DatiBeniServiziType datiBeniServiziType,boolean prettyPrint) throws SerializerException {
  1530.         return this.objToXml(DatiBeniServiziType.class, datiBeniServiziType, prettyPrint).toByteArray();
  1531.     }
  1532.    
  1533.     /**
  1534.      * Serialize to String the object <var>datiBeniServiziType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiBeniServiziType}
  1535.      *
  1536.      * @param datiBeniServiziType Object to be serialized
  1537.      * @return Object to be serialized as String
  1538.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1539.      */
  1540.     public String toString(DatiBeniServiziType datiBeniServiziType) throws SerializerException {
  1541.         return this.objToXml(DatiBeniServiziType.class, datiBeniServiziType, false).toString();
  1542.     }
  1543.     /**
  1544.      * Serialize to String the object <var>datiBeniServiziType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiBeniServiziType}
  1545.      *
  1546.      * @param datiBeniServiziType Object to be serialized
  1547.      * @param prettyPrint if true output the XML with indenting
  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(DatiBeniServiziType datiBeniServiziType,boolean prettyPrint) throws SerializerException {
  1552.         return this.objToXml(DatiBeniServiziType.class, datiBeniServiziType, prettyPrint).toString();
  1553.     }
  1554.    
  1555.    
  1556.    
  1557.     /*
  1558.      =================================================================================
  1559.      Object: FatturaElettronicaHeaderType
  1560.      =================================================================================
  1561.     */
  1562.    
  1563.     /**
  1564.      * Serialize to file system in <var>fileName</var> the object <var>fatturaElettronicaHeaderType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaHeaderType}
  1565.      *
  1566.      * @param fileName Xml file to serialize the object <var>fatturaElettronicaHeaderType</var>
  1567.      * @param fatturaElettronicaHeaderType Object to be serialized in xml file <var>fileName</var>
  1568.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1569.      */
  1570.     public void write(String fileName,FatturaElettronicaHeaderType fatturaElettronicaHeaderType) throws SerializerException {
  1571.         this.objToXml(fileName, FatturaElettronicaHeaderType.class, fatturaElettronicaHeaderType, false);
  1572.     }
  1573.     /**
  1574.      * Serialize to file system in <var>fileName</var> the object <var>fatturaElettronicaHeaderType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaHeaderType}
  1575.      *
  1576.      * @param fileName Xml file to serialize the object <var>fatturaElettronicaHeaderType</var>
  1577.      * @param fatturaElettronicaHeaderType Object to be serialized in xml file <var>fileName</var>
  1578.      * @param prettyPrint if true output the XML with indenting
  1579.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1580.      */
  1581.     public void write(String fileName,FatturaElettronicaHeaderType fatturaElettronicaHeaderType,boolean prettyPrint) throws SerializerException {
  1582.         this.objToXml(fileName, FatturaElettronicaHeaderType.class, fatturaElettronicaHeaderType, prettyPrint);
  1583.     }
  1584.    
  1585.     /**
  1586.      * Serialize to file system in <var>file</var> the object <var>fatturaElettronicaHeaderType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaHeaderType}
  1587.      *
  1588.      * @param file Xml file to serialize the object <var>fatturaElettronicaHeaderType</var>
  1589.      * @param fatturaElettronicaHeaderType Object to be serialized in xml file <var>fileName</var>
  1590.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1591.      */
  1592.     public void write(File file,FatturaElettronicaHeaderType fatturaElettronicaHeaderType) throws SerializerException {
  1593.         this.objToXml(file, FatturaElettronicaHeaderType.class, fatturaElettronicaHeaderType, false);
  1594.     }
  1595.     /**
  1596.      * Serialize to file system in <var>file</var> the object <var>fatturaElettronicaHeaderType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaHeaderType}
  1597.      *
  1598.      * @param file Xml file to serialize the object <var>fatturaElettronicaHeaderType</var>
  1599.      * @param fatturaElettronicaHeaderType Object to be serialized in xml file <var>fileName</var>
  1600.      * @param prettyPrint if true output the XML with indenting
  1601.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1602.      */
  1603.     public void write(File file,FatturaElettronicaHeaderType fatturaElettronicaHeaderType,boolean prettyPrint) throws SerializerException {
  1604.         this.objToXml(file, FatturaElettronicaHeaderType.class, fatturaElettronicaHeaderType, prettyPrint);
  1605.     }
  1606.    
  1607.     /**
  1608.      * Serialize to output stream <var>out</var> the object <var>fatturaElettronicaHeaderType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaHeaderType}
  1609.      *
  1610.      * @param out OutputStream to serialize the object <var>fatturaElettronicaHeaderType</var>
  1611.      * @param fatturaElettronicaHeaderType Object to be serialized in xml file <var>fileName</var>
  1612.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1613.      */
  1614.     public void write(OutputStream out,FatturaElettronicaHeaderType fatturaElettronicaHeaderType) throws SerializerException {
  1615.         this.objToXml(out, FatturaElettronicaHeaderType.class, fatturaElettronicaHeaderType, false);
  1616.     }
  1617.     /**
  1618.      * Serialize to output stream <var>out</var> the object <var>fatturaElettronicaHeaderType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaHeaderType}
  1619.      *
  1620.      * @param out OutputStream to serialize the object <var>fatturaElettronicaHeaderType</var>
  1621.      * @param fatturaElettronicaHeaderType Object to be serialized in xml file <var>fileName</var>
  1622.      * @param prettyPrint if true output the XML with indenting
  1623.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1624.      */
  1625.     public void write(OutputStream out,FatturaElettronicaHeaderType fatturaElettronicaHeaderType,boolean prettyPrint) throws SerializerException {
  1626.         this.objToXml(out, FatturaElettronicaHeaderType.class, fatturaElettronicaHeaderType, prettyPrint);
  1627.     }
  1628.            
  1629.     /**
  1630.      * Serialize to byte array the object <var>fatturaElettronicaHeaderType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaHeaderType}
  1631.      *
  1632.      * @param fatturaElettronicaHeaderType Object to be serialized
  1633.      * @return Object to be serialized in byte array
  1634.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1635.      */
  1636.     public byte[] toByteArray(FatturaElettronicaHeaderType fatturaElettronicaHeaderType) throws SerializerException {
  1637.         return this.objToXml(FatturaElettronicaHeaderType.class, fatturaElettronicaHeaderType, false).toByteArray();
  1638.     }
  1639.     /**
  1640.      * Serialize to byte array the object <var>fatturaElettronicaHeaderType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaHeaderType}
  1641.      *
  1642.      * @param fatturaElettronicaHeaderType Object to be serialized
  1643.      * @param prettyPrint if true output the XML with indenting
  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(FatturaElettronicaHeaderType fatturaElettronicaHeaderType,boolean prettyPrint) throws SerializerException {
  1648.         return this.objToXml(FatturaElettronicaHeaderType.class, fatturaElettronicaHeaderType, prettyPrint).toByteArray();
  1649.     }
  1650.    
  1651.     /**
  1652.      * Serialize to String the object <var>fatturaElettronicaHeaderType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaHeaderType}
  1653.      *
  1654.      * @param fatturaElettronicaHeaderType Object to be serialized
  1655.      * @return Object to be serialized as String
  1656.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1657.      */
  1658.     public String toString(FatturaElettronicaHeaderType fatturaElettronicaHeaderType) throws SerializerException {
  1659.         return this.objToXml(FatturaElettronicaHeaderType.class, fatturaElettronicaHeaderType, false).toString();
  1660.     }
  1661.     /**
  1662.      * Serialize to String the object <var>fatturaElettronicaHeaderType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaHeaderType}
  1663.      *
  1664.      * @param fatturaElettronicaHeaderType Object to be serialized
  1665.      * @param prettyPrint if true output the XML with indenting
  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(FatturaElettronicaHeaderType fatturaElettronicaHeaderType,boolean prettyPrint) throws SerializerException {
  1670.         return this.objToXml(FatturaElettronicaHeaderType.class, fatturaElettronicaHeaderType, prettyPrint).toString();
  1671.     }
  1672.    
  1673.    
  1674.    
  1675.     /*
  1676.      =================================================================================
  1677.      Object: FatturaElettronicaType
  1678.      =================================================================================
  1679.     */
  1680.    
  1681.     /**
  1682.      * Serialize to file system in <var>fileName</var> the object <var>fatturaElettronicaType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaType}
  1683.      *
  1684.      * @param fileName Xml file to serialize the object <var>fatturaElettronicaType</var>
  1685.      * @param fatturaElettronicaType Object to be serialized in xml file <var>fileName</var>
  1686.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1687.      */
  1688.     public void write(String fileName,FatturaElettronicaType fatturaElettronicaType) throws SerializerException {
  1689.         this.objToXml(fileName, FatturaElettronicaType.class, fatturaElettronicaType, false);
  1690.     }
  1691.     /**
  1692.      * Serialize to file system in <var>fileName</var> the object <var>fatturaElettronicaType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaType}
  1693.      *
  1694.      * @param fileName Xml file to serialize the object <var>fatturaElettronicaType</var>
  1695.      * @param fatturaElettronicaType Object to be serialized in xml file <var>fileName</var>
  1696.      * @param prettyPrint if true output the XML with indenting
  1697.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1698.      */
  1699.     public void write(String fileName,FatturaElettronicaType fatturaElettronicaType,boolean prettyPrint) throws SerializerException {
  1700.         this.objToXml(fileName, FatturaElettronicaType.class, fatturaElettronicaType, prettyPrint);
  1701.     }
  1702.    
  1703.     /**
  1704.      * Serialize to file system in <var>file</var> the object <var>fatturaElettronicaType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaType}
  1705.      *
  1706.      * @param file Xml file to serialize the object <var>fatturaElettronicaType</var>
  1707.      * @param fatturaElettronicaType Object to be serialized in xml file <var>fileName</var>
  1708.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1709.      */
  1710.     public void write(File file,FatturaElettronicaType fatturaElettronicaType) throws SerializerException {
  1711.         this.objToXml(file, FatturaElettronicaType.class, fatturaElettronicaType, false);
  1712.     }
  1713.     /**
  1714.      * Serialize to file system in <var>file</var> the object <var>fatturaElettronicaType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaType}
  1715.      *
  1716.      * @param file Xml file to serialize the object <var>fatturaElettronicaType</var>
  1717.      * @param fatturaElettronicaType Object to be serialized in xml file <var>fileName</var>
  1718.      * @param prettyPrint if true output the XML with indenting
  1719.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1720.      */
  1721.     public void write(File file,FatturaElettronicaType fatturaElettronicaType,boolean prettyPrint) throws SerializerException {
  1722.         this.objToXml(file, FatturaElettronicaType.class, fatturaElettronicaType, prettyPrint);
  1723.     }
  1724.    
  1725.     /**
  1726.      * Serialize to output stream <var>out</var> the object <var>fatturaElettronicaType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaType}
  1727.      *
  1728.      * @param out OutputStream to serialize the object <var>fatturaElettronicaType</var>
  1729.      * @param fatturaElettronicaType Object to be serialized in xml file <var>fileName</var>
  1730.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1731.      */
  1732.     public void write(OutputStream out,FatturaElettronicaType fatturaElettronicaType) throws SerializerException {
  1733.         this.objToXml(out, FatturaElettronicaType.class, fatturaElettronicaType, false);
  1734.     }
  1735.     /**
  1736.      * Serialize to output stream <var>out</var> the object <var>fatturaElettronicaType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaType}
  1737.      *
  1738.      * @param out OutputStream to serialize the object <var>fatturaElettronicaType</var>
  1739.      * @param fatturaElettronicaType Object to be serialized in xml file <var>fileName</var>
  1740.      * @param prettyPrint if true output the XML with indenting
  1741.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1742.      */
  1743.     public void write(OutputStream out,FatturaElettronicaType fatturaElettronicaType,boolean prettyPrint) throws SerializerException {
  1744.         this.objToXml(out, FatturaElettronicaType.class, fatturaElettronicaType, prettyPrint);
  1745.     }
  1746.            
  1747.     /**
  1748.      * Serialize to byte array the object <var>fatturaElettronicaType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaType}
  1749.      *
  1750.      * @param fatturaElettronicaType Object to be serialized
  1751.      * @return Object to be serialized in byte array
  1752.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1753.      */
  1754.     public byte[] toByteArray(FatturaElettronicaType fatturaElettronicaType) throws SerializerException {
  1755.         return this.objToXml(FatturaElettronicaType.class, fatturaElettronicaType, false).toByteArray();
  1756.     }
  1757.     /**
  1758.      * Serialize to byte array the object <var>fatturaElettronicaType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaType}
  1759.      *
  1760.      * @param fatturaElettronicaType Object to be serialized
  1761.      * @param prettyPrint if true output the XML with indenting
  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(FatturaElettronicaType fatturaElettronicaType,boolean prettyPrint) throws SerializerException {
  1766.         return this.objToXml(FatturaElettronicaType.class, fatturaElettronicaType, prettyPrint).toByteArray();
  1767.     }
  1768.    
  1769.     /**
  1770.      * Serialize to String the object <var>fatturaElettronicaType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaType}
  1771.      *
  1772.      * @param fatturaElettronicaType Object to be serialized
  1773.      * @return Object to be serialized as String
  1774.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1775.      */
  1776.     public String toString(FatturaElettronicaType fatturaElettronicaType) throws SerializerException {
  1777.         return this.objToXml(FatturaElettronicaType.class, fatturaElettronicaType, false).toString();
  1778.     }
  1779.     /**
  1780.      * Serialize to String the object <var>fatturaElettronicaType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.FatturaElettronicaType}
  1781.      *
  1782.      * @param fatturaElettronicaType Object to be serialized
  1783.      * @param prettyPrint if true output the XML with indenting
  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(FatturaElettronicaType fatturaElettronicaType,boolean prettyPrint) throws SerializerException {
  1788.         return this.objToXml(FatturaElettronicaType.class, fatturaElettronicaType, prettyPrint).toString();
  1789.     }
  1790.    
  1791.    
  1792.    
  1793.     /*
  1794.      =================================================================================
  1795.      Object: DatiTrasmissioneType
  1796.      =================================================================================
  1797.     */
  1798.    
  1799.     /**
  1800.      * Serialize to file system in <var>fileName</var> the object <var>datiTrasmissioneType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiTrasmissioneType}
  1801.      *
  1802.      * @param fileName Xml file to serialize the object <var>datiTrasmissioneType</var>
  1803.      * @param datiTrasmissioneType Object to be serialized in xml file <var>fileName</var>
  1804.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1805.      */
  1806.     public void write(String fileName,DatiTrasmissioneType datiTrasmissioneType) throws SerializerException {
  1807.         this.objToXml(fileName, DatiTrasmissioneType.class, datiTrasmissioneType, false);
  1808.     }
  1809.     /**
  1810.      * Serialize to file system in <var>fileName</var> the object <var>datiTrasmissioneType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiTrasmissioneType}
  1811.      *
  1812.      * @param fileName Xml file to serialize the object <var>datiTrasmissioneType</var>
  1813.      * @param datiTrasmissioneType Object to be serialized in xml file <var>fileName</var>
  1814.      * @param prettyPrint if true output the XML with indenting
  1815.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1816.      */
  1817.     public void write(String fileName,DatiTrasmissioneType datiTrasmissioneType,boolean prettyPrint) throws SerializerException {
  1818.         this.objToXml(fileName, DatiTrasmissioneType.class, datiTrasmissioneType, prettyPrint);
  1819.     }
  1820.    
  1821.     /**
  1822.      * Serialize to file system in <var>file</var> the object <var>datiTrasmissioneType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiTrasmissioneType}
  1823.      *
  1824.      * @param file Xml file to serialize the object <var>datiTrasmissioneType</var>
  1825.      * @param datiTrasmissioneType Object to be serialized in xml file <var>fileName</var>
  1826.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1827.      */
  1828.     public void write(File file,DatiTrasmissioneType datiTrasmissioneType) throws SerializerException {
  1829.         this.objToXml(file, DatiTrasmissioneType.class, datiTrasmissioneType, false);
  1830.     }
  1831.     /**
  1832.      * Serialize to file system in <var>file</var> the object <var>datiTrasmissioneType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiTrasmissioneType}
  1833.      *
  1834.      * @param file Xml file to serialize the object <var>datiTrasmissioneType</var>
  1835.      * @param datiTrasmissioneType Object to be serialized in xml file <var>fileName</var>
  1836.      * @param prettyPrint if true output the XML with indenting
  1837.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1838.      */
  1839.     public void write(File file,DatiTrasmissioneType datiTrasmissioneType,boolean prettyPrint) throws SerializerException {
  1840.         this.objToXml(file, DatiTrasmissioneType.class, datiTrasmissioneType, prettyPrint);
  1841.     }
  1842.    
  1843.     /**
  1844.      * Serialize to output stream <var>out</var> the object <var>datiTrasmissioneType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiTrasmissioneType}
  1845.      *
  1846.      * @param out OutputStream to serialize the object <var>datiTrasmissioneType</var>
  1847.      * @param datiTrasmissioneType Object to be serialized in xml file <var>fileName</var>
  1848.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1849.      */
  1850.     public void write(OutputStream out,DatiTrasmissioneType datiTrasmissioneType) throws SerializerException {
  1851.         this.objToXml(out, DatiTrasmissioneType.class, datiTrasmissioneType, false);
  1852.     }
  1853.     /**
  1854.      * Serialize to output stream <var>out</var> the object <var>datiTrasmissioneType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiTrasmissioneType}
  1855.      *
  1856.      * @param out OutputStream to serialize the object <var>datiTrasmissioneType</var>
  1857.      * @param datiTrasmissioneType Object to be serialized in xml file <var>fileName</var>
  1858.      * @param prettyPrint if true output the XML with indenting
  1859.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1860.      */
  1861.     public void write(OutputStream out,DatiTrasmissioneType datiTrasmissioneType,boolean prettyPrint) throws SerializerException {
  1862.         this.objToXml(out, DatiTrasmissioneType.class, datiTrasmissioneType, prettyPrint);
  1863.     }
  1864.            
  1865.     /**
  1866.      * Serialize to byte array the object <var>datiTrasmissioneType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiTrasmissioneType}
  1867.      *
  1868.      * @param datiTrasmissioneType Object to be serialized
  1869.      * @return Object to be serialized in byte array
  1870.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1871.      */
  1872.     public byte[] toByteArray(DatiTrasmissioneType datiTrasmissioneType) throws SerializerException {
  1873.         return this.objToXml(DatiTrasmissioneType.class, datiTrasmissioneType, false).toByteArray();
  1874.     }
  1875.     /**
  1876.      * Serialize to byte array the object <var>datiTrasmissioneType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiTrasmissioneType}
  1877.      *
  1878.      * @param datiTrasmissioneType Object to be serialized
  1879.      * @param prettyPrint if true output the XML with indenting
  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(DatiTrasmissioneType datiTrasmissioneType,boolean prettyPrint) throws SerializerException {
  1884.         return this.objToXml(DatiTrasmissioneType.class, datiTrasmissioneType, prettyPrint).toByteArray();
  1885.     }
  1886.    
  1887.     /**
  1888.      * Serialize to String the object <var>datiTrasmissioneType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiTrasmissioneType}
  1889.      *
  1890.      * @param datiTrasmissioneType Object to be serialized
  1891.      * @return Object to be serialized as String
  1892.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1893.      */
  1894.     public String toString(DatiTrasmissioneType datiTrasmissioneType) throws SerializerException {
  1895.         return this.objToXml(DatiTrasmissioneType.class, datiTrasmissioneType, false).toString();
  1896.     }
  1897.     /**
  1898.      * Serialize to String the object <var>datiTrasmissioneType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.DatiTrasmissioneType}
  1899.      *
  1900.      * @param datiTrasmissioneType Object to be serialized
  1901.      * @param prettyPrint if true output the XML with indenting
  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(DatiTrasmissioneType datiTrasmissioneType,boolean prettyPrint) throws SerializerException {
  1906.         return this.objToXml(DatiTrasmissioneType.class, datiTrasmissioneType, prettyPrint).toString();
  1907.     }
  1908.    
  1909.    
  1910.    
  1911.     /*
  1912.      =================================================================================
  1913.      Object: CedentePrestatoreType
  1914.      =================================================================================
  1915.     */
  1916.    
  1917.     /**
  1918.      * Serialize to file system in <var>fileName</var> the object <var>cedentePrestatoreType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CedentePrestatoreType}
  1919.      *
  1920.      * @param fileName Xml file to serialize the object <var>cedentePrestatoreType</var>
  1921.      * @param cedentePrestatoreType Object to be serialized in xml file <var>fileName</var>
  1922.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1923.      */
  1924.     public void write(String fileName,CedentePrestatoreType cedentePrestatoreType) throws SerializerException {
  1925.         this.objToXml(fileName, CedentePrestatoreType.class, cedentePrestatoreType, false);
  1926.     }
  1927.     /**
  1928.      * Serialize to file system in <var>fileName</var> the object <var>cedentePrestatoreType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CedentePrestatoreType}
  1929.      *
  1930.      * @param fileName Xml file to serialize the object <var>cedentePrestatoreType</var>
  1931.      * @param cedentePrestatoreType Object to be serialized in xml file <var>fileName</var>
  1932.      * @param prettyPrint if true output the XML with indenting
  1933.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1934.      */
  1935.     public void write(String fileName,CedentePrestatoreType cedentePrestatoreType,boolean prettyPrint) throws SerializerException {
  1936.         this.objToXml(fileName, CedentePrestatoreType.class, cedentePrestatoreType, prettyPrint);
  1937.     }
  1938.    
  1939.     /**
  1940.      * Serialize to file system in <var>file</var> the object <var>cedentePrestatoreType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CedentePrestatoreType}
  1941.      *
  1942.      * @param file Xml file to serialize the object <var>cedentePrestatoreType</var>
  1943.      * @param cedentePrestatoreType Object to be serialized in xml file <var>fileName</var>
  1944.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1945.      */
  1946.     public void write(File file,CedentePrestatoreType cedentePrestatoreType) throws SerializerException {
  1947.         this.objToXml(file, CedentePrestatoreType.class, cedentePrestatoreType, false);
  1948.     }
  1949.     /**
  1950.      * Serialize to file system in <var>file</var> the object <var>cedentePrestatoreType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CedentePrestatoreType}
  1951.      *
  1952.      * @param file Xml file to serialize the object <var>cedentePrestatoreType</var>
  1953.      * @param cedentePrestatoreType Object to be serialized in xml file <var>fileName</var>
  1954.      * @param prettyPrint if true output the XML with indenting
  1955.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1956.      */
  1957.     public void write(File file,CedentePrestatoreType cedentePrestatoreType,boolean prettyPrint) throws SerializerException {
  1958.         this.objToXml(file, CedentePrestatoreType.class, cedentePrestatoreType, prettyPrint);
  1959.     }
  1960.    
  1961.     /**
  1962.      * Serialize to output stream <var>out</var> the object <var>cedentePrestatoreType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CedentePrestatoreType}
  1963.      *
  1964.      * @param out OutputStream to serialize the object <var>cedentePrestatoreType</var>
  1965.      * @param cedentePrestatoreType Object to be serialized in xml file <var>fileName</var>
  1966.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1967.      */
  1968.     public void write(OutputStream out,CedentePrestatoreType cedentePrestatoreType) throws SerializerException {
  1969.         this.objToXml(out, CedentePrestatoreType.class, cedentePrestatoreType, false);
  1970.     }
  1971.     /**
  1972.      * Serialize to output stream <var>out</var> the object <var>cedentePrestatoreType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CedentePrestatoreType}
  1973.      *
  1974.      * @param out OutputStream to serialize the object <var>cedentePrestatoreType</var>
  1975.      * @param cedentePrestatoreType Object to be serialized in xml file <var>fileName</var>
  1976.      * @param prettyPrint if true output the XML with indenting
  1977.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1978.      */
  1979.     public void write(OutputStream out,CedentePrestatoreType cedentePrestatoreType,boolean prettyPrint) throws SerializerException {
  1980.         this.objToXml(out, CedentePrestatoreType.class, cedentePrestatoreType, prettyPrint);
  1981.     }
  1982.            
  1983.     /**
  1984.      * Serialize to byte array the object <var>cedentePrestatoreType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CedentePrestatoreType}
  1985.      *
  1986.      * @param cedentePrestatoreType Object to be serialized
  1987.      * @return Object to be serialized in byte array
  1988.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  1989.      */
  1990.     public byte[] toByteArray(CedentePrestatoreType cedentePrestatoreType) throws SerializerException {
  1991.         return this.objToXml(CedentePrestatoreType.class, cedentePrestatoreType, false).toByteArray();
  1992.     }
  1993.     /**
  1994.      * Serialize to byte array the object <var>cedentePrestatoreType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CedentePrestatoreType}
  1995.      *
  1996.      * @param cedentePrestatoreType Object to be serialized
  1997.      * @param prettyPrint if true output the XML with indenting
  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(CedentePrestatoreType cedentePrestatoreType,boolean prettyPrint) throws SerializerException {
  2002.         return this.objToXml(CedentePrestatoreType.class, cedentePrestatoreType, prettyPrint).toByteArray();
  2003.     }
  2004.    
  2005.     /**
  2006.      * Serialize to String the object <var>cedentePrestatoreType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CedentePrestatoreType}
  2007.      *
  2008.      * @param cedentePrestatoreType Object to be serialized
  2009.      * @return Object to be serialized as String
  2010.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2011.      */
  2012.     public String toString(CedentePrestatoreType cedentePrestatoreType) throws SerializerException {
  2013.         return this.objToXml(CedentePrestatoreType.class, cedentePrestatoreType, false).toString();
  2014.     }
  2015.     /**
  2016.      * Serialize to String the object <var>cedentePrestatoreType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CedentePrestatoreType}
  2017.      *
  2018.      * @param cedentePrestatoreType Object to be serialized
  2019.      * @param prettyPrint if true output the XML with indenting
  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(CedentePrestatoreType cedentePrestatoreType,boolean prettyPrint) throws SerializerException {
  2024.         return this.objToXml(CedentePrestatoreType.class, cedentePrestatoreType, prettyPrint).toString();
  2025.     }
  2026.    
  2027.    
  2028.    
  2029.     /*
  2030.      =================================================================================
  2031.      Object: CessionarioCommittenteType
  2032.      =================================================================================
  2033.     */
  2034.    
  2035.     /**
  2036.      * Serialize to file system in <var>fileName</var> the object <var>cessionarioCommittenteType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CessionarioCommittenteType}
  2037.      *
  2038.      * @param fileName Xml file to serialize the object <var>cessionarioCommittenteType</var>
  2039.      * @param cessionarioCommittenteType Object to be serialized in xml file <var>fileName</var>
  2040.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2041.      */
  2042.     public void write(String fileName,CessionarioCommittenteType cessionarioCommittenteType) throws SerializerException {
  2043.         this.objToXml(fileName, CessionarioCommittenteType.class, cessionarioCommittenteType, false);
  2044.     }
  2045.     /**
  2046.      * Serialize to file system in <var>fileName</var> the object <var>cessionarioCommittenteType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CessionarioCommittenteType}
  2047.      *
  2048.      * @param fileName Xml file to serialize the object <var>cessionarioCommittenteType</var>
  2049.      * @param cessionarioCommittenteType Object to be serialized in xml file <var>fileName</var>
  2050.      * @param prettyPrint if true output the XML with indenting
  2051.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2052.      */
  2053.     public void write(String fileName,CessionarioCommittenteType cessionarioCommittenteType,boolean prettyPrint) throws SerializerException {
  2054.         this.objToXml(fileName, CessionarioCommittenteType.class, cessionarioCommittenteType, prettyPrint);
  2055.     }
  2056.    
  2057.     /**
  2058.      * Serialize to file system in <var>file</var> the object <var>cessionarioCommittenteType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CessionarioCommittenteType}
  2059.      *
  2060.      * @param file Xml file to serialize the object <var>cessionarioCommittenteType</var>
  2061.      * @param cessionarioCommittenteType Object to be serialized in xml file <var>fileName</var>
  2062.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2063.      */
  2064.     public void write(File file,CessionarioCommittenteType cessionarioCommittenteType) throws SerializerException {
  2065.         this.objToXml(file, CessionarioCommittenteType.class, cessionarioCommittenteType, false);
  2066.     }
  2067.     /**
  2068.      * Serialize to file system in <var>file</var> the object <var>cessionarioCommittenteType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CessionarioCommittenteType}
  2069.      *
  2070.      * @param file Xml file to serialize the object <var>cessionarioCommittenteType</var>
  2071.      * @param cessionarioCommittenteType Object to be serialized in xml file <var>fileName</var>
  2072.      * @param prettyPrint if true output the XML with indenting
  2073.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2074.      */
  2075.     public void write(File file,CessionarioCommittenteType cessionarioCommittenteType,boolean prettyPrint) throws SerializerException {
  2076.         this.objToXml(file, CessionarioCommittenteType.class, cessionarioCommittenteType, prettyPrint);
  2077.     }
  2078.    
  2079.     /**
  2080.      * Serialize to output stream <var>out</var> the object <var>cessionarioCommittenteType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CessionarioCommittenteType}
  2081.      *
  2082.      * @param out OutputStream to serialize the object <var>cessionarioCommittenteType</var>
  2083.      * @param cessionarioCommittenteType Object to be serialized in xml file <var>fileName</var>
  2084.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2085.      */
  2086.     public void write(OutputStream out,CessionarioCommittenteType cessionarioCommittenteType) throws SerializerException {
  2087.         this.objToXml(out, CessionarioCommittenteType.class, cessionarioCommittenteType, false);
  2088.     }
  2089.     /**
  2090.      * Serialize to output stream <var>out</var> the object <var>cessionarioCommittenteType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CessionarioCommittenteType}
  2091.      *
  2092.      * @param out OutputStream to serialize the object <var>cessionarioCommittenteType</var>
  2093.      * @param cessionarioCommittenteType Object to be serialized in xml file <var>fileName</var>
  2094.      * @param prettyPrint if true output the XML with indenting
  2095.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2096.      */
  2097.     public void write(OutputStream out,CessionarioCommittenteType cessionarioCommittenteType,boolean prettyPrint) throws SerializerException {
  2098.         this.objToXml(out, CessionarioCommittenteType.class, cessionarioCommittenteType, prettyPrint);
  2099.     }
  2100.            
  2101.     /**
  2102.      * Serialize to byte array the object <var>cessionarioCommittenteType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CessionarioCommittenteType}
  2103.      *
  2104.      * @param cessionarioCommittenteType Object to be serialized
  2105.      * @return Object to be serialized in byte array
  2106.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2107.      */
  2108.     public byte[] toByteArray(CessionarioCommittenteType cessionarioCommittenteType) throws SerializerException {
  2109.         return this.objToXml(CessionarioCommittenteType.class, cessionarioCommittenteType, false).toByteArray();
  2110.     }
  2111.     /**
  2112.      * Serialize to byte array the object <var>cessionarioCommittenteType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CessionarioCommittenteType}
  2113.      *
  2114.      * @param cessionarioCommittenteType Object to be serialized
  2115.      * @param prettyPrint if true output the XML with indenting
  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(CessionarioCommittenteType cessionarioCommittenteType,boolean prettyPrint) throws SerializerException {
  2120.         return this.objToXml(CessionarioCommittenteType.class, cessionarioCommittenteType, prettyPrint).toByteArray();
  2121.     }
  2122.    
  2123.     /**
  2124.      * Serialize to String the object <var>cessionarioCommittenteType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CessionarioCommittenteType}
  2125.      *
  2126.      * @param cessionarioCommittenteType Object to be serialized
  2127.      * @return Object to be serialized as String
  2128.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2129.      */
  2130.     public String toString(CessionarioCommittenteType cessionarioCommittenteType) throws SerializerException {
  2131.         return this.objToXml(CessionarioCommittenteType.class, cessionarioCommittenteType, false).toString();
  2132.     }
  2133.     /**
  2134.      * Serialize to String the object <var>cessionarioCommittenteType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.CessionarioCommittenteType}
  2135.      *
  2136.      * @param cessionarioCommittenteType Object to be serialized
  2137.      * @param prettyPrint if true output the XML with indenting
  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(CessionarioCommittenteType cessionarioCommittenteType,boolean prettyPrint) throws SerializerException {
  2142.         return this.objToXml(CessionarioCommittenteType.class, cessionarioCommittenteType, prettyPrint).toString();
  2143.     }
  2144.    
  2145.    
  2146.    
  2147.     /*
  2148.      =================================================================================
  2149.      Object: IscrizioneREAType
  2150.      =================================================================================
  2151.     */
  2152.    
  2153.     /**
  2154.      * Serialize to file system in <var>fileName</var> the object <var>iscrizioneREAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IscrizioneREAType}
  2155.      *
  2156.      * @param fileName Xml file to serialize the object <var>iscrizioneREAType</var>
  2157.      * @param iscrizioneREAType Object to be serialized in xml file <var>fileName</var>
  2158.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2159.      */
  2160.     public void write(String fileName,IscrizioneREAType iscrizioneREAType) throws SerializerException {
  2161.         this.objToXml(fileName, IscrizioneREAType.class, iscrizioneREAType, false);
  2162.     }
  2163.     /**
  2164.      * Serialize to file system in <var>fileName</var> the object <var>iscrizioneREAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IscrizioneREAType}
  2165.      *
  2166.      * @param fileName Xml file to serialize the object <var>iscrizioneREAType</var>
  2167.      * @param iscrizioneREAType Object to be serialized in xml file <var>fileName</var>
  2168.      * @param prettyPrint if true output the XML with indenting
  2169.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2170.      */
  2171.     public void write(String fileName,IscrizioneREAType iscrizioneREAType,boolean prettyPrint) throws SerializerException {
  2172.         this.objToXml(fileName, IscrizioneREAType.class, iscrizioneREAType, prettyPrint);
  2173.     }
  2174.    
  2175.     /**
  2176.      * Serialize to file system in <var>file</var> the object <var>iscrizioneREAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IscrizioneREAType}
  2177.      *
  2178.      * @param file Xml file to serialize the object <var>iscrizioneREAType</var>
  2179.      * @param iscrizioneREAType Object to be serialized in xml file <var>fileName</var>
  2180.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2181.      */
  2182.     public void write(File file,IscrizioneREAType iscrizioneREAType) throws SerializerException {
  2183.         this.objToXml(file, IscrizioneREAType.class, iscrizioneREAType, false);
  2184.     }
  2185.     /**
  2186.      * Serialize to file system in <var>file</var> the object <var>iscrizioneREAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IscrizioneREAType}
  2187.      *
  2188.      * @param file Xml file to serialize the object <var>iscrizioneREAType</var>
  2189.      * @param iscrizioneREAType Object to be serialized in xml file <var>fileName</var>
  2190.      * @param prettyPrint if true output the XML with indenting
  2191.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2192.      */
  2193.     public void write(File file,IscrizioneREAType iscrizioneREAType,boolean prettyPrint) throws SerializerException {
  2194.         this.objToXml(file, IscrizioneREAType.class, iscrizioneREAType, prettyPrint);
  2195.     }
  2196.    
  2197.     /**
  2198.      * Serialize to output stream <var>out</var> the object <var>iscrizioneREAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IscrizioneREAType}
  2199.      *
  2200.      * @param out OutputStream to serialize the object <var>iscrizioneREAType</var>
  2201.      * @param iscrizioneREAType Object to be serialized in xml file <var>fileName</var>
  2202.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2203.      */
  2204.     public void write(OutputStream out,IscrizioneREAType iscrizioneREAType) throws SerializerException {
  2205.         this.objToXml(out, IscrizioneREAType.class, iscrizioneREAType, false);
  2206.     }
  2207.     /**
  2208.      * Serialize to output stream <var>out</var> the object <var>iscrizioneREAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IscrizioneREAType}
  2209.      *
  2210.      * @param out OutputStream to serialize the object <var>iscrizioneREAType</var>
  2211.      * @param iscrizioneREAType Object to be serialized in xml file <var>fileName</var>
  2212.      * @param prettyPrint if true output the XML with indenting
  2213.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2214.      */
  2215.     public void write(OutputStream out,IscrizioneREAType iscrizioneREAType,boolean prettyPrint) throws SerializerException {
  2216.         this.objToXml(out, IscrizioneREAType.class, iscrizioneREAType, prettyPrint);
  2217.     }
  2218.            
  2219.     /**
  2220.      * Serialize to byte array the object <var>iscrizioneREAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IscrizioneREAType}
  2221.      *
  2222.      * @param iscrizioneREAType Object to be serialized
  2223.      * @return Object to be serialized in byte array
  2224.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2225.      */
  2226.     public byte[] toByteArray(IscrizioneREAType iscrizioneREAType) throws SerializerException {
  2227.         return this.objToXml(IscrizioneREAType.class, iscrizioneREAType, false).toByteArray();
  2228.     }
  2229.     /**
  2230.      * Serialize to byte array the object <var>iscrizioneREAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IscrizioneREAType}
  2231.      *
  2232.      * @param iscrizioneREAType Object to be serialized
  2233.      * @param prettyPrint if true output the XML with indenting
  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(IscrizioneREAType iscrizioneREAType,boolean prettyPrint) throws SerializerException {
  2238.         return this.objToXml(IscrizioneREAType.class, iscrizioneREAType, prettyPrint).toByteArray();
  2239.     }
  2240.    
  2241.     /**
  2242.      * Serialize to String the object <var>iscrizioneREAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IscrizioneREAType}
  2243.      *
  2244.      * @param iscrizioneREAType Object to be serialized
  2245.      * @return Object to be serialized as String
  2246.      * @throws SerializerException The exception that is thrown when an error occurs during serialization
  2247.      */
  2248.     public String toString(IscrizioneREAType iscrizioneREAType) throws SerializerException {
  2249.         return this.objToXml(IscrizioneREAType.class, iscrizioneREAType, false).toString();
  2250.     }
  2251.     /**
  2252.      * Serialize to String the object <var>iscrizioneREAType</var> of type {@link it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.IscrizioneREAType}
  2253.      *
  2254.      * @param iscrizioneREAType Object to be serialized
  2255.      * @param prettyPrint if true output the XML with indenting
  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(IscrizioneREAType iscrizioneREAType,boolean prettyPrint) throws SerializerException {
  2260.         return this.objToXml(IscrizioneREAType.class, iscrizioneREAType, prettyPrint).toString();
  2261.     }
  2262.    
  2263.    
  2264.    

  2265. }