AbstractDeserializer.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.fatturapa.sdi.messaggi.v1_0.utils.serializer;

  21. import org.openspcoop2.generic_project.exception.DeserializerException;

  22. import it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType;
  23. import it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType;
  24. import it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType;
  25. import it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType;
  26. import it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType;
  27. import it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType;
  28. import it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType;
  29. import it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType;
  30. import it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType;
  31. import it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType;
  32. import it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType;
  33. import it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType;
  34. import it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType;
  35. import it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType;

  36. import java.io.InputStream;
  37. import java.io.File;

  38. /**    
  39.  * XML Deserializer of beans
  40.  *
  41.  * @author Poli Andrea (poli@link.it)
  42.  * @author $Author$
  43.  * @version $Rev$, $Date$
  44.  */

  45. public abstract class AbstractDeserializer extends org.openspcoop2.generic_project.serializer.AbstractDeserializerBase {



  46.     /*
  47.      =================================================================================
  48.      Object: NotificaEsitoCommittente_Type
  49.      =================================================================================
  50.     */
  51.    
  52.     /**
  53.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  54.      *
  55.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  56.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  57.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  58.      */
  59.     public NotificaEsitoCommittenteType readNotificaEsitoCommittenteType(String fileName) throws DeserializerException {
  60.         return (NotificaEsitoCommittenteType) this.xmlToObj(fileName, NotificaEsitoCommittenteType.class);
  61.     }
  62.    
  63.     /**
  64.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  65.      *
  66.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  67.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  68.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  69.      */
  70.     public NotificaEsitoCommittenteType readNotificaEsitoCommittenteType(File file) throws DeserializerException {
  71.         return (NotificaEsitoCommittenteType) this.xmlToObj(file, NotificaEsitoCommittenteType.class);
  72.     }
  73.    
  74.     /**
  75.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  76.      *
  77.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  78.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  79.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  80.      */
  81.     public NotificaEsitoCommittenteType readNotificaEsitoCommittenteType(InputStream in) throws DeserializerException {
  82.         return (NotificaEsitoCommittenteType) this.xmlToObj(in, NotificaEsitoCommittenteType.class);
  83.     }  
  84.    
  85.     /**
  86.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  87.      *
  88.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  89.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  90.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  91.      */
  92.     public NotificaEsitoCommittenteType readNotificaEsitoCommittenteType(byte[] in) throws DeserializerException {
  93.         return (NotificaEsitoCommittenteType) this.xmlToObj(in, NotificaEsitoCommittenteType.class);
  94.     }  
  95.    
  96.     /**
  97.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  98.      *
  99.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  100.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType}
  101.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  102.      */
  103.     public NotificaEsitoCommittenteType readNotificaEsitoCommittenteTypeFromString(String in) throws DeserializerException {
  104.         return (NotificaEsitoCommittenteType) this.xmlToObj(in.getBytes(), NotificaEsitoCommittenteType.class);
  105.     }  
  106.    
  107.    
  108.    
  109.     /*
  110.      =================================================================================
  111.      Object: RiferimentoFattura_Type
  112.      =================================================================================
  113.     */
  114.    
  115.     /**
  116.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  117.      *
  118.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  119.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  120.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  121.      */
  122.     public RiferimentoFatturaType readRiferimentoFatturaType(String fileName) throws DeserializerException {
  123.         return (RiferimentoFatturaType) this.xmlToObj(fileName, RiferimentoFatturaType.class);
  124.     }
  125.    
  126.     /**
  127.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  128.      *
  129.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  130.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  131.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  132.      */
  133.     public RiferimentoFatturaType readRiferimentoFatturaType(File file) throws DeserializerException {
  134.         return (RiferimentoFatturaType) this.xmlToObj(file, RiferimentoFatturaType.class);
  135.     }
  136.    
  137.     /**
  138.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  139.      *
  140.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  141.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  142.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  143.      */
  144.     public RiferimentoFatturaType readRiferimentoFatturaType(InputStream in) throws DeserializerException {
  145.         return (RiferimentoFatturaType) this.xmlToObj(in, RiferimentoFatturaType.class);
  146.     }  
  147.    
  148.     /**
  149.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  150.      *
  151.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  152.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  153.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  154.      */
  155.     public RiferimentoFatturaType readRiferimentoFatturaType(byte[] in) throws DeserializerException {
  156.         return (RiferimentoFatturaType) this.xmlToObj(in, RiferimentoFatturaType.class);
  157.     }  
  158.    
  159.     /**
  160.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  161.      *
  162.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  163.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoFatturaType}
  164.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  165.      */
  166.     public RiferimentoFatturaType readRiferimentoFatturaTypeFromString(String in) throws DeserializerException {
  167.         return (RiferimentoFatturaType) this.xmlToObj(in.getBytes(), RiferimentoFatturaType.class);
  168.     }  
  169.    
  170.    
  171.    
  172.     /*
  173.      =================================================================================
  174.      Object: RicevutaConsegna_Type
  175.      =================================================================================
  176.     */
  177.    
  178.     /**
  179.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  180.      *
  181.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  182.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  183.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  184.      */
  185.     public RicevutaConsegnaType readRicevutaConsegnaType(String fileName) throws DeserializerException {
  186.         return (RicevutaConsegnaType) this.xmlToObj(fileName, RicevutaConsegnaType.class);
  187.     }
  188.    
  189.     /**
  190.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  191.      *
  192.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  193.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  194.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  195.      */
  196.     public RicevutaConsegnaType readRicevutaConsegnaType(File file) throws DeserializerException {
  197.         return (RicevutaConsegnaType) this.xmlToObj(file, RicevutaConsegnaType.class);
  198.     }
  199.    
  200.     /**
  201.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  202.      *
  203.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  204.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  205.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  206.      */
  207.     public RicevutaConsegnaType readRicevutaConsegnaType(InputStream in) throws DeserializerException {
  208.         return (RicevutaConsegnaType) this.xmlToObj(in, RicevutaConsegnaType.class);
  209.     }  
  210.    
  211.     /**
  212.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  213.      *
  214.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  215.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  216.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  217.      */
  218.     public RicevutaConsegnaType readRicevutaConsegnaType(byte[] in) throws DeserializerException {
  219.         return (RicevutaConsegnaType) this.xmlToObj(in, RicevutaConsegnaType.class);
  220.     }  
  221.    
  222.     /**
  223.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  224.      *
  225.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  226.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RicevutaConsegnaType}
  227.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  228.      */
  229.     public RicevutaConsegnaType readRicevutaConsegnaTypeFromString(String in) throws DeserializerException {
  230.         return (RicevutaConsegnaType) this.xmlToObj(in.getBytes(), RicevutaConsegnaType.class);
  231.     }  
  232.    
  233.    
  234.    
  235.     /*
  236.      =================================================================================
  237.      Object: Destinatario_Type
  238.      =================================================================================
  239.     */
  240.    
  241.     /**
  242.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  243.      *
  244.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  245.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  246.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  247.      */
  248.     public DestinatarioType readDestinatarioType(String fileName) throws DeserializerException {
  249.         return (DestinatarioType) this.xmlToObj(fileName, DestinatarioType.class);
  250.     }
  251.    
  252.     /**
  253.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  254.      *
  255.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  256.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  257.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  258.      */
  259.     public DestinatarioType readDestinatarioType(File file) throws DeserializerException {
  260.         return (DestinatarioType) this.xmlToObj(file, DestinatarioType.class);
  261.     }
  262.    
  263.     /**
  264.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  265.      *
  266.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  267.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  268.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  269.      */
  270.     public DestinatarioType readDestinatarioType(InputStream in) throws DeserializerException {
  271.         return (DestinatarioType) this.xmlToObj(in, DestinatarioType.class);
  272.     }  
  273.    
  274.     /**
  275.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  276.      *
  277.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  278.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  279.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  280.      */
  281.     public DestinatarioType readDestinatarioType(byte[] in) throws DeserializerException {
  282.         return (DestinatarioType) this.xmlToObj(in, DestinatarioType.class);
  283.     }  
  284.    
  285.     /**
  286.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  287.      *
  288.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  289.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.DestinatarioType}
  290.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  291.      */
  292.     public DestinatarioType readDestinatarioTypeFromString(String in) throws DeserializerException {
  293.         return (DestinatarioType) this.xmlToObj(in.getBytes(), DestinatarioType.class);
  294.     }  
  295.    
  296.    
  297.    
  298.     /*
  299.      =================================================================================
  300.      Object: RiferimentoArchivio_Type
  301.      =================================================================================
  302.     */
  303.    
  304.     /**
  305.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  306.      *
  307.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  308.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  309.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  310.      */
  311.     public RiferimentoArchivioType readRiferimentoArchivioType(String fileName) throws DeserializerException {
  312.         return (RiferimentoArchivioType) this.xmlToObj(fileName, RiferimentoArchivioType.class);
  313.     }
  314.    
  315.     /**
  316.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  317.      *
  318.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  319.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  320.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  321.      */
  322.     public RiferimentoArchivioType readRiferimentoArchivioType(File file) throws DeserializerException {
  323.         return (RiferimentoArchivioType) this.xmlToObj(file, RiferimentoArchivioType.class);
  324.     }
  325.    
  326.     /**
  327.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  328.      *
  329.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  330.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  331.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  332.      */
  333.     public RiferimentoArchivioType readRiferimentoArchivioType(InputStream in) throws DeserializerException {
  334.         return (RiferimentoArchivioType) this.xmlToObj(in, RiferimentoArchivioType.class);
  335.     }  
  336.    
  337.     /**
  338.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  339.      *
  340.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  341.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  342.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  343.      */
  344.     public RiferimentoArchivioType readRiferimentoArchivioType(byte[] in) throws DeserializerException {
  345.         return (RiferimentoArchivioType) this.xmlToObj(in, RiferimentoArchivioType.class);
  346.     }  
  347.    
  348.     /**
  349.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  350.      *
  351.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  352.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.RiferimentoArchivioType}
  353.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  354.      */
  355.     public RiferimentoArchivioType readRiferimentoArchivioTypeFromString(String in) throws DeserializerException {
  356.         return (RiferimentoArchivioType) this.xmlToObj(in.getBytes(), RiferimentoArchivioType.class);
  357.     }  
  358.    
  359.    
  360.    
  361.     /*
  362.      =================================================================================
  363.      Object: MetadatiInvioFile_Type
  364.      =================================================================================
  365.     */
  366.    
  367.     /**
  368.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  369.      *
  370.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  371.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  372.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  373.      */
  374.     public MetadatiInvioFileType readMetadatiInvioFileType(String fileName) throws DeserializerException {
  375.         return (MetadatiInvioFileType) this.xmlToObj(fileName, MetadatiInvioFileType.class);
  376.     }
  377.    
  378.     /**
  379.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  380.      *
  381.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  382.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  383.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  384.      */
  385.     public MetadatiInvioFileType readMetadatiInvioFileType(File file) throws DeserializerException {
  386.         return (MetadatiInvioFileType) this.xmlToObj(file, MetadatiInvioFileType.class);
  387.     }
  388.    
  389.     /**
  390.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  391.      *
  392.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  393.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  394.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  395.      */
  396.     public MetadatiInvioFileType readMetadatiInvioFileType(InputStream in) throws DeserializerException {
  397.         return (MetadatiInvioFileType) this.xmlToObj(in, MetadatiInvioFileType.class);
  398.     }  
  399.    
  400.     /**
  401.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  402.      *
  403.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  404.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  405.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  406.      */
  407.     public MetadatiInvioFileType readMetadatiInvioFileType(byte[] in) throws DeserializerException {
  408.         return (MetadatiInvioFileType) this.xmlToObj(in, MetadatiInvioFileType.class);
  409.     }  
  410.    
  411.     /**
  412.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  413.      *
  414.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  415.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.MetadatiInvioFileType}
  416.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  417.      */
  418.     public MetadatiInvioFileType readMetadatiInvioFileTypeFromString(String in) throws DeserializerException {
  419.         return (MetadatiInvioFileType) this.xmlToObj(in.getBytes(), MetadatiInvioFileType.class);
  420.     }  
  421.    
  422.    
  423.    
  424.     /*
  425.      =================================================================================
  426.      Object: NotificaDecorrenzaTermini_Type
  427.      =================================================================================
  428.     */
  429.    
  430.     /**
  431.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  432.      *
  433.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  434.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  435.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  436.      */
  437.     public NotificaDecorrenzaTerminiType readNotificaDecorrenzaTerminiType(String fileName) throws DeserializerException {
  438.         return (NotificaDecorrenzaTerminiType) this.xmlToObj(fileName, NotificaDecorrenzaTerminiType.class);
  439.     }
  440.    
  441.     /**
  442.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  443.      *
  444.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  445.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  446.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  447.      */
  448.     public NotificaDecorrenzaTerminiType readNotificaDecorrenzaTerminiType(File file) throws DeserializerException {
  449.         return (NotificaDecorrenzaTerminiType) this.xmlToObj(file, NotificaDecorrenzaTerminiType.class);
  450.     }
  451.    
  452.     /**
  453.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  454.      *
  455.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  456.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  457.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  458.      */
  459.     public NotificaDecorrenzaTerminiType readNotificaDecorrenzaTerminiType(InputStream in) throws DeserializerException {
  460.         return (NotificaDecorrenzaTerminiType) this.xmlToObj(in, NotificaDecorrenzaTerminiType.class);
  461.     }  
  462.    
  463.     /**
  464.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  465.      *
  466.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  467.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  468.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  469.      */
  470.     public NotificaDecorrenzaTerminiType readNotificaDecorrenzaTerminiType(byte[] in) throws DeserializerException {
  471.         return (NotificaDecorrenzaTerminiType) this.xmlToObj(in, NotificaDecorrenzaTerminiType.class);
  472.     }  
  473.    
  474.     /**
  475.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  476.      *
  477.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  478.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaDecorrenzaTerminiType}
  479.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  480.      */
  481.     public NotificaDecorrenzaTerminiType readNotificaDecorrenzaTerminiTypeFromString(String in) throws DeserializerException {
  482.         return (NotificaDecorrenzaTerminiType) this.xmlToObj(in.getBytes(), NotificaDecorrenzaTerminiType.class);
  483.     }  
  484.    
  485.    
  486.    
  487.     /*
  488.      =================================================================================
  489.      Object: ScartoEsitoCommittente_Type
  490.      =================================================================================
  491.     */
  492.    
  493.     /**
  494.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  495.      *
  496.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  497.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  498.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  499.      */
  500.     public ScartoEsitoCommittenteType readScartoEsitoCommittenteType(String fileName) throws DeserializerException {
  501.         return (ScartoEsitoCommittenteType) this.xmlToObj(fileName, ScartoEsitoCommittenteType.class);
  502.     }
  503.    
  504.     /**
  505.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  506.      *
  507.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  508.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  509.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  510.      */
  511.     public ScartoEsitoCommittenteType readScartoEsitoCommittenteType(File file) throws DeserializerException {
  512.         return (ScartoEsitoCommittenteType) this.xmlToObj(file, ScartoEsitoCommittenteType.class);
  513.     }
  514.    
  515.     /**
  516.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  517.      *
  518.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  519.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  520.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  521.      */
  522.     public ScartoEsitoCommittenteType readScartoEsitoCommittenteType(InputStream in) throws DeserializerException {
  523.         return (ScartoEsitoCommittenteType) this.xmlToObj(in, ScartoEsitoCommittenteType.class);
  524.     }  
  525.    
  526.     /**
  527.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  528.      *
  529.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  530.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  531.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  532.      */
  533.     public ScartoEsitoCommittenteType readScartoEsitoCommittenteType(byte[] in) throws DeserializerException {
  534.         return (ScartoEsitoCommittenteType) this.xmlToObj(in, ScartoEsitoCommittenteType.class);
  535.     }  
  536.    
  537.     /**
  538.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  539.      *
  540.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  541.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType}
  542.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  543.      */
  544.     public ScartoEsitoCommittenteType readScartoEsitoCommittenteTypeFromString(String in) throws DeserializerException {
  545.         return (ScartoEsitoCommittenteType) this.xmlToObj(in.getBytes(), ScartoEsitoCommittenteType.class);
  546.     }  
  547.    
  548.    
  549.    
  550.     /*
  551.      =================================================================================
  552.      Object: Errore_Type
  553.      =================================================================================
  554.     */
  555.    
  556.     /**
  557.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  558.      *
  559.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  560.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  561.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  562.      */
  563.     public ErroreType readErroreType(String fileName) throws DeserializerException {
  564.         return (ErroreType) this.xmlToObj(fileName, ErroreType.class);
  565.     }
  566.    
  567.     /**
  568.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  569.      *
  570.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  571.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  572.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  573.      */
  574.     public ErroreType readErroreType(File file) throws DeserializerException {
  575.         return (ErroreType) this.xmlToObj(file, ErroreType.class);
  576.     }
  577.    
  578.     /**
  579.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  580.      *
  581.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  582.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  583.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  584.      */
  585.     public ErroreType readErroreType(InputStream in) throws DeserializerException {
  586.         return (ErroreType) this.xmlToObj(in, ErroreType.class);
  587.     }  
  588.    
  589.     /**
  590.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  591.      *
  592.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  593.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  594.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  595.      */
  596.     public ErroreType readErroreType(byte[] in) throws DeserializerException {
  597.         return (ErroreType) this.xmlToObj(in, ErroreType.class);
  598.     }  
  599.    
  600.     /**
  601.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  602.      *
  603.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  604.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ErroreType}
  605.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  606.      */
  607.     public ErroreType readErroreTypeFromString(String in) throws DeserializerException {
  608.         return (ErroreType) this.xmlToObj(in.getBytes(), ErroreType.class);
  609.     }  
  610.    
  611.    
  612.    
  613.     /*
  614.      =================================================================================
  615.      Object: ListaErrori_Type
  616.      =================================================================================
  617.     */
  618.    
  619.     /**
  620.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  621.      *
  622.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  623.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  624.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  625.      */
  626.     public ListaErroriType readListaErroriType(String fileName) throws DeserializerException {
  627.         return (ListaErroriType) this.xmlToObj(fileName, ListaErroriType.class);
  628.     }
  629.    
  630.     /**
  631.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  632.      *
  633.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  634.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  635.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  636.      */
  637.     public ListaErroriType readListaErroriType(File file) throws DeserializerException {
  638.         return (ListaErroriType) this.xmlToObj(file, ListaErroriType.class);
  639.     }
  640.    
  641.     /**
  642.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  643.      *
  644.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  645.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  646.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  647.      */
  648.     public ListaErroriType readListaErroriType(InputStream in) throws DeserializerException {
  649.         return (ListaErroriType) this.xmlToObj(in, ListaErroriType.class);
  650.     }  
  651.    
  652.     /**
  653.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  654.      *
  655.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  656.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  657.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  658.      */
  659.     public ListaErroriType readListaErroriType(byte[] in) throws DeserializerException {
  660.         return (ListaErroriType) this.xmlToObj(in, ListaErroriType.class);
  661.     }  
  662.    
  663.     /**
  664.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  665.      *
  666.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  667.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.ListaErroriType}
  668.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  669.      */
  670.     public ListaErroriType readListaErroriTypeFromString(String in) throws DeserializerException {
  671.         return (ListaErroriType) this.xmlToObj(in.getBytes(), ListaErroriType.class);
  672.     }  
  673.    
  674.    
  675.    
  676.     /*
  677.      =================================================================================
  678.      Object: NotificaEsito_Type
  679.      =================================================================================
  680.     */
  681.    
  682.     /**
  683.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  684.      *
  685.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  686.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  687.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  688.      */
  689.     public NotificaEsitoType readNotificaEsitoType(String fileName) throws DeserializerException {
  690.         return (NotificaEsitoType) this.xmlToObj(fileName, NotificaEsitoType.class);
  691.     }
  692.    
  693.     /**
  694.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  695.      *
  696.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  697.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  698.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  699.      */
  700.     public NotificaEsitoType readNotificaEsitoType(File file) throws DeserializerException {
  701.         return (NotificaEsitoType) this.xmlToObj(file, NotificaEsitoType.class);
  702.     }
  703.    
  704.     /**
  705.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  706.      *
  707.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  708.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  709.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  710.      */
  711.     public NotificaEsitoType readNotificaEsitoType(InputStream in) throws DeserializerException {
  712.         return (NotificaEsitoType) this.xmlToObj(in, NotificaEsitoType.class);
  713.     }  
  714.    
  715.     /**
  716.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  717.      *
  718.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  719.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  720.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  721.      */
  722.     public NotificaEsitoType readNotificaEsitoType(byte[] in) throws DeserializerException {
  723.         return (NotificaEsitoType) this.xmlToObj(in, NotificaEsitoType.class);
  724.     }  
  725.    
  726.     /**
  727.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  728.      *
  729.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  730.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoType}
  731.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  732.      */
  733.     public NotificaEsitoType readNotificaEsitoTypeFromString(String in) throws DeserializerException {
  734.         return (NotificaEsitoType) this.xmlToObj(in.getBytes(), NotificaEsitoType.class);
  735.     }  
  736.    
  737.    
  738.    
  739.     /*
  740.      =================================================================================
  741.      Object: NotificaScarto_Type
  742.      =================================================================================
  743.     */
  744.    
  745.     /**
  746.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  747.      *
  748.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  749.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  750.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  751.      */
  752.     public NotificaScartoType readNotificaScartoType(String fileName) throws DeserializerException {
  753.         return (NotificaScartoType) this.xmlToObj(fileName, NotificaScartoType.class);
  754.     }
  755.    
  756.     /**
  757.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  758.      *
  759.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  760.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  761.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  762.      */
  763.     public NotificaScartoType readNotificaScartoType(File file) throws DeserializerException {
  764.         return (NotificaScartoType) this.xmlToObj(file, NotificaScartoType.class);
  765.     }
  766.    
  767.     /**
  768.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  769.      *
  770.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  771.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  772.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  773.      */
  774.     public NotificaScartoType readNotificaScartoType(InputStream in) throws DeserializerException {
  775.         return (NotificaScartoType) this.xmlToObj(in, NotificaScartoType.class);
  776.     }  
  777.    
  778.     /**
  779.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  780.      *
  781.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  782.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  783.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  784.      */
  785.     public NotificaScartoType readNotificaScartoType(byte[] in) throws DeserializerException {
  786.         return (NotificaScartoType) this.xmlToObj(in, NotificaScartoType.class);
  787.     }  
  788.    
  789.     /**
  790.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  791.      *
  792.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  793.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaScartoType}
  794.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  795.      */
  796.     public NotificaScartoType readNotificaScartoTypeFromString(String in) throws DeserializerException {
  797.         return (NotificaScartoType) this.xmlToObj(in.getBytes(), NotificaScartoType.class);
  798.     }  
  799.    
  800.    
  801.    
  802.     /*
  803.      =================================================================================
  804.      Object: NotificaMancataConsegna_Type
  805.      =================================================================================
  806.     */
  807.    
  808.     /**
  809.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  810.      *
  811.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  812.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  813.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  814.      */
  815.     public NotificaMancataConsegnaType readNotificaMancataConsegnaType(String fileName) throws DeserializerException {
  816.         return (NotificaMancataConsegnaType) this.xmlToObj(fileName, NotificaMancataConsegnaType.class);
  817.     }
  818.    
  819.     /**
  820.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  821.      *
  822.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  823.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  824.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  825.      */
  826.     public NotificaMancataConsegnaType readNotificaMancataConsegnaType(File file) throws DeserializerException {
  827.         return (NotificaMancataConsegnaType) this.xmlToObj(file, NotificaMancataConsegnaType.class);
  828.     }
  829.    
  830.     /**
  831.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  832.      *
  833.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  834.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  835.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  836.      */
  837.     public NotificaMancataConsegnaType readNotificaMancataConsegnaType(InputStream in) throws DeserializerException {
  838.         return (NotificaMancataConsegnaType) this.xmlToObj(in, NotificaMancataConsegnaType.class);
  839.     }  
  840.    
  841.     /**
  842.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  843.      *
  844.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  845.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  846.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  847.      */
  848.     public NotificaMancataConsegnaType readNotificaMancataConsegnaType(byte[] in) throws DeserializerException {
  849.         return (NotificaMancataConsegnaType) this.xmlToObj(in, NotificaMancataConsegnaType.class);
  850.     }  
  851.    
  852.     /**
  853.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  854.      *
  855.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  856.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.NotificaMancataConsegnaType}
  857.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  858.      */
  859.     public NotificaMancataConsegnaType readNotificaMancataConsegnaTypeFromString(String in) throws DeserializerException {
  860.         return (NotificaMancataConsegnaType) this.xmlToObj(in.getBytes(), NotificaMancataConsegnaType.class);
  861.     }  
  862.    
  863.    
  864.    
  865.     /*
  866.      =================================================================================
  867.      Object: AttestazioneTrasmissioneFattura_Type
  868.      =================================================================================
  869.     */
  870.    
  871.     /**
  872.      * Transform the xml in <var>fileName</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  873.      *
  874.      * @param fileName Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  875.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  876.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  877.      */
  878.     public AttestazioneTrasmissioneFatturaType readAttestazioneTrasmissioneFatturaType(String fileName) throws DeserializerException {
  879.         return (AttestazioneTrasmissioneFatturaType) this.xmlToObj(fileName, AttestazioneTrasmissioneFatturaType.class);
  880.     }
  881.    
  882.     /**
  883.      * Transform the xml in <var>file</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  884.      *
  885.      * @param file Xml file to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  886.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  887.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  888.      */
  889.     public AttestazioneTrasmissioneFatturaType readAttestazioneTrasmissioneFatturaType(File file) throws DeserializerException {
  890.         return (AttestazioneTrasmissioneFatturaType) this.xmlToObj(file, AttestazioneTrasmissioneFatturaType.class);
  891.     }
  892.    
  893.     /**
  894.      * Transform the input stream <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  895.      *
  896.      * @param in InputStream to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  897.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  898.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  899.      */
  900.     public AttestazioneTrasmissioneFatturaType readAttestazioneTrasmissioneFatturaType(InputStream in) throws DeserializerException {
  901.         return (AttestazioneTrasmissioneFatturaType) this.xmlToObj(in, AttestazioneTrasmissioneFatturaType.class);
  902.     }  
  903.    
  904.     /**
  905.      * Transform the byte array <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  906.      *
  907.      * @param in Byte array to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  908.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  909.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  910.      */
  911.     public AttestazioneTrasmissioneFatturaType readAttestazioneTrasmissioneFatturaType(byte[] in) throws DeserializerException {
  912.         return (AttestazioneTrasmissioneFatturaType) this.xmlToObj(in, AttestazioneTrasmissioneFatturaType.class);
  913.     }  
  914.    
  915.     /**
  916.      * Transform the String <var>in</var> in the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  917.      *
  918.      * @param in String to use for the reconstruction of the object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  919.      * @return Object type {@link it.gov.fatturapa.sdi.messaggi.v1_0.AttestazioneTrasmissioneFatturaType}
  920.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  921.      */
  922.     public AttestazioneTrasmissioneFatturaType readAttestazioneTrasmissioneFatturaTypeFromString(String in) throws DeserializerException {
  923.         return (AttestazioneTrasmissioneFatturaType) this.xmlToObj(in.getBytes(), AttestazioneTrasmissioneFatturaType.class);
  924.     }  
  925.    
  926.    
  927.    

  928. }