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 org.openspcoop2.protocol.abstraction.utils.serializer;

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

  22. import org.openspcoop2.protocol.abstraction.Soggetto;
  23. import org.openspcoop2.protocol.abstraction.RiferimentoSoggetto;
  24. import org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour;
  25. import org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic;
  26. import org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore;
  27. import org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione;
  28. import org.openspcoop2.protocol.abstraction.IdentificatoreAccordo;
  29. import org.openspcoop2.protocol.abstraction.IdentificatoreServizio;
  30. import org.openspcoop2.protocol.abstraction.DatiServizio;
  31. import org.openspcoop2.protocol.abstraction.Fruitori;
  32. import org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore;
  33. import org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione;
  34. import org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica;
  35. import org.openspcoop2.protocol.abstraction.DatiFruizione;
  36. import org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune;
  37. import org.openspcoop2.protocol.abstraction.Erogazione;
  38. import org.openspcoop2.protocol.abstraction.Fruizione;

  39. import java.io.InputStream;
  40. import java.io.File;

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

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



  49.     /*
  50.      =================================================================================
  51.      Object: Soggetto
  52.      =================================================================================
  53.     */
  54.    
  55.     /**
  56.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  57.      *
  58.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  59.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  60.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  61.      */
  62.     public Soggetto readSoggetto(String fileName) throws DeserializerException {
  63.         return (Soggetto) this.xmlToObj(fileName, Soggetto.class);
  64.     }
  65.    
  66.     /**
  67.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  68.      *
  69.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  70.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  71.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  72.      */
  73.     public Soggetto readSoggetto(File file) throws DeserializerException {
  74.         return (Soggetto) this.xmlToObj(file, Soggetto.class);
  75.     }
  76.    
  77.     /**
  78.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  79.      *
  80.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  81.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  82.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  83.      */
  84.     public Soggetto readSoggetto(InputStream in) throws DeserializerException {
  85.         return (Soggetto) this.xmlToObj(in, Soggetto.class);
  86.     }  
  87.    
  88.     /**
  89.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  90.      *
  91.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  92.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  93.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  94.      */
  95.     public Soggetto readSoggetto(byte[] in) throws DeserializerException {
  96.         return (Soggetto) this.xmlToObj(in, Soggetto.class);
  97.     }  
  98.    
  99.     /**
  100.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  101.      *
  102.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  103.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Soggetto}
  104.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  105.      */
  106.     public Soggetto readSoggettoFromString(String in) throws DeserializerException {
  107.         return (Soggetto) this.xmlToObj(in.getBytes(), Soggetto.class);
  108.     }  
  109.    
  110.    
  111.    
  112.     /*
  113.      =================================================================================
  114.      Object: RiferimentoSoggetto
  115.      =================================================================================
  116.     */
  117.    
  118.     /**
  119.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  120.      *
  121.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  122.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  123.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  124.      */
  125.     public RiferimentoSoggetto readRiferimentoSoggetto(String fileName) throws DeserializerException {
  126.         return (RiferimentoSoggetto) this.xmlToObj(fileName, RiferimentoSoggetto.class);
  127.     }
  128.    
  129.     /**
  130.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  131.      *
  132.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  133.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  134.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  135.      */
  136.     public RiferimentoSoggetto readRiferimentoSoggetto(File file) throws DeserializerException {
  137.         return (RiferimentoSoggetto) this.xmlToObj(file, RiferimentoSoggetto.class);
  138.     }
  139.    
  140.     /**
  141.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  142.      *
  143.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  144.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  145.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  146.      */
  147.     public RiferimentoSoggetto readRiferimentoSoggetto(InputStream in) throws DeserializerException {
  148.         return (RiferimentoSoggetto) this.xmlToObj(in, RiferimentoSoggetto.class);
  149.     }  
  150.    
  151.     /**
  152.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  153.      *
  154.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  155.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  156.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  157.      */
  158.     public RiferimentoSoggetto readRiferimentoSoggetto(byte[] in) throws DeserializerException {
  159.         return (RiferimentoSoggetto) this.xmlToObj(in, RiferimentoSoggetto.class);
  160.     }  
  161.    
  162.     /**
  163.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  164.      *
  165.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  166.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoSoggetto}
  167.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  168.      */
  169.     public RiferimentoSoggetto readRiferimentoSoggettoFromString(String in) throws DeserializerException {
  170.         return (RiferimentoSoggetto) this.xmlToObj(in.getBytes(), RiferimentoSoggetto.class);
  171.     }  
  172.    
  173.    
  174.    
  175.     /*
  176.      =================================================================================
  177.      Object: SoggettoNotExistsBehaviour
  178.      =================================================================================
  179.     */
  180.    
  181.     /**
  182.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  183.      *
  184.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  185.      * @return Object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  186.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  187.      */
  188.     public SoggettoNotExistsBehaviour readSoggettoNotExistsBehaviour(String fileName) throws DeserializerException {
  189.         return (SoggettoNotExistsBehaviour) this.xmlToObj(fileName, SoggettoNotExistsBehaviour.class);
  190.     }
  191.    
  192.     /**
  193.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  194.      *
  195.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  196.      * @return Object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  197.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  198.      */
  199.     public SoggettoNotExistsBehaviour readSoggettoNotExistsBehaviour(File file) throws DeserializerException {
  200.         return (SoggettoNotExistsBehaviour) this.xmlToObj(file, SoggettoNotExistsBehaviour.class);
  201.     }
  202.    
  203.     /**
  204.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  205.      *
  206.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  207.      * @return Object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  208.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  209.      */
  210.     public SoggettoNotExistsBehaviour readSoggettoNotExistsBehaviour(InputStream in) throws DeserializerException {
  211.         return (SoggettoNotExistsBehaviour) this.xmlToObj(in, SoggettoNotExistsBehaviour.class);
  212.     }  
  213.    
  214.     /**
  215.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  216.      *
  217.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  218.      * @return Object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  219.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  220.      */
  221.     public SoggettoNotExistsBehaviour readSoggettoNotExistsBehaviour(byte[] in) throws DeserializerException {
  222.         return (SoggettoNotExistsBehaviour) this.xmlToObj(in, SoggettoNotExistsBehaviour.class);
  223.     }  
  224.    
  225.     /**
  226.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  227.      *
  228.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  229.      * @return Object type {@link org.openspcoop2.protocol.abstraction.SoggettoNotExistsBehaviour}
  230.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  231.      */
  232.     public SoggettoNotExistsBehaviour readSoggettoNotExistsBehaviourFromString(String in) throws DeserializerException {
  233.         return (SoggettoNotExistsBehaviour) this.xmlToObj(in.getBytes(), SoggettoNotExistsBehaviour.class);
  234.     }  
  235.    
  236.    
  237.    
  238.     /*
  239.      =================================================================================
  240.      Object: CredenzialiInvocazioneBasic
  241.      =================================================================================
  242.     */
  243.    
  244.     /**
  245.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  246.      *
  247.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  248.      * @return Object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  249.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  250.      */
  251.     public CredenzialiInvocazioneBasic readCredenzialiInvocazioneBasic(String fileName) throws DeserializerException {
  252.         return (CredenzialiInvocazioneBasic) this.xmlToObj(fileName, CredenzialiInvocazioneBasic.class);
  253.     }
  254.    
  255.     /**
  256.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  257.      *
  258.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  259.      * @return Object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  260.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  261.      */
  262.     public CredenzialiInvocazioneBasic readCredenzialiInvocazioneBasic(File file) throws DeserializerException {
  263.         return (CredenzialiInvocazioneBasic) this.xmlToObj(file, CredenzialiInvocazioneBasic.class);
  264.     }
  265.    
  266.     /**
  267.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  268.      *
  269.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  270.      * @return Object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  271.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  272.      */
  273.     public CredenzialiInvocazioneBasic readCredenzialiInvocazioneBasic(InputStream in) throws DeserializerException {
  274.         return (CredenzialiInvocazioneBasic) this.xmlToObj(in, CredenzialiInvocazioneBasic.class);
  275.     }  
  276.    
  277.     /**
  278.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  279.      *
  280.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  281.      * @return Object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  282.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  283.      */
  284.     public CredenzialiInvocazioneBasic readCredenzialiInvocazioneBasic(byte[] in) throws DeserializerException {
  285.         return (CredenzialiInvocazioneBasic) this.xmlToObj(in, CredenzialiInvocazioneBasic.class);
  286.     }  
  287.    
  288.     /**
  289.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  290.      *
  291.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  292.      * @return Object type {@link org.openspcoop2.protocol.abstraction.CredenzialiInvocazioneBasic}
  293.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  294.      */
  295.     public CredenzialiInvocazioneBasic readCredenzialiInvocazioneBasicFromString(String in) throws DeserializerException {
  296.         return (CredenzialiInvocazioneBasic) this.xmlToObj(in.getBytes(), CredenzialiInvocazioneBasic.class);
  297.     }  
  298.    
  299.    
  300.    
  301.     /*
  302.      =================================================================================
  303.      Object: RiferimentoServizioApplicativoFruitore
  304.      =================================================================================
  305.     */
  306.    
  307.     /**
  308.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  309.      *
  310.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  311.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  312.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  313.      */
  314.     public RiferimentoServizioApplicativoFruitore readRiferimentoServizioApplicativoFruitore(String fileName) throws DeserializerException {
  315.         return (RiferimentoServizioApplicativoFruitore) this.xmlToObj(fileName, RiferimentoServizioApplicativoFruitore.class);
  316.     }
  317.    
  318.     /**
  319.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  320.      *
  321.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  322.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  323.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  324.      */
  325.     public RiferimentoServizioApplicativoFruitore readRiferimentoServizioApplicativoFruitore(File file) throws DeserializerException {
  326.         return (RiferimentoServizioApplicativoFruitore) this.xmlToObj(file, RiferimentoServizioApplicativoFruitore.class);
  327.     }
  328.    
  329.     /**
  330.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  331.      *
  332.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  333.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  334.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  335.      */
  336.     public RiferimentoServizioApplicativoFruitore readRiferimentoServizioApplicativoFruitore(InputStream in) throws DeserializerException {
  337.         return (RiferimentoServizioApplicativoFruitore) this.xmlToObj(in, RiferimentoServizioApplicativoFruitore.class);
  338.     }  
  339.    
  340.     /**
  341.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  342.      *
  343.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  344.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  345.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  346.      */
  347.     public RiferimentoServizioApplicativoFruitore readRiferimentoServizioApplicativoFruitore(byte[] in) throws DeserializerException {
  348.         return (RiferimentoServizioApplicativoFruitore) this.xmlToObj(in, RiferimentoServizioApplicativoFruitore.class);
  349.     }  
  350.    
  351.     /**
  352.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  353.      *
  354.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  355.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoFruitore}
  356.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  357.      */
  358.     public RiferimentoServizioApplicativoFruitore readRiferimentoServizioApplicativoFruitoreFromString(String in) throws DeserializerException {
  359.         return (RiferimentoServizioApplicativoFruitore) this.xmlToObj(in.getBytes(), RiferimentoServizioApplicativoFruitore.class);
  360.     }  
  361.    
  362.    
  363.    
  364.     /*
  365.      =================================================================================
  366.      Object: DatiApplicativiFruizione
  367.      =================================================================================
  368.     */
  369.    
  370.     /**
  371.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  372.      *
  373.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  374.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  375.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  376.      */
  377.     public DatiApplicativiFruizione readDatiApplicativiFruizione(String fileName) throws DeserializerException {
  378.         return (DatiApplicativiFruizione) this.xmlToObj(fileName, DatiApplicativiFruizione.class);
  379.     }
  380.    
  381.     /**
  382.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  383.      *
  384.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  385.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  386.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  387.      */
  388.     public DatiApplicativiFruizione readDatiApplicativiFruizione(File file) throws DeserializerException {
  389.         return (DatiApplicativiFruizione) this.xmlToObj(file, DatiApplicativiFruizione.class);
  390.     }
  391.    
  392.     /**
  393.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  394.      *
  395.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  396.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  397.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  398.      */
  399.     public DatiApplicativiFruizione readDatiApplicativiFruizione(InputStream in) throws DeserializerException {
  400.         return (DatiApplicativiFruizione) this.xmlToObj(in, DatiApplicativiFruizione.class);
  401.     }  
  402.    
  403.     /**
  404.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  405.      *
  406.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  407.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  408.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  409.      */
  410.     public DatiApplicativiFruizione readDatiApplicativiFruizione(byte[] in) throws DeserializerException {
  411.         return (DatiApplicativiFruizione) this.xmlToObj(in, DatiApplicativiFruizione.class);
  412.     }  
  413.    
  414.     /**
  415.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  416.      *
  417.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  418.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiFruizione}
  419.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  420.      */
  421.     public DatiApplicativiFruizione readDatiApplicativiFruizioneFromString(String in) throws DeserializerException {
  422.         return (DatiApplicativiFruizione) this.xmlToObj(in.getBytes(), DatiApplicativiFruizione.class);
  423.     }  
  424.    
  425.    
  426.    
  427.     /*
  428.      =================================================================================
  429.      Object: IdentificatoreAccordo
  430.      =================================================================================
  431.     */
  432.    
  433.     /**
  434.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  435.      *
  436.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  437.      * @return Object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  438.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  439.      */
  440.     public IdentificatoreAccordo readIdentificatoreAccordo(String fileName) throws DeserializerException {
  441.         return (IdentificatoreAccordo) this.xmlToObj(fileName, IdentificatoreAccordo.class);
  442.     }
  443.    
  444.     /**
  445.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  446.      *
  447.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  448.      * @return Object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  449.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  450.      */
  451.     public IdentificatoreAccordo readIdentificatoreAccordo(File file) throws DeserializerException {
  452.         return (IdentificatoreAccordo) this.xmlToObj(file, IdentificatoreAccordo.class);
  453.     }
  454.    
  455.     /**
  456.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  457.      *
  458.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  459.      * @return Object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  460.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  461.      */
  462.     public IdentificatoreAccordo readIdentificatoreAccordo(InputStream in) throws DeserializerException {
  463.         return (IdentificatoreAccordo) this.xmlToObj(in, IdentificatoreAccordo.class);
  464.     }  
  465.    
  466.     /**
  467.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  468.      *
  469.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  470.      * @return Object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  471.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  472.      */
  473.     public IdentificatoreAccordo readIdentificatoreAccordo(byte[] in) throws DeserializerException {
  474.         return (IdentificatoreAccordo) this.xmlToObj(in, IdentificatoreAccordo.class);
  475.     }  
  476.    
  477.     /**
  478.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  479.      *
  480.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  481.      * @return Object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreAccordo}
  482.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  483.      */
  484.     public IdentificatoreAccordo readIdentificatoreAccordoFromString(String in) throws DeserializerException {
  485.         return (IdentificatoreAccordo) this.xmlToObj(in.getBytes(), IdentificatoreAccordo.class);
  486.     }  
  487.    
  488.    
  489.    
  490.     /*
  491.      =================================================================================
  492.      Object: IdentificatoreServizio
  493.      =================================================================================
  494.     */
  495.    
  496.     /**
  497.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  498.      *
  499.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  500.      * @return Object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  501.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  502.      */
  503.     public IdentificatoreServizio readIdentificatoreServizio(String fileName) throws DeserializerException {
  504.         return (IdentificatoreServizio) this.xmlToObj(fileName, IdentificatoreServizio.class);
  505.     }
  506.    
  507.     /**
  508.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  509.      *
  510.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  511.      * @return Object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  512.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  513.      */
  514.     public IdentificatoreServizio readIdentificatoreServizio(File file) throws DeserializerException {
  515.         return (IdentificatoreServizio) this.xmlToObj(file, IdentificatoreServizio.class);
  516.     }
  517.    
  518.     /**
  519.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  520.      *
  521.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  522.      * @return Object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  523.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  524.      */
  525.     public IdentificatoreServizio readIdentificatoreServizio(InputStream in) throws DeserializerException {
  526.         return (IdentificatoreServizio) this.xmlToObj(in, IdentificatoreServizio.class);
  527.     }  
  528.    
  529.     /**
  530.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  531.      *
  532.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  533.      * @return Object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  534.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  535.      */
  536.     public IdentificatoreServizio readIdentificatoreServizio(byte[] in) throws DeserializerException {
  537.         return (IdentificatoreServizio) this.xmlToObj(in, IdentificatoreServizio.class);
  538.     }  
  539.    
  540.     /**
  541.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  542.      *
  543.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  544.      * @return Object type {@link org.openspcoop2.protocol.abstraction.IdentificatoreServizio}
  545.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  546.      */
  547.     public IdentificatoreServizio readIdentificatoreServizioFromString(String in) throws DeserializerException {
  548.         return (IdentificatoreServizio) this.xmlToObj(in.getBytes(), IdentificatoreServizio.class);
  549.     }  
  550.    
  551.    
  552.    
  553.     /*
  554.      =================================================================================
  555.      Object: DatiServizio
  556.      =================================================================================
  557.     */
  558.    
  559.     /**
  560.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  561.      *
  562.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  563.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  564.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  565.      */
  566.     public DatiServizio readDatiServizio(String fileName) throws DeserializerException {
  567.         return (DatiServizio) this.xmlToObj(fileName, DatiServizio.class);
  568.     }
  569.    
  570.     /**
  571.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  572.      *
  573.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  574.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  575.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  576.      */
  577.     public DatiServizio readDatiServizio(File file) throws DeserializerException {
  578.         return (DatiServizio) this.xmlToObj(file, DatiServizio.class);
  579.     }
  580.    
  581.     /**
  582.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  583.      *
  584.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  585.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  586.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  587.      */
  588.     public DatiServizio readDatiServizio(InputStream in) throws DeserializerException {
  589.         return (DatiServizio) this.xmlToObj(in, DatiServizio.class);
  590.     }  
  591.    
  592.     /**
  593.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  594.      *
  595.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  596.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  597.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  598.      */
  599.     public DatiServizio readDatiServizio(byte[] in) throws DeserializerException {
  600.         return (DatiServizio) this.xmlToObj(in, DatiServizio.class);
  601.     }  
  602.    
  603.     /**
  604.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  605.      *
  606.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  607.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiServizio}
  608.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  609.      */
  610.     public DatiServizio readDatiServizioFromString(String in) throws DeserializerException {
  611.         return (DatiServizio) this.xmlToObj(in.getBytes(), DatiServizio.class);
  612.     }  
  613.    
  614.    
  615.    
  616.     /*
  617.      =================================================================================
  618.      Object: Fruitori
  619.      =================================================================================
  620.     */
  621.    
  622.     /**
  623.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  624.      *
  625.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  626.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  627.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  628.      */
  629.     public Fruitori readFruitori(String fileName) throws DeserializerException {
  630.         return (Fruitori) this.xmlToObj(fileName, Fruitori.class);
  631.     }
  632.    
  633.     /**
  634.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  635.      *
  636.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  637.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  638.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  639.      */
  640.     public Fruitori readFruitori(File file) throws DeserializerException {
  641.         return (Fruitori) this.xmlToObj(file, Fruitori.class);
  642.     }
  643.    
  644.     /**
  645.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  646.      *
  647.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  648.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  649.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  650.      */
  651.     public Fruitori readFruitori(InputStream in) throws DeserializerException {
  652.         return (Fruitori) this.xmlToObj(in, Fruitori.class);
  653.     }  
  654.    
  655.     /**
  656.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  657.      *
  658.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  659.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  660.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  661.      */
  662.     public Fruitori readFruitori(byte[] in) throws DeserializerException {
  663.         return (Fruitori) this.xmlToObj(in, Fruitori.class);
  664.     }  
  665.    
  666.     /**
  667.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  668.      *
  669.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  670.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Fruitori}
  671.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  672.      */
  673.     public Fruitori readFruitoriFromString(String in) throws DeserializerException {
  674.         return (Fruitori) this.xmlToObj(in.getBytes(), Fruitori.class);
  675.     }  
  676.    
  677.    
  678.    
  679.     /*
  680.      =================================================================================
  681.      Object: RiferimentoServizioApplicativoErogatore
  682.      =================================================================================
  683.     */
  684.    
  685.     /**
  686.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  687.      *
  688.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  689.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  690.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  691.      */
  692.     public RiferimentoServizioApplicativoErogatore readRiferimentoServizioApplicativoErogatore(String fileName) throws DeserializerException {
  693.         return (RiferimentoServizioApplicativoErogatore) this.xmlToObj(fileName, RiferimentoServizioApplicativoErogatore.class);
  694.     }
  695.    
  696.     /**
  697.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  698.      *
  699.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  700.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  701.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  702.      */
  703.     public RiferimentoServizioApplicativoErogatore readRiferimentoServizioApplicativoErogatore(File file) throws DeserializerException {
  704.         return (RiferimentoServizioApplicativoErogatore) this.xmlToObj(file, RiferimentoServizioApplicativoErogatore.class);
  705.     }
  706.    
  707.     /**
  708.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  709.      *
  710.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  711.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  712.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  713.      */
  714.     public RiferimentoServizioApplicativoErogatore readRiferimentoServizioApplicativoErogatore(InputStream in) throws DeserializerException {
  715.         return (RiferimentoServizioApplicativoErogatore) this.xmlToObj(in, RiferimentoServizioApplicativoErogatore.class);
  716.     }  
  717.    
  718.     /**
  719.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  720.      *
  721.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  722.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  723.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  724.      */
  725.     public RiferimentoServizioApplicativoErogatore readRiferimentoServizioApplicativoErogatore(byte[] in) throws DeserializerException {
  726.         return (RiferimentoServizioApplicativoErogatore) this.xmlToObj(in, RiferimentoServizioApplicativoErogatore.class);
  727.     }  
  728.    
  729.     /**
  730.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  731.      *
  732.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  733.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoServizioApplicativoErogatore}
  734.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  735.      */
  736.     public RiferimentoServizioApplicativoErogatore readRiferimentoServizioApplicativoErogatoreFromString(String in) throws DeserializerException {
  737.         return (RiferimentoServizioApplicativoErogatore) this.xmlToObj(in.getBytes(), RiferimentoServizioApplicativoErogatore.class);
  738.     }  
  739.    
  740.    
  741.    
  742.     /*
  743.      =================================================================================
  744.      Object: DatiApplicativiErogazione
  745.      =================================================================================
  746.     */
  747.    
  748.     /**
  749.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  750.      *
  751.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  752.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  753.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  754.      */
  755.     public DatiApplicativiErogazione readDatiApplicativiErogazione(String fileName) throws DeserializerException {
  756.         return (DatiApplicativiErogazione) this.xmlToObj(fileName, DatiApplicativiErogazione.class);
  757.     }
  758.    
  759.     /**
  760.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  761.      *
  762.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  763.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  764.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  765.      */
  766.     public DatiApplicativiErogazione readDatiApplicativiErogazione(File file) throws DeserializerException {
  767.         return (DatiApplicativiErogazione) this.xmlToObj(file, DatiApplicativiErogazione.class);
  768.     }
  769.    
  770.     /**
  771.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  772.      *
  773.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  774.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  775.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  776.      */
  777.     public DatiApplicativiErogazione readDatiApplicativiErogazione(InputStream in) throws DeserializerException {
  778.         return (DatiApplicativiErogazione) this.xmlToObj(in, DatiApplicativiErogazione.class);
  779.     }  
  780.    
  781.     /**
  782.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  783.      *
  784.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  785.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  786.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  787.      */
  788.     public DatiApplicativiErogazione readDatiApplicativiErogazione(byte[] in) throws DeserializerException {
  789.         return (DatiApplicativiErogazione) this.xmlToObj(in, DatiApplicativiErogazione.class);
  790.     }  
  791.    
  792.     /**
  793.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  794.      *
  795.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  796.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiApplicativiErogazione}
  797.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  798.      */
  799.     public DatiApplicativiErogazione readDatiApplicativiErogazioneFromString(String in) throws DeserializerException {
  800.         return (DatiApplicativiErogazione) this.xmlToObj(in.getBytes(), DatiApplicativiErogazione.class);
  801.     }  
  802.    
  803.    
  804.    
  805.     /*
  806.      =================================================================================
  807.      Object: RiferimentoAccordoServizioParteSpecifica
  808.      =================================================================================
  809.     */
  810.    
  811.     /**
  812.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  813.      *
  814.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  815.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  816.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  817.      */
  818.     public RiferimentoAccordoServizioParteSpecifica readRiferimentoAccordoServizioParteSpecifica(String fileName) throws DeserializerException {
  819.         return (RiferimentoAccordoServizioParteSpecifica) this.xmlToObj(fileName, RiferimentoAccordoServizioParteSpecifica.class);
  820.     }
  821.    
  822.     /**
  823.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  824.      *
  825.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  826.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  827.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  828.      */
  829.     public RiferimentoAccordoServizioParteSpecifica readRiferimentoAccordoServizioParteSpecifica(File file) throws DeserializerException {
  830.         return (RiferimentoAccordoServizioParteSpecifica) this.xmlToObj(file, RiferimentoAccordoServizioParteSpecifica.class);
  831.     }
  832.    
  833.     /**
  834.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  835.      *
  836.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  837.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  838.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  839.      */
  840.     public RiferimentoAccordoServizioParteSpecifica readRiferimentoAccordoServizioParteSpecifica(InputStream in) throws DeserializerException {
  841.         return (RiferimentoAccordoServizioParteSpecifica) this.xmlToObj(in, RiferimentoAccordoServizioParteSpecifica.class);
  842.     }  
  843.    
  844.     /**
  845.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  846.      *
  847.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  848.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  849.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  850.      */
  851.     public RiferimentoAccordoServizioParteSpecifica readRiferimentoAccordoServizioParteSpecifica(byte[] in) throws DeserializerException {
  852.         return (RiferimentoAccordoServizioParteSpecifica) this.xmlToObj(in, RiferimentoAccordoServizioParteSpecifica.class);
  853.     }  
  854.    
  855.     /**
  856.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  857.      *
  858.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  859.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteSpecifica}
  860.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  861.      */
  862.     public RiferimentoAccordoServizioParteSpecifica readRiferimentoAccordoServizioParteSpecificaFromString(String in) throws DeserializerException {
  863.         return (RiferimentoAccordoServizioParteSpecifica) this.xmlToObj(in.getBytes(), RiferimentoAccordoServizioParteSpecifica.class);
  864.     }  
  865.    
  866.    
  867.    
  868.     /*
  869.      =================================================================================
  870.      Object: DatiFruizione
  871.      =================================================================================
  872.     */
  873.    
  874.     /**
  875.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  876.      *
  877.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  878.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  879.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  880.      */
  881.     public DatiFruizione readDatiFruizione(String fileName) throws DeserializerException {
  882.         return (DatiFruizione) this.xmlToObj(fileName, DatiFruizione.class);
  883.     }
  884.    
  885.     /**
  886.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  887.      *
  888.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  889.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  890.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  891.      */
  892.     public DatiFruizione readDatiFruizione(File file) throws DeserializerException {
  893.         return (DatiFruizione) this.xmlToObj(file, DatiFruizione.class);
  894.     }
  895.    
  896.     /**
  897.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  898.      *
  899.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  900.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  901.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  902.      */
  903.     public DatiFruizione readDatiFruizione(InputStream in) throws DeserializerException {
  904.         return (DatiFruizione) this.xmlToObj(in, DatiFruizione.class);
  905.     }  
  906.    
  907.     /**
  908.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  909.      *
  910.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  911.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  912.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  913.      */
  914.     public DatiFruizione readDatiFruizione(byte[] in) throws DeserializerException {
  915.         return (DatiFruizione) this.xmlToObj(in, DatiFruizione.class);
  916.     }  
  917.    
  918.     /**
  919.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  920.      *
  921.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  922.      * @return Object type {@link org.openspcoop2.protocol.abstraction.DatiFruizione}
  923.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  924.      */
  925.     public DatiFruizione readDatiFruizioneFromString(String in) throws DeserializerException {
  926.         return (DatiFruizione) this.xmlToObj(in.getBytes(), DatiFruizione.class);
  927.     }  
  928.    
  929.    
  930.    
  931.     /*
  932.      =================================================================================
  933.      Object: RiferimentoAccordoServizioParteComune
  934.      =================================================================================
  935.     */
  936.    
  937.     /**
  938.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  939.      *
  940.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  941.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  942.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  943.      */
  944.     public RiferimentoAccordoServizioParteComune readRiferimentoAccordoServizioParteComune(String fileName) throws DeserializerException {
  945.         return (RiferimentoAccordoServizioParteComune) this.xmlToObj(fileName, RiferimentoAccordoServizioParteComune.class);
  946.     }
  947.    
  948.     /**
  949.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  950.      *
  951.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  952.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  953.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  954.      */
  955.     public RiferimentoAccordoServizioParteComune readRiferimentoAccordoServizioParteComune(File file) throws DeserializerException {
  956.         return (RiferimentoAccordoServizioParteComune) this.xmlToObj(file, RiferimentoAccordoServizioParteComune.class);
  957.     }
  958.    
  959.     /**
  960.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  961.      *
  962.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  963.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  964.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  965.      */
  966.     public RiferimentoAccordoServizioParteComune readRiferimentoAccordoServizioParteComune(InputStream in) throws DeserializerException {
  967.         return (RiferimentoAccordoServizioParteComune) this.xmlToObj(in, RiferimentoAccordoServizioParteComune.class);
  968.     }  
  969.    
  970.     /**
  971.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  972.      *
  973.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  974.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  975.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  976.      */
  977.     public RiferimentoAccordoServizioParteComune readRiferimentoAccordoServizioParteComune(byte[] in) throws DeserializerException {
  978.         return (RiferimentoAccordoServizioParteComune) this.xmlToObj(in, RiferimentoAccordoServizioParteComune.class);
  979.     }  
  980.    
  981.     /**
  982.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  983.      *
  984.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  985.      * @return Object type {@link org.openspcoop2.protocol.abstraction.RiferimentoAccordoServizioParteComune}
  986.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  987.      */
  988.     public RiferimentoAccordoServizioParteComune readRiferimentoAccordoServizioParteComuneFromString(String in) throws DeserializerException {
  989.         return (RiferimentoAccordoServizioParteComune) this.xmlToObj(in.getBytes(), RiferimentoAccordoServizioParteComune.class);
  990.     }  
  991.    
  992.    
  993.    
  994.     /*
  995.      =================================================================================
  996.      Object: erogazione
  997.      =================================================================================
  998.     */
  999.    
  1000.     /**
  1001.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1002.      *
  1003.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1004.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1005.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  1006.      */
  1007.     public Erogazione readErogazione(String fileName) throws DeserializerException {
  1008.         return (Erogazione) this.xmlToObj(fileName, Erogazione.class);
  1009.     }
  1010.    
  1011.     /**
  1012.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1013.      *
  1014.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1015.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1016.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  1017.      */
  1018.     public Erogazione readErogazione(File file) throws DeserializerException {
  1019.         return (Erogazione) this.xmlToObj(file, Erogazione.class);
  1020.     }
  1021.    
  1022.     /**
  1023.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1024.      *
  1025.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1026.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1027.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  1028.      */
  1029.     public Erogazione readErogazione(InputStream in) throws DeserializerException {
  1030.         return (Erogazione) this.xmlToObj(in, Erogazione.class);
  1031.     }  
  1032.    
  1033.     /**
  1034.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1035.      *
  1036.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1037.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1038.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  1039.      */
  1040.     public Erogazione readErogazione(byte[] in) throws DeserializerException {
  1041.         return (Erogazione) this.xmlToObj(in, Erogazione.class);
  1042.     }  
  1043.    
  1044.     /**
  1045.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1046.      *
  1047.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1048.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Erogazione}
  1049.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  1050.      */
  1051.     public Erogazione readErogazioneFromString(String in) throws DeserializerException {
  1052.         return (Erogazione) this.xmlToObj(in.getBytes(), Erogazione.class);
  1053.     }  
  1054.    
  1055.    
  1056.    
  1057.     /*
  1058.      =================================================================================
  1059.      Object: fruizione
  1060.      =================================================================================
  1061.     */
  1062.    
  1063.     /**
  1064.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1065.      *
  1066.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1067.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1068.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  1069.      */
  1070.     public Fruizione readFruizione(String fileName) throws DeserializerException {
  1071.         return (Fruizione) this.xmlToObj(fileName, Fruizione.class);
  1072.     }
  1073.    
  1074.     /**
  1075.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1076.      *
  1077.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1078.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1079.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  1080.      */
  1081.     public Fruizione readFruizione(File file) throws DeserializerException {
  1082.         return (Fruizione) this.xmlToObj(file, Fruizione.class);
  1083.     }
  1084.    
  1085.     /**
  1086.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1087.      *
  1088.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1089.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1090.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  1091.      */
  1092.     public Fruizione readFruizione(InputStream in) throws DeserializerException {
  1093.         return (Fruizione) this.xmlToObj(in, Fruizione.class);
  1094.     }  
  1095.    
  1096.     /**
  1097.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1098.      *
  1099.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1100.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1101.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  1102.      */
  1103.     public Fruizione readFruizione(byte[] in) throws DeserializerException {
  1104.         return (Fruizione) this.xmlToObj(in, Fruizione.class);
  1105.     }  
  1106.    
  1107.     /**
  1108.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1109.      *
  1110.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1111.      * @return Object type {@link org.openspcoop2.protocol.abstraction.Fruizione}
  1112.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  1113.      */
  1114.     public Fruizione readFruizioneFromString(String in) throws DeserializerException {
  1115.         return (Fruizione) this.xmlToObj(in.getBytes(), Fruizione.class);
  1116.     }  
  1117.    
  1118.    
  1119.    

  1120. }