AbstractDeserializer.java

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

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

  22. import org.openspcoop2.core.eccezione.details.Eccezione;
  23. import org.openspcoop2.core.eccezione.details.DominioSoggetto;
  24. import org.openspcoop2.core.eccezione.details.Dettaglio;
  25. import org.openspcoop2.core.eccezione.details.Dominio;
  26. import org.openspcoop2.core.eccezione.details.DettaglioEccezione;
  27. import org.openspcoop2.core.eccezione.details.Eccezioni;
  28. import org.openspcoop2.core.eccezione.details.Dettagli;

  29. import java.io.InputStream;
  30. import java.io.File;

  31. /**    
  32.  * XML Deserializer of beans
  33.  *
  34.  * @author Poli Andrea (poli@link.it)
  35.  * @author $Author$
  36.  * @version $Rev$, $Date$
  37.  */

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



  39.     /*
  40.      =================================================================================
  41.      Object: eccezione
  42.      =================================================================================
  43.     */
  44.    
  45.     /**
  46.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  47.      *
  48.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  49.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  50.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  51.      */
  52.     public Eccezione readEccezione(String fileName) throws DeserializerException {
  53.         return (Eccezione) this.xmlToObj(fileName, Eccezione.class);
  54.     }
  55.    
  56.     /**
  57.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  58.      *
  59.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  60.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  61.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  62.      */
  63.     public Eccezione readEccezione(File file) throws DeserializerException {
  64.         return (Eccezione) this.xmlToObj(file, Eccezione.class);
  65.     }
  66.    
  67.     /**
  68.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  69.      *
  70.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  71.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  72.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  73.      */
  74.     public Eccezione readEccezione(InputStream in) throws DeserializerException {
  75.         return (Eccezione) this.xmlToObj(in, Eccezione.class);
  76.     }  
  77.    
  78.     /**
  79.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  80.      *
  81.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  82.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  83.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  84.      */
  85.     public Eccezione readEccezione(byte[] in) throws DeserializerException {
  86.         return (Eccezione) this.xmlToObj(in, Eccezione.class);
  87.     }  
  88.    
  89.     /**
  90.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  91.      *
  92.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  93.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Eccezione}
  94.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  95.      */
  96.     public Eccezione readEccezioneFromString(String in) throws DeserializerException {
  97.         return (Eccezione) this.xmlToObj(in.getBytes(), Eccezione.class);
  98.     }  
  99.    
  100.    
  101.    
  102.     /*
  103.      =================================================================================
  104.      Object: dominio-soggetto
  105.      =================================================================================
  106.     */
  107.    
  108.     /**
  109.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  110.      *
  111.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  112.      * @return Object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  113.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  114.      */
  115.     public DominioSoggetto readDominioSoggetto(String fileName) throws DeserializerException {
  116.         return (DominioSoggetto) this.xmlToObj(fileName, DominioSoggetto.class);
  117.     }
  118.    
  119.     /**
  120.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  121.      *
  122.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  123.      * @return Object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  124.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  125.      */
  126.     public DominioSoggetto readDominioSoggetto(File file) throws DeserializerException {
  127.         return (DominioSoggetto) this.xmlToObj(file, DominioSoggetto.class);
  128.     }
  129.    
  130.     /**
  131.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  132.      *
  133.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  134.      * @return Object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  135.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  136.      */
  137.     public DominioSoggetto readDominioSoggetto(InputStream in) throws DeserializerException {
  138.         return (DominioSoggetto) this.xmlToObj(in, DominioSoggetto.class);
  139.     }  
  140.    
  141.     /**
  142.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  143.      *
  144.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  145.      * @return Object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  146.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  147.      */
  148.     public DominioSoggetto readDominioSoggetto(byte[] in) throws DeserializerException {
  149.         return (DominioSoggetto) this.xmlToObj(in, DominioSoggetto.class);
  150.     }  
  151.    
  152.     /**
  153.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  154.      *
  155.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  156.      * @return Object type {@link org.openspcoop2.core.eccezione.details.DominioSoggetto}
  157.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  158.      */
  159.     public DominioSoggetto readDominioSoggettoFromString(String in) throws DeserializerException {
  160.         return (DominioSoggetto) this.xmlToObj(in.getBytes(), DominioSoggetto.class);
  161.     }  
  162.    
  163.    
  164.    
  165.     /*
  166.      =================================================================================
  167.      Object: dettaglio
  168.      =================================================================================
  169.     */
  170.    
  171.     /**
  172.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  173.      *
  174.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  175.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  176.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  177.      */
  178.     public Dettaglio readDettaglio(String fileName) throws DeserializerException {
  179.         return (Dettaglio) this.xmlToObj(fileName, Dettaglio.class);
  180.     }
  181.    
  182.     /**
  183.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  184.      *
  185.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  186.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  187.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  188.      */
  189.     public Dettaglio readDettaglio(File file) throws DeserializerException {
  190.         return (Dettaglio) this.xmlToObj(file, Dettaglio.class);
  191.     }
  192.    
  193.     /**
  194.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  195.      *
  196.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  197.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  198.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  199.      */
  200.     public Dettaglio readDettaglio(InputStream in) throws DeserializerException {
  201.         return (Dettaglio) this.xmlToObj(in, Dettaglio.class);
  202.     }  
  203.    
  204.     /**
  205.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  206.      *
  207.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  208.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  209.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  210.      */
  211.     public Dettaglio readDettaglio(byte[] in) throws DeserializerException {
  212.         return (Dettaglio) this.xmlToObj(in, Dettaglio.class);
  213.     }  
  214.    
  215.     /**
  216.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  217.      *
  218.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  219.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dettaglio}
  220.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  221.      */
  222.     public Dettaglio readDettaglioFromString(String in) throws DeserializerException {
  223.         return (Dettaglio) this.xmlToObj(in.getBytes(), Dettaglio.class);
  224.     }  
  225.    
  226.    
  227.    
  228.     /*
  229.      =================================================================================
  230.      Object: dominio
  231.      =================================================================================
  232.     */
  233.    
  234.     /**
  235.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  236.      *
  237.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  238.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  239.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  240.      */
  241.     public Dominio readDominio(String fileName) throws DeserializerException {
  242.         return (Dominio) this.xmlToObj(fileName, Dominio.class);
  243.     }
  244.    
  245.     /**
  246.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  247.      *
  248.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  249.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  250.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  251.      */
  252.     public Dominio readDominio(File file) throws DeserializerException {
  253.         return (Dominio) this.xmlToObj(file, Dominio.class);
  254.     }
  255.    
  256.     /**
  257.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  258.      *
  259.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  260.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  261.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  262.      */
  263.     public Dominio readDominio(InputStream in) throws DeserializerException {
  264.         return (Dominio) this.xmlToObj(in, Dominio.class);
  265.     }  
  266.    
  267.     /**
  268.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  269.      *
  270.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  271.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  272.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  273.      */
  274.     public Dominio readDominio(byte[] in) throws DeserializerException {
  275.         return (Dominio) this.xmlToObj(in, Dominio.class);
  276.     }  
  277.    
  278.     /**
  279.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  280.      *
  281.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  282.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dominio}
  283.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  284.      */
  285.     public Dominio readDominioFromString(String in) throws DeserializerException {
  286.         return (Dominio) this.xmlToObj(in.getBytes(), Dominio.class);
  287.     }  
  288.    
  289.    
  290.    
  291.     /*
  292.      =================================================================================
  293.      Object: dettaglio-eccezione
  294.      =================================================================================
  295.     */
  296.    
  297.     /**
  298.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  299.      *
  300.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  301.      * @return Object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  302.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  303.      */
  304.     public DettaglioEccezione readDettaglioEccezione(String fileName) throws DeserializerException {
  305.         return (DettaglioEccezione) this.xmlToObj(fileName, DettaglioEccezione.class);
  306.     }
  307.    
  308.     /**
  309.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  310.      *
  311.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  312.      * @return Object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  313.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  314.      */
  315.     public DettaglioEccezione readDettaglioEccezione(File file) throws DeserializerException {
  316.         return (DettaglioEccezione) this.xmlToObj(file, DettaglioEccezione.class);
  317.     }
  318.    
  319.     /**
  320.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  321.      *
  322.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  323.      * @return Object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  324.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  325.      */
  326.     public DettaglioEccezione readDettaglioEccezione(InputStream in) throws DeserializerException {
  327.         return (DettaglioEccezione) this.xmlToObj(in, DettaglioEccezione.class);
  328.     }  
  329.    
  330.     /**
  331.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  332.      *
  333.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  334.      * @return Object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  335.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  336.      */
  337.     public DettaglioEccezione readDettaglioEccezione(byte[] in) throws DeserializerException {
  338.         return (DettaglioEccezione) this.xmlToObj(in, DettaglioEccezione.class);
  339.     }  
  340.    
  341.     /**
  342.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  343.      *
  344.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  345.      * @return Object type {@link org.openspcoop2.core.eccezione.details.DettaglioEccezione}
  346.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  347.      */
  348.     public DettaglioEccezione readDettaglioEccezioneFromString(String in) throws DeserializerException {
  349.         return (DettaglioEccezione) this.xmlToObj(in.getBytes(), DettaglioEccezione.class);
  350.     }  
  351.    
  352.    
  353.    
  354.     /*
  355.      =================================================================================
  356.      Object: eccezioni
  357.      =================================================================================
  358.     */
  359.    
  360.     /**
  361.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  362.      *
  363.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  364.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  365.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  366.      */
  367.     public Eccezioni readEccezioni(String fileName) throws DeserializerException {
  368.         return (Eccezioni) this.xmlToObj(fileName, Eccezioni.class);
  369.     }
  370.    
  371.     /**
  372.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  373.      *
  374.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  375.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  376.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  377.      */
  378.     public Eccezioni readEccezioni(File file) throws DeserializerException {
  379.         return (Eccezioni) this.xmlToObj(file, Eccezioni.class);
  380.     }
  381.    
  382.     /**
  383.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  384.      *
  385.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  386.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  387.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  388.      */
  389.     public Eccezioni readEccezioni(InputStream in) throws DeserializerException {
  390.         return (Eccezioni) this.xmlToObj(in, Eccezioni.class);
  391.     }  
  392.    
  393.     /**
  394.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  395.      *
  396.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  397.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  398.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  399.      */
  400.     public Eccezioni readEccezioni(byte[] in) throws DeserializerException {
  401.         return (Eccezioni) this.xmlToObj(in, Eccezioni.class);
  402.     }  
  403.    
  404.     /**
  405.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  406.      *
  407.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  408.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Eccezioni}
  409.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  410.      */
  411.     public Eccezioni readEccezioniFromString(String in) throws DeserializerException {
  412.         return (Eccezioni) this.xmlToObj(in.getBytes(), Eccezioni.class);
  413.     }  
  414.    
  415.    
  416.    
  417.     /*
  418.      =================================================================================
  419.      Object: dettagli
  420.      =================================================================================
  421.     */
  422.    
  423.     /**
  424.      * Transform the xml in <var>fileName</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  425.      *
  426.      * @param fileName Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  427.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  428.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  429.      */
  430.     public Dettagli readDettagli(String fileName) throws DeserializerException {
  431.         return (Dettagli) this.xmlToObj(fileName, Dettagli.class);
  432.     }
  433.    
  434.     /**
  435.      * Transform the xml in <var>file</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  436.      *
  437.      * @param file Xml file to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  438.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  439.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  440.      */
  441.     public Dettagli readDettagli(File file) throws DeserializerException {
  442.         return (Dettagli) this.xmlToObj(file, Dettagli.class);
  443.     }
  444.    
  445.     /**
  446.      * Transform the input stream <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  447.      *
  448.      * @param in InputStream to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  449.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  450.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  451.      */
  452.     public Dettagli readDettagli(InputStream in) throws DeserializerException {
  453.         return (Dettagli) this.xmlToObj(in, Dettagli.class);
  454.     }  
  455.    
  456.     /**
  457.      * Transform the byte array <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  458.      *
  459.      * @param in Byte array to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  460.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  461.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  462.      */
  463.     public Dettagli readDettagli(byte[] in) throws DeserializerException {
  464.         return (Dettagli) this.xmlToObj(in, Dettagli.class);
  465.     }  
  466.    
  467.     /**
  468.      * Transform the String <var>in</var> in the object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  469.      *
  470.      * @param in String to use for the reconstruction of the object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  471.      * @return Object type {@link org.openspcoop2.core.eccezione.details.Dettagli}
  472.      * @throws DeserializerException The exception that is thrown when an error occurs during deserialization
  473.      */
  474.     public Dettagli readDettagliFromString(String in) throws DeserializerException {
  475.         return (Dettagli) this.xmlToObj(in.getBytes(), Dettagli.class);
  476.     }  
  477.    
  478.    
  479.    

  480. }