AbstractSerializer.java

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

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

  24. import org.openspcoop2.core.plugins.IdConfigurazioneFiltro;
  25. import org.openspcoop2.core.plugins.ElencoIdConfigurazioneFiltro;
  26. import org.openspcoop2.core.plugins.Plugin;
  27. import org.openspcoop2.core.plugins.ElencoPlugin;
  28. import org.openspcoop2.core.plugins.ConfigurazioneServizioAzione;
  29. import org.openspcoop2.core.plugins.IdConfigurazioneServizio;
  30. import org.openspcoop2.core.plugins.ConfigurazioneServizio;
  31. import org.openspcoop2.core.plugins.IdConfigurazioneServizioAzione;
  32. import org.openspcoop2.core.plugins.ConfigurazioneFiltro;
  33. import org.openspcoop2.core.plugins.ElencoConfigurazioneFiltro;
  34. import org.openspcoop2.core.plugins.PluginServizioAzioneCompatibilita;
  35. import org.openspcoop2.core.plugins.IdPlugin;
  36. import org.openspcoop2.core.plugins.ElencoIdPlugin;
  37. import org.openspcoop2.core.plugins.PluginServizioCompatibilita;
  38. import org.openspcoop2.core.plugins.PluginProprietaCompatibilita;
  39. import org.openspcoop2.core.plugins.ElencoIdConfigurazioneServizio;
  40. import org.openspcoop2.core.plugins.ElencoConfigurazioneServizio;

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

  46. import javax.xml.bind.JAXBElement;

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


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




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

  2146. }