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.monitor.engine.config.transazioni.utils.serializer;

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

  22. import org.openspcoop2.monitor.engine.config.transazioni.IdConfigurazioneServizioAzione;
  23. import org.openspcoop2.monitor.engine.config.transazioni.IdConfigurazioneTransazione;
  24. import org.openspcoop2.monitor.engine.config.transazioni.InfoPlugin;
  25. import org.openspcoop2.monitor.engine.config.transazioni.ConfigurazioneServizioAzione;
  26. import org.openspcoop2.monitor.engine.config.transazioni.ConfigurazioneServizio;
  27. import org.openspcoop2.monitor.engine.config.transazioni.IdConfigurazioneServizio;
  28. import org.openspcoop2.monitor.engine.config.transazioni.ConfigurazioneTransazioneRisorsaContenuto;
  29. import org.openspcoop2.monitor.engine.config.transazioni.IdConfigurazioneTransazioneStato;
  30. import org.openspcoop2.monitor.engine.config.transazioni.ConfigurazioneTransazione;
  31. import org.openspcoop2.monitor.engine.config.transazioni.ConfigurazioneTransazionePlugin;
  32. import org.openspcoop2.monitor.engine.config.transazioni.ConfigurazioneTransazioneStato;
  33. import org.openspcoop2.monitor.engine.config.transazioni.IdPlugin;
  34. import org.openspcoop2.monitor.engine.config.transazioni.Plugin;

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

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

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



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

  864. }