AbstractSerializer.java
/*
* GovWay - A customizable API Gateway
* https://govway.org
*
* Copyright (c) 2005-2024 Link.it srl (https://link.it).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3, as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package org.openspcoop2.core.transazioni.utils.serializer;
import org.openspcoop2.generic_project.exception.SerializerException;
import org.openspcoop2.utils.beans.WriteToSerializerType;
import org.openspcoop2.utils.xml.JaxbUtils;
import org.openspcoop2.core.transazioni.DumpAllegato;
import org.openspcoop2.core.transazioni.DumpHeaderAllegato;
import org.openspcoop2.core.transazioni.DumpMultipartHeader;
import org.openspcoop2.core.transazioni.TransazioneApplicativoServer;
import org.openspcoop2.core.transazioni.IdCredenzialeMittente;
import org.openspcoop2.core.transazioni.TransazioneClasseEsiti;
import org.openspcoop2.core.transazioni.DumpHeaderTrasporto;
import org.openspcoop2.core.transazioni.CredenzialeMittente;
import org.openspcoop2.core.transazioni.DumpContenuto;
import org.openspcoop2.core.transazioni.IdTransazioneApplicativoServer;
import org.openspcoop2.core.transazioni.Transazione;
import org.openspcoop2.core.transazioni.DumpMessaggio;
import org.openspcoop2.core.transazioni.TransazioneExtendedInfo;
import org.openspcoop2.core.transazioni.TransazioneEsiti;
import org.openspcoop2.core.transazioni.IdDumpMessaggio;
import org.openspcoop2.core.transazioni.TransazioneInfo;
import org.openspcoop2.core.transazioni.TransazioneExport;
import java.io.ByteArrayOutputStream;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.io.File;
import java.lang.reflect.Method;
import javax.xml.bind.JAXBElement;
/**
* XML Serializer of beans
*
* @author Poli Andrea (poli@link.it)
* @author $Author$
* @version $Rev$, $Date$
*/
public abstract class AbstractSerializer {
protected abstract WriteToSerializerType getType();
protected void _objToXml(OutputStream out, Class<?> c, Object object,
boolean prettyPrint) throws Exception {
if(object instanceof JAXBElement){
// solo per il tipo WriteToSerializerType.JAXB
JaxbUtils.objToXml(out, c, object, prettyPrint);
}else{
Method m = c.getMethod("writeTo", OutputStream.class, WriteToSerializerType.class);
m.invoke(object, out, this.getType());
}
}
protected void objToXml(OutputStream out,Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
try{
this._objToXml(out, c, object, prettyPrint);
}catch(Exception e){
throw new SerializerException(e.getMessage(), e);
}
finally{
try{
out.flush();
}catch(Exception e){
// ignore
}
}
}
protected void objToXml(String fileName,Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
try{
this.objToXml(new File(fileName), c, object, prettyPrint);
}catch(Exception e){
throw new SerializerException(e.getMessage(), e);
}
}
protected void objToXml(File file,Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
FileOutputStream fout = null;
try{
fout = new FileOutputStream(file);
this._objToXml(fout, c, object, prettyPrint);
}catch(Exception e){
throw new SerializerException(e.getMessage(), e);
}
finally{
try{
if(fout!=null){
fout.flush();
}
}catch(Exception e){
// ignore
}
try{
if(fout!=null){
fout.close();
}
}catch(Exception e){
// ignore
}
}
}
protected ByteArrayOutputStream objToXml(Class<?> c,Object object,boolean prettyPrint) throws SerializerException{
ByteArrayOutputStream bout = null;
try{
bout = new ByteArrayOutputStream();
this._objToXml(bout, c, object, prettyPrint);
}catch(Exception e){
throw new SerializerException(e.getMessage(), e);
}
finally{
try{
if(bout!=null){
bout.flush();
}
}catch(Exception e){
// ignore
}
try{
if(bout!=null){
bout.close();
}
}catch(Exception e){
// ignore
}
}
return bout;
}
/*
=================================================================================
Object: dump-allegato
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpAllegato}
*
* @param fileName Xml file to serialize the object <var>dumpAllegato</var>
* @param dumpAllegato Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpAllegato dumpAllegato) throws SerializerException {
this.objToXml(fileName, DumpAllegato.class, dumpAllegato, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpAllegato}
*
* @param fileName Xml file to serialize the object <var>dumpAllegato</var>
* @param dumpAllegato Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpAllegato dumpAllegato,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, DumpAllegato.class, dumpAllegato, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpAllegato}
*
* @param file Xml file to serialize the object <var>dumpAllegato</var>
* @param dumpAllegato Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpAllegato dumpAllegato) throws SerializerException {
this.objToXml(file, DumpAllegato.class, dumpAllegato, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpAllegato}
*
* @param file Xml file to serialize the object <var>dumpAllegato</var>
* @param dumpAllegato Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpAllegato dumpAllegato,boolean prettyPrint) throws SerializerException {
this.objToXml(file, DumpAllegato.class, dumpAllegato, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpAllegato}
*
* @param out OutputStream to serialize the object <var>dumpAllegato</var>
* @param dumpAllegato Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpAllegato dumpAllegato) throws SerializerException {
this.objToXml(out, DumpAllegato.class, dumpAllegato, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpAllegato}
*
* @param out OutputStream to serialize the object <var>dumpAllegato</var>
* @param dumpAllegato Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpAllegato dumpAllegato,boolean prettyPrint) throws SerializerException {
this.objToXml(out, DumpAllegato.class, dumpAllegato, prettyPrint);
}
/**
* Serialize to byte array the object <var>dumpAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpAllegato}
*
* @param dumpAllegato Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpAllegato dumpAllegato) throws SerializerException {
return this.objToXml(DumpAllegato.class, dumpAllegato, false).toByteArray();
}
/**
* Serialize to byte array the object <var>dumpAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpAllegato}
*
* @param dumpAllegato Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpAllegato dumpAllegato,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpAllegato.class, dumpAllegato, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>dumpAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpAllegato}
*
* @param dumpAllegato Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpAllegato dumpAllegato) throws SerializerException {
return this.objToXml(DumpAllegato.class, dumpAllegato, false).toString();
}
/**
* Serialize to String the object <var>dumpAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpAllegato}
*
* @param dumpAllegato Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpAllegato dumpAllegato,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpAllegato.class, dumpAllegato, prettyPrint).toString();
}
/*
=================================================================================
Object: dump-header-allegato
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpHeaderAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderAllegato}
*
* @param fileName Xml file to serialize the object <var>dumpHeaderAllegato</var>
* @param dumpHeaderAllegato Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpHeaderAllegato dumpHeaderAllegato) throws SerializerException {
this.objToXml(fileName, DumpHeaderAllegato.class, dumpHeaderAllegato, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpHeaderAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderAllegato}
*
* @param fileName Xml file to serialize the object <var>dumpHeaderAllegato</var>
* @param dumpHeaderAllegato Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpHeaderAllegato dumpHeaderAllegato,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, DumpHeaderAllegato.class, dumpHeaderAllegato, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpHeaderAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderAllegato}
*
* @param file Xml file to serialize the object <var>dumpHeaderAllegato</var>
* @param dumpHeaderAllegato Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpHeaderAllegato dumpHeaderAllegato) throws SerializerException {
this.objToXml(file, DumpHeaderAllegato.class, dumpHeaderAllegato, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpHeaderAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderAllegato}
*
* @param file Xml file to serialize the object <var>dumpHeaderAllegato</var>
* @param dumpHeaderAllegato Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpHeaderAllegato dumpHeaderAllegato,boolean prettyPrint) throws SerializerException {
this.objToXml(file, DumpHeaderAllegato.class, dumpHeaderAllegato, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpHeaderAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderAllegato}
*
* @param out OutputStream to serialize the object <var>dumpHeaderAllegato</var>
* @param dumpHeaderAllegato Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpHeaderAllegato dumpHeaderAllegato) throws SerializerException {
this.objToXml(out, DumpHeaderAllegato.class, dumpHeaderAllegato, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpHeaderAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderAllegato}
*
* @param out OutputStream to serialize the object <var>dumpHeaderAllegato</var>
* @param dumpHeaderAllegato Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpHeaderAllegato dumpHeaderAllegato,boolean prettyPrint) throws SerializerException {
this.objToXml(out, DumpHeaderAllegato.class, dumpHeaderAllegato, prettyPrint);
}
/**
* Serialize to byte array the object <var>dumpHeaderAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderAllegato}
*
* @param dumpHeaderAllegato Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpHeaderAllegato dumpHeaderAllegato) throws SerializerException {
return this.objToXml(DumpHeaderAllegato.class, dumpHeaderAllegato, false).toByteArray();
}
/**
* Serialize to byte array the object <var>dumpHeaderAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderAllegato}
*
* @param dumpHeaderAllegato Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpHeaderAllegato dumpHeaderAllegato,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpHeaderAllegato.class, dumpHeaderAllegato, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>dumpHeaderAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderAllegato}
*
* @param dumpHeaderAllegato Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpHeaderAllegato dumpHeaderAllegato) throws SerializerException {
return this.objToXml(DumpHeaderAllegato.class, dumpHeaderAllegato, false).toString();
}
/**
* Serialize to String the object <var>dumpHeaderAllegato</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderAllegato}
*
* @param dumpHeaderAllegato Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpHeaderAllegato dumpHeaderAllegato,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpHeaderAllegato.class, dumpHeaderAllegato, prettyPrint).toString();
}
/*
=================================================================================
Object: dump-multipart-header
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpMultipartHeader</var> of type {@link org.openspcoop2.core.transazioni.DumpMultipartHeader}
*
* @param fileName Xml file to serialize the object <var>dumpMultipartHeader</var>
* @param dumpMultipartHeader Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpMultipartHeader dumpMultipartHeader) throws SerializerException {
this.objToXml(fileName, DumpMultipartHeader.class, dumpMultipartHeader, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpMultipartHeader</var> of type {@link org.openspcoop2.core.transazioni.DumpMultipartHeader}
*
* @param fileName Xml file to serialize the object <var>dumpMultipartHeader</var>
* @param dumpMultipartHeader Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpMultipartHeader dumpMultipartHeader,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, DumpMultipartHeader.class, dumpMultipartHeader, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpMultipartHeader</var> of type {@link org.openspcoop2.core.transazioni.DumpMultipartHeader}
*
* @param file Xml file to serialize the object <var>dumpMultipartHeader</var>
* @param dumpMultipartHeader Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpMultipartHeader dumpMultipartHeader) throws SerializerException {
this.objToXml(file, DumpMultipartHeader.class, dumpMultipartHeader, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpMultipartHeader</var> of type {@link org.openspcoop2.core.transazioni.DumpMultipartHeader}
*
* @param file Xml file to serialize the object <var>dumpMultipartHeader</var>
* @param dumpMultipartHeader Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpMultipartHeader dumpMultipartHeader,boolean prettyPrint) throws SerializerException {
this.objToXml(file, DumpMultipartHeader.class, dumpMultipartHeader, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpMultipartHeader</var> of type {@link org.openspcoop2.core.transazioni.DumpMultipartHeader}
*
* @param out OutputStream to serialize the object <var>dumpMultipartHeader</var>
* @param dumpMultipartHeader Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpMultipartHeader dumpMultipartHeader) throws SerializerException {
this.objToXml(out, DumpMultipartHeader.class, dumpMultipartHeader, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpMultipartHeader</var> of type {@link org.openspcoop2.core.transazioni.DumpMultipartHeader}
*
* @param out OutputStream to serialize the object <var>dumpMultipartHeader</var>
* @param dumpMultipartHeader Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpMultipartHeader dumpMultipartHeader,boolean prettyPrint) throws SerializerException {
this.objToXml(out, DumpMultipartHeader.class, dumpMultipartHeader, prettyPrint);
}
/**
* Serialize to byte array the object <var>dumpMultipartHeader</var> of type {@link org.openspcoop2.core.transazioni.DumpMultipartHeader}
*
* @param dumpMultipartHeader Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpMultipartHeader dumpMultipartHeader) throws SerializerException {
return this.objToXml(DumpMultipartHeader.class, dumpMultipartHeader, false).toByteArray();
}
/**
* Serialize to byte array the object <var>dumpMultipartHeader</var> of type {@link org.openspcoop2.core.transazioni.DumpMultipartHeader}
*
* @param dumpMultipartHeader Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpMultipartHeader dumpMultipartHeader,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpMultipartHeader.class, dumpMultipartHeader, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>dumpMultipartHeader</var> of type {@link org.openspcoop2.core.transazioni.DumpMultipartHeader}
*
* @param dumpMultipartHeader Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpMultipartHeader dumpMultipartHeader) throws SerializerException {
return this.objToXml(DumpMultipartHeader.class, dumpMultipartHeader, false).toString();
}
/**
* Serialize to String the object <var>dumpMultipartHeader</var> of type {@link org.openspcoop2.core.transazioni.DumpMultipartHeader}
*
* @param dumpMultipartHeader Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpMultipartHeader dumpMultipartHeader,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpMultipartHeader.class, dumpMultipartHeader, prettyPrint).toString();
}
/*
=================================================================================
Object: transazione-applicativo-server
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.TransazioneApplicativoServer}
*
* @param fileName Xml file to serialize the object <var>transazioneApplicativoServer</var>
* @param transazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneApplicativoServer transazioneApplicativoServer) throws SerializerException {
this.objToXml(fileName, TransazioneApplicativoServer.class, transazioneApplicativoServer, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.TransazioneApplicativoServer}
*
* @param fileName Xml file to serialize the object <var>transazioneApplicativoServer</var>
* @param transazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneApplicativoServer transazioneApplicativoServer,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, TransazioneApplicativoServer.class, transazioneApplicativoServer, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.TransazioneApplicativoServer}
*
* @param file Xml file to serialize the object <var>transazioneApplicativoServer</var>
* @param transazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneApplicativoServer transazioneApplicativoServer) throws SerializerException {
this.objToXml(file, TransazioneApplicativoServer.class, transazioneApplicativoServer, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.TransazioneApplicativoServer}
*
* @param file Xml file to serialize the object <var>transazioneApplicativoServer</var>
* @param transazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneApplicativoServer transazioneApplicativoServer,boolean prettyPrint) throws SerializerException {
this.objToXml(file, TransazioneApplicativoServer.class, transazioneApplicativoServer, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.TransazioneApplicativoServer}
*
* @param out OutputStream to serialize the object <var>transazioneApplicativoServer</var>
* @param transazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneApplicativoServer transazioneApplicativoServer) throws SerializerException {
this.objToXml(out, TransazioneApplicativoServer.class, transazioneApplicativoServer, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.TransazioneApplicativoServer}
*
* @param out OutputStream to serialize the object <var>transazioneApplicativoServer</var>
* @param transazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneApplicativoServer transazioneApplicativoServer,boolean prettyPrint) throws SerializerException {
this.objToXml(out, TransazioneApplicativoServer.class, transazioneApplicativoServer, prettyPrint);
}
/**
* Serialize to byte array the object <var>transazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.TransazioneApplicativoServer}
*
* @param transazioneApplicativoServer Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneApplicativoServer transazioneApplicativoServer) throws SerializerException {
return this.objToXml(TransazioneApplicativoServer.class, transazioneApplicativoServer, false).toByteArray();
}
/**
* Serialize to byte array the object <var>transazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.TransazioneApplicativoServer}
*
* @param transazioneApplicativoServer Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneApplicativoServer transazioneApplicativoServer,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneApplicativoServer.class, transazioneApplicativoServer, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>transazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.TransazioneApplicativoServer}
*
* @param transazioneApplicativoServer Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneApplicativoServer transazioneApplicativoServer) throws SerializerException {
return this.objToXml(TransazioneApplicativoServer.class, transazioneApplicativoServer, false).toString();
}
/**
* Serialize to String the object <var>transazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.TransazioneApplicativoServer}
*
* @param transazioneApplicativoServer Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneApplicativoServer transazioneApplicativoServer,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneApplicativoServer.class, transazioneApplicativoServer, prettyPrint).toString();
}
/*
=================================================================================
Object: id-credenziale-mittente
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>idCredenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.IdCredenzialeMittente}
*
* @param fileName Xml file to serialize the object <var>idCredenzialeMittente</var>
* @param idCredenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,IdCredenzialeMittente idCredenzialeMittente) throws SerializerException {
this.objToXml(fileName, IdCredenzialeMittente.class, idCredenzialeMittente, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>idCredenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.IdCredenzialeMittente}
*
* @param fileName Xml file to serialize the object <var>idCredenzialeMittente</var>
* @param idCredenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,IdCredenzialeMittente idCredenzialeMittente,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, IdCredenzialeMittente.class, idCredenzialeMittente, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>idCredenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.IdCredenzialeMittente}
*
* @param file Xml file to serialize the object <var>idCredenzialeMittente</var>
* @param idCredenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,IdCredenzialeMittente idCredenzialeMittente) throws SerializerException {
this.objToXml(file, IdCredenzialeMittente.class, idCredenzialeMittente, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>idCredenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.IdCredenzialeMittente}
*
* @param file Xml file to serialize the object <var>idCredenzialeMittente</var>
* @param idCredenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,IdCredenzialeMittente idCredenzialeMittente,boolean prettyPrint) throws SerializerException {
this.objToXml(file, IdCredenzialeMittente.class, idCredenzialeMittente, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>idCredenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.IdCredenzialeMittente}
*
* @param out OutputStream to serialize the object <var>idCredenzialeMittente</var>
* @param idCredenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,IdCredenzialeMittente idCredenzialeMittente) throws SerializerException {
this.objToXml(out, IdCredenzialeMittente.class, idCredenzialeMittente, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>idCredenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.IdCredenzialeMittente}
*
* @param out OutputStream to serialize the object <var>idCredenzialeMittente</var>
* @param idCredenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,IdCredenzialeMittente idCredenzialeMittente,boolean prettyPrint) throws SerializerException {
this.objToXml(out, IdCredenzialeMittente.class, idCredenzialeMittente, prettyPrint);
}
/**
* Serialize to byte array the object <var>idCredenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.IdCredenzialeMittente}
*
* @param idCredenzialeMittente Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(IdCredenzialeMittente idCredenzialeMittente) throws SerializerException {
return this.objToXml(IdCredenzialeMittente.class, idCredenzialeMittente, false).toByteArray();
}
/**
* Serialize to byte array the object <var>idCredenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.IdCredenzialeMittente}
*
* @param idCredenzialeMittente Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(IdCredenzialeMittente idCredenzialeMittente,boolean prettyPrint) throws SerializerException {
return this.objToXml(IdCredenzialeMittente.class, idCredenzialeMittente, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>idCredenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.IdCredenzialeMittente}
*
* @param idCredenzialeMittente Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(IdCredenzialeMittente idCredenzialeMittente) throws SerializerException {
return this.objToXml(IdCredenzialeMittente.class, idCredenzialeMittente, false).toString();
}
/**
* Serialize to String the object <var>idCredenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.IdCredenzialeMittente}
*
* @param idCredenzialeMittente Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(IdCredenzialeMittente idCredenzialeMittente,boolean prettyPrint) throws SerializerException {
return this.objToXml(IdCredenzialeMittente.class, idCredenzialeMittente, prettyPrint).toString();
}
/*
=================================================================================
Object: transazione-classe-esiti
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneClasseEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneClasseEsiti}
*
* @param fileName Xml file to serialize the object <var>transazioneClasseEsiti</var>
* @param transazioneClasseEsiti Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneClasseEsiti transazioneClasseEsiti) throws SerializerException {
this.objToXml(fileName, TransazioneClasseEsiti.class, transazioneClasseEsiti, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneClasseEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneClasseEsiti}
*
* @param fileName Xml file to serialize the object <var>transazioneClasseEsiti</var>
* @param transazioneClasseEsiti Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneClasseEsiti transazioneClasseEsiti,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, TransazioneClasseEsiti.class, transazioneClasseEsiti, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneClasseEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneClasseEsiti}
*
* @param file Xml file to serialize the object <var>transazioneClasseEsiti</var>
* @param transazioneClasseEsiti Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneClasseEsiti transazioneClasseEsiti) throws SerializerException {
this.objToXml(file, TransazioneClasseEsiti.class, transazioneClasseEsiti, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneClasseEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneClasseEsiti}
*
* @param file Xml file to serialize the object <var>transazioneClasseEsiti</var>
* @param transazioneClasseEsiti Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneClasseEsiti transazioneClasseEsiti,boolean prettyPrint) throws SerializerException {
this.objToXml(file, TransazioneClasseEsiti.class, transazioneClasseEsiti, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneClasseEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneClasseEsiti}
*
* @param out OutputStream to serialize the object <var>transazioneClasseEsiti</var>
* @param transazioneClasseEsiti Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneClasseEsiti transazioneClasseEsiti) throws SerializerException {
this.objToXml(out, TransazioneClasseEsiti.class, transazioneClasseEsiti, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneClasseEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneClasseEsiti}
*
* @param out OutputStream to serialize the object <var>transazioneClasseEsiti</var>
* @param transazioneClasseEsiti Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneClasseEsiti transazioneClasseEsiti,boolean prettyPrint) throws SerializerException {
this.objToXml(out, TransazioneClasseEsiti.class, transazioneClasseEsiti, prettyPrint);
}
/**
* Serialize to byte array the object <var>transazioneClasseEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneClasseEsiti}
*
* @param transazioneClasseEsiti Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneClasseEsiti transazioneClasseEsiti) throws SerializerException {
return this.objToXml(TransazioneClasseEsiti.class, transazioneClasseEsiti, false).toByteArray();
}
/**
* Serialize to byte array the object <var>transazioneClasseEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneClasseEsiti}
*
* @param transazioneClasseEsiti Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneClasseEsiti transazioneClasseEsiti,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneClasseEsiti.class, transazioneClasseEsiti, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>transazioneClasseEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneClasseEsiti}
*
* @param transazioneClasseEsiti Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneClasseEsiti transazioneClasseEsiti) throws SerializerException {
return this.objToXml(TransazioneClasseEsiti.class, transazioneClasseEsiti, false).toString();
}
/**
* Serialize to String the object <var>transazioneClasseEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneClasseEsiti}
*
* @param transazioneClasseEsiti Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneClasseEsiti transazioneClasseEsiti,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneClasseEsiti.class, transazioneClasseEsiti, prettyPrint).toString();
}
/*
=================================================================================
Object: dump-header-trasporto
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpHeaderTrasporto</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderTrasporto}
*
* @param fileName Xml file to serialize the object <var>dumpHeaderTrasporto</var>
* @param dumpHeaderTrasporto Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpHeaderTrasporto dumpHeaderTrasporto) throws SerializerException {
this.objToXml(fileName, DumpHeaderTrasporto.class, dumpHeaderTrasporto, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpHeaderTrasporto</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderTrasporto}
*
* @param fileName Xml file to serialize the object <var>dumpHeaderTrasporto</var>
* @param dumpHeaderTrasporto Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpHeaderTrasporto dumpHeaderTrasporto,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, DumpHeaderTrasporto.class, dumpHeaderTrasporto, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpHeaderTrasporto</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderTrasporto}
*
* @param file Xml file to serialize the object <var>dumpHeaderTrasporto</var>
* @param dumpHeaderTrasporto Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpHeaderTrasporto dumpHeaderTrasporto) throws SerializerException {
this.objToXml(file, DumpHeaderTrasporto.class, dumpHeaderTrasporto, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpHeaderTrasporto</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderTrasporto}
*
* @param file Xml file to serialize the object <var>dumpHeaderTrasporto</var>
* @param dumpHeaderTrasporto Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpHeaderTrasporto dumpHeaderTrasporto,boolean prettyPrint) throws SerializerException {
this.objToXml(file, DumpHeaderTrasporto.class, dumpHeaderTrasporto, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpHeaderTrasporto</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderTrasporto}
*
* @param out OutputStream to serialize the object <var>dumpHeaderTrasporto</var>
* @param dumpHeaderTrasporto Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpHeaderTrasporto dumpHeaderTrasporto) throws SerializerException {
this.objToXml(out, DumpHeaderTrasporto.class, dumpHeaderTrasporto, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpHeaderTrasporto</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderTrasporto}
*
* @param out OutputStream to serialize the object <var>dumpHeaderTrasporto</var>
* @param dumpHeaderTrasporto Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpHeaderTrasporto dumpHeaderTrasporto,boolean prettyPrint) throws SerializerException {
this.objToXml(out, DumpHeaderTrasporto.class, dumpHeaderTrasporto, prettyPrint);
}
/**
* Serialize to byte array the object <var>dumpHeaderTrasporto</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderTrasporto}
*
* @param dumpHeaderTrasporto Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpHeaderTrasporto dumpHeaderTrasporto) throws SerializerException {
return this.objToXml(DumpHeaderTrasporto.class, dumpHeaderTrasporto, false).toByteArray();
}
/**
* Serialize to byte array the object <var>dumpHeaderTrasporto</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderTrasporto}
*
* @param dumpHeaderTrasporto Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpHeaderTrasporto dumpHeaderTrasporto,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpHeaderTrasporto.class, dumpHeaderTrasporto, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>dumpHeaderTrasporto</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderTrasporto}
*
* @param dumpHeaderTrasporto Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpHeaderTrasporto dumpHeaderTrasporto) throws SerializerException {
return this.objToXml(DumpHeaderTrasporto.class, dumpHeaderTrasporto, false).toString();
}
/**
* Serialize to String the object <var>dumpHeaderTrasporto</var> of type {@link org.openspcoop2.core.transazioni.DumpHeaderTrasporto}
*
* @param dumpHeaderTrasporto Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpHeaderTrasporto dumpHeaderTrasporto,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpHeaderTrasporto.class, dumpHeaderTrasporto, prettyPrint).toString();
}
/*
=================================================================================
Object: credenziale-mittente
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>credenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.CredenzialeMittente}
*
* @param fileName Xml file to serialize the object <var>credenzialeMittente</var>
* @param credenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,CredenzialeMittente credenzialeMittente) throws SerializerException {
this.objToXml(fileName, CredenzialeMittente.class, credenzialeMittente, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>credenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.CredenzialeMittente}
*
* @param fileName Xml file to serialize the object <var>credenzialeMittente</var>
* @param credenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,CredenzialeMittente credenzialeMittente,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, CredenzialeMittente.class, credenzialeMittente, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>credenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.CredenzialeMittente}
*
* @param file Xml file to serialize the object <var>credenzialeMittente</var>
* @param credenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,CredenzialeMittente credenzialeMittente) throws SerializerException {
this.objToXml(file, CredenzialeMittente.class, credenzialeMittente, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>credenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.CredenzialeMittente}
*
* @param file Xml file to serialize the object <var>credenzialeMittente</var>
* @param credenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,CredenzialeMittente credenzialeMittente,boolean prettyPrint) throws SerializerException {
this.objToXml(file, CredenzialeMittente.class, credenzialeMittente, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>credenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.CredenzialeMittente}
*
* @param out OutputStream to serialize the object <var>credenzialeMittente</var>
* @param credenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,CredenzialeMittente credenzialeMittente) throws SerializerException {
this.objToXml(out, CredenzialeMittente.class, credenzialeMittente, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>credenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.CredenzialeMittente}
*
* @param out OutputStream to serialize the object <var>credenzialeMittente</var>
* @param credenzialeMittente Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,CredenzialeMittente credenzialeMittente,boolean prettyPrint) throws SerializerException {
this.objToXml(out, CredenzialeMittente.class, credenzialeMittente, prettyPrint);
}
/**
* Serialize to byte array the object <var>credenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.CredenzialeMittente}
*
* @param credenzialeMittente Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(CredenzialeMittente credenzialeMittente) throws SerializerException {
return this.objToXml(CredenzialeMittente.class, credenzialeMittente, false).toByteArray();
}
/**
* Serialize to byte array the object <var>credenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.CredenzialeMittente}
*
* @param credenzialeMittente Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(CredenzialeMittente credenzialeMittente,boolean prettyPrint) throws SerializerException {
return this.objToXml(CredenzialeMittente.class, credenzialeMittente, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>credenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.CredenzialeMittente}
*
* @param credenzialeMittente Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(CredenzialeMittente credenzialeMittente) throws SerializerException {
return this.objToXml(CredenzialeMittente.class, credenzialeMittente, false).toString();
}
/**
* Serialize to String the object <var>credenzialeMittente</var> of type {@link org.openspcoop2.core.transazioni.CredenzialeMittente}
*
* @param credenzialeMittente Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(CredenzialeMittente credenzialeMittente,boolean prettyPrint) throws SerializerException {
return this.objToXml(CredenzialeMittente.class, credenzialeMittente, prettyPrint).toString();
}
/*
=================================================================================
Object: dump-contenuto
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpContenuto</var> of type {@link org.openspcoop2.core.transazioni.DumpContenuto}
*
* @param fileName Xml file to serialize the object <var>dumpContenuto</var>
* @param dumpContenuto Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpContenuto dumpContenuto) throws SerializerException {
this.objToXml(fileName, DumpContenuto.class, dumpContenuto, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpContenuto</var> of type {@link org.openspcoop2.core.transazioni.DumpContenuto}
*
* @param fileName Xml file to serialize the object <var>dumpContenuto</var>
* @param dumpContenuto Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpContenuto dumpContenuto,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, DumpContenuto.class, dumpContenuto, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpContenuto</var> of type {@link org.openspcoop2.core.transazioni.DumpContenuto}
*
* @param file Xml file to serialize the object <var>dumpContenuto</var>
* @param dumpContenuto Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpContenuto dumpContenuto) throws SerializerException {
this.objToXml(file, DumpContenuto.class, dumpContenuto, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpContenuto</var> of type {@link org.openspcoop2.core.transazioni.DumpContenuto}
*
* @param file Xml file to serialize the object <var>dumpContenuto</var>
* @param dumpContenuto Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpContenuto dumpContenuto,boolean prettyPrint) throws SerializerException {
this.objToXml(file, DumpContenuto.class, dumpContenuto, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpContenuto</var> of type {@link org.openspcoop2.core.transazioni.DumpContenuto}
*
* @param out OutputStream to serialize the object <var>dumpContenuto</var>
* @param dumpContenuto Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpContenuto dumpContenuto) throws SerializerException {
this.objToXml(out, DumpContenuto.class, dumpContenuto, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpContenuto</var> of type {@link org.openspcoop2.core.transazioni.DumpContenuto}
*
* @param out OutputStream to serialize the object <var>dumpContenuto</var>
* @param dumpContenuto Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpContenuto dumpContenuto,boolean prettyPrint) throws SerializerException {
this.objToXml(out, DumpContenuto.class, dumpContenuto, prettyPrint);
}
/**
* Serialize to byte array the object <var>dumpContenuto</var> of type {@link org.openspcoop2.core.transazioni.DumpContenuto}
*
* @param dumpContenuto Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpContenuto dumpContenuto) throws SerializerException {
return this.objToXml(DumpContenuto.class, dumpContenuto, false).toByteArray();
}
/**
* Serialize to byte array the object <var>dumpContenuto</var> of type {@link org.openspcoop2.core.transazioni.DumpContenuto}
*
* @param dumpContenuto Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpContenuto dumpContenuto,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpContenuto.class, dumpContenuto, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>dumpContenuto</var> of type {@link org.openspcoop2.core.transazioni.DumpContenuto}
*
* @param dumpContenuto Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpContenuto dumpContenuto) throws SerializerException {
return this.objToXml(DumpContenuto.class, dumpContenuto, false).toString();
}
/**
* Serialize to String the object <var>dumpContenuto</var> of type {@link org.openspcoop2.core.transazioni.DumpContenuto}
*
* @param dumpContenuto Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpContenuto dumpContenuto,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpContenuto.class, dumpContenuto, prettyPrint).toString();
}
/*
=================================================================================
Object: id-transazione-applicativo-server
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>idTransazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.IdTransazioneApplicativoServer}
*
* @param fileName Xml file to serialize the object <var>idTransazioneApplicativoServer</var>
* @param idTransazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,IdTransazioneApplicativoServer idTransazioneApplicativoServer) throws SerializerException {
this.objToXml(fileName, IdTransazioneApplicativoServer.class, idTransazioneApplicativoServer, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>idTransazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.IdTransazioneApplicativoServer}
*
* @param fileName Xml file to serialize the object <var>idTransazioneApplicativoServer</var>
* @param idTransazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,IdTransazioneApplicativoServer idTransazioneApplicativoServer,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, IdTransazioneApplicativoServer.class, idTransazioneApplicativoServer, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>idTransazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.IdTransazioneApplicativoServer}
*
* @param file Xml file to serialize the object <var>idTransazioneApplicativoServer</var>
* @param idTransazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,IdTransazioneApplicativoServer idTransazioneApplicativoServer) throws SerializerException {
this.objToXml(file, IdTransazioneApplicativoServer.class, idTransazioneApplicativoServer, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>idTransazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.IdTransazioneApplicativoServer}
*
* @param file Xml file to serialize the object <var>idTransazioneApplicativoServer</var>
* @param idTransazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,IdTransazioneApplicativoServer idTransazioneApplicativoServer,boolean prettyPrint) throws SerializerException {
this.objToXml(file, IdTransazioneApplicativoServer.class, idTransazioneApplicativoServer, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>idTransazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.IdTransazioneApplicativoServer}
*
* @param out OutputStream to serialize the object <var>idTransazioneApplicativoServer</var>
* @param idTransazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,IdTransazioneApplicativoServer idTransazioneApplicativoServer) throws SerializerException {
this.objToXml(out, IdTransazioneApplicativoServer.class, idTransazioneApplicativoServer, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>idTransazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.IdTransazioneApplicativoServer}
*
* @param out OutputStream to serialize the object <var>idTransazioneApplicativoServer</var>
* @param idTransazioneApplicativoServer Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,IdTransazioneApplicativoServer idTransazioneApplicativoServer,boolean prettyPrint) throws SerializerException {
this.objToXml(out, IdTransazioneApplicativoServer.class, idTransazioneApplicativoServer, prettyPrint);
}
/**
* Serialize to byte array the object <var>idTransazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.IdTransazioneApplicativoServer}
*
* @param idTransazioneApplicativoServer Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(IdTransazioneApplicativoServer idTransazioneApplicativoServer) throws SerializerException {
return this.objToXml(IdTransazioneApplicativoServer.class, idTransazioneApplicativoServer, false).toByteArray();
}
/**
* Serialize to byte array the object <var>idTransazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.IdTransazioneApplicativoServer}
*
* @param idTransazioneApplicativoServer Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(IdTransazioneApplicativoServer idTransazioneApplicativoServer,boolean prettyPrint) throws SerializerException {
return this.objToXml(IdTransazioneApplicativoServer.class, idTransazioneApplicativoServer, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>idTransazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.IdTransazioneApplicativoServer}
*
* @param idTransazioneApplicativoServer Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(IdTransazioneApplicativoServer idTransazioneApplicativoServer) throws SerializerException {
return this.objToXml(IdTransazioneApplicativoServer.class, idTransazioneApplicativoServer, false).toString();
}
/**
* Serialize to String the object <var>idTransazioneApplicativoServer</var> of type {@link org.openspcoop2.core.transazioni.IdTransazioneApplicativoServer}
*
* @param idTransazioneApplicativoServer Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(IdTransazioneApplicativoServer idTransazioneApplicativoServer,boolean prettyPrint) throws SerializerException {
return this.objToXml(IdTransazioneApplicativoServer.class, idTransazioneApplicativoServer, prettyPrint).toString();
}
/*
=================================================================================
Object: transazione
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>transazione</var> of type {@link org.openspcoop2.core.transazioni.Transazione}
*
* @param fileName Xml file to serialize the object <var>transazione</var>
* @param transazione Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,Transazione transazione) throws SerializerException {
this.objToXml(fileName, Transazione.class, transazione, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>transazione</var> of type {@link org.openspcoop2.core.transazioni.Transazione}
*
* @param fileName Xml file to serialize the object <var>transazione</var>
* @param transazione Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,Transazione transazione,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, Transazione.class, transazione, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazione</var> of type {@link org.openspcoop2.core.transazioni.Transazione}
*
* @param file Xml file to serialize the object <var>transazione</var>
* @param transazione Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,Transazione transazione) throws SerializerException {
this.objToXml(file, Transazione.class, transazione, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazione</var> of type {@link org.openspcoop2.core.transazioni.Transazione}
*
* @param file Xml file to serialize the object <var>transazione</var>
* @param transazione Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,Transazione transazione,boolean prettyPrint) throws SerializerException {
this.objToXml(file, Transazione.class, transazione, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazione</var> of type {@link org.openspcoop2.core.transazioni.Transazione}
*
* @param out OutputStream to serialize the object <var>transazione</var>
* @param transazione Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,Transazione transazione) throws SerializerException {
this.objToXml(out, Transazione.class, transazione, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazione</var> of type {@link org.openspcoop2.core.transazioni.Transazione}
*
* @param out OutputStream to serialize the object <var>transazione</var>
* @param transazione Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,Transazione transazione,boolean prettyPrint) throws SerializerException {
this.objToXml(out, Transazione.class, transazione, prettyPrint);
}
/**
* Serialize to byte array the object <var>transazione</var> of type {@link org.openspcoop2.core.transazioni.Transazione}
*
* @param transazione Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(Transazione transazione) throws SerializerException {
return this.objToXml(Transazione.class, transazione, false).toByteArray();
}
/**
* Serialize to byte array the object <var>transazione</var> of type {@link org.openspcoop2.core.transazioni.Transazione}
*
* @param transazione Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(Transazione transazione,boolean prettyPrint) throws SerializerException {
return this.objToXml(Transazione.class, transazione, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>transazione</var> of type {@link org.openspcoop2.core.transazioni.Transazione}
*
* @param transazione Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(Transazione transazione) throws SerializerException {
return this.objToXml(Transazione.class, transazione, false).toString();
}
/**
* Serialize to String the object <var>transazione</var> of type {@link org.openspcoop2.core.transazioni.Transazione}
*
* @param transazione Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(Transazione transazione,boolean prettyPrint) throws SerializerException {
return this.objToXml(Transazione.class, transazione, prettyPrint).toString();
}
/*
=================================================================================
Object: dump-messaggio
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.DumpMessaggio}
*
* @param fileName Xml file to serialize the object <var>dumpMessaggio</var>
* @param dumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpMessaggio dumpMessaggio) throws SerializerException {
this.objToXml(fileName, DumpMessaggio.class, dumpMessaggio, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>dumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.DumpMessaggio}
*
* @param fileName Xml file to serialize the object <var>dumpMessaggio</var>
* @param dumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,DumpMessaggio dumpMessaggio,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, DumpMessaggio.class, dumpMessaggio, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.DumpMessaggio}
*
* @param file Xml file to serialize the object <var>dumpMessaggio</var>
* @param dumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpMessaggio dumpMessaggio) throws SerializerException {
this.objToXml(file, DumpMessaggio.class, dumpMessaggio, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>dumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.DumpMessaggio}
*
* @param file Xml file to serialize the object <var>dumpMessaggio</var>
* @param dumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,DumpMessaggio dumpMessaggio,boolean prettyPrint) throws SerializerException {
this.objToXml(file, DumpMessaggio.class, dumpMessaggio, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.DumpMessaggio}
*
* @param out OutputStream to serialize the object <var>dumpMessaggio</var>
* @param dumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpMessaggio dumpMessaggio) throws SerializerException {
this.objToXml(out, DumpMessaggio.class, dumpMessaggio, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>dumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.DumpMessaggio}
*
* @param out OutputStream to serialize the object <var>dumpMessaggio</var>
* @param dumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,DumpMessaggio dumpMessaggio,boolean prettyPrint) throws SerializerException {
this.objToXml(out, DumpMessaggio.class, dumpMessaggio, prettyPrint);
}
/**
* Serialize to byte array the object <var>dumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.DumpMessaggio}
*
* @param dumpMessaggio Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpMessaggio dumpMessaggio) throws SerializerException {
return this.objToXml(DumpMessaggio.class, dumpMessaggio, false).toByteArray();
}
/**
* Serialize to byte array the object <var>dumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.DumpMessaggio}
*
* @param dumpMessaggio Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(DumpMessaggio dumpMessaggio,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpMessaggio.class, dumpMessaggio, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>dumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.DumpMessaggio}
*
* @param dumpMessaggio Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpMessaggio dumpMessaggio) throws SerializerException {
return this.objToXml(DumpMessaggio.class, dumpMessaggio, false).toString();
}
/**
* Serialize to String the object <var>dumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.DumpMessaggio}
*
* @param dumpMessaggio Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(DumpMessaggio dumpMessaggio,boolean prettyPrint) throws SerializerException {
return this.objToXml(DumpMessaggio.class, dumpMessaggio, prettyPrint).toString();
}
/*
=================================================================================
Object: transazione-extended-info
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneExtendedInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExtendedInfo}
*
* @param fileName Xml file to serialize the object <var>transazioneExtendedInfo</var>
* @param transazioneExtendedInfo Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneExtendedInfo transazioneExtendedInfo) throws SerializerException {
this.objToXml(fileName, TransazioneExtendedInfo.class, transazioneExtendedInfo, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneExtendedInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExtendedInfo}
*
* @param fileName Xml file to serialize the object <var>transazioneExtendedInfo</var>
* @param transazioneExtendedInfo Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneExtendedInfo transazioneExtendedInfo,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, TransazioneExtendedInfo.class, transazioneExtendedInfo, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneExtendedInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExtendedInfo}
*
* @param file Xml file to serialize the object <var>transazioneExtendedInfo</var>
* @param transazioneExtendedInfo Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneExtendedInfo transazioneExtendedInfo) throws SerializerException {
this.objToXml(file, TransazioneExtendedInfo.class, transazioneExtendedInfo, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneExtendedInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExtendedInfo}
*
* @param file Xml file to serialize the object <var>transazioneExtendedInfo</var>
* @param transazioneExtendedInfo Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneExtendedInfo transazioneExtendedInfo,boolean prettyPrint) throws SerializerException {
this.objToXml(file, TransazioneExtendedInfo.class, transazioneExtendedInfo, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneExtendedInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExtendedInfo}
*
* @param out OutputStream to serialize the object <var>transazioneExtendedInfo</var>
* @param transazioneExtendedInfo Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneExtendedInfo transazioneExtendedInfo) throws SerializerException {
this.objToXml(out, TransazioneExtendedInfo.class, transazioneExtendedInfo, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneExtendedInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExtendedInfo}
*
* @param out OutputStream to serialize the object <var>transazioneExtendedInfo</var>
* @param transazioneExtendedInfo Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneExtendedInfo transazioneExtendedInfo,boolean prettyPrint) throws SerializerException {
this.objToXml(out, TransazioneExtendedInfo.class, transazioneExtendedInfo, prettyPrint);
}
/**
* Serialize to byte array the object <var>transazioneExtendedInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExtendedInfo}
*
* @param transazioneExtendedInfo Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneExtendedInfo transazioneExtendedInfo) throws SerializerException {
return this.objToXml(TransazioneExtendedInfo.class, transazioneExtendedInfo, false).toByteArray();
}
/**
* Serialize to byte array the object <var>transazioneExtendedInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExtendedInfo}
*
* @param transazioneExtendedInfo Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneExtendedInfo transazioneExtendedInfo,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneExtendedInfo.class, transazioneExtendedInfo, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>transazioneExtendedInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExtendedInfo}
*
* @param transazioneExtendedInfo Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneExtendedInfo transazioneExtendedInfo) throws SerializerException {
return this.objToXml(TransazioneExtendedInfo.class, transazioneExtendedInfo, false).toString();
}
/**
* Serialize to String the object <var>transazioneExtendedInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExtendedInfo}
*
* @param transazioneExtendedInfo Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneExtendedInfo transazioneExtendedInfo,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneExtendedInfo.class, transazioneExtendedInfo, prettyPrint).toString();
}
/*
=================================================================================
Object: transazione-esiti
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneEsiti}
*
* @param fileName Xml file to serialize the object <var>transazioneEsiti</var>
* @param transazioneEsiti Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneEsiti transazioneEsiti) throws SerializerException {
this.objToXml(fileName, TransazioneEsiti.class, transazioneEsiti, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneEsiti}
*
* @param fileName Xml file to serialize the object <var>transazioneEsiti</var>
* @param transazioneEsiti Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneEsiti transazioneEsiti,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, TransazioneEsiti.class, transazioneEsiti, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneEsiti}
*
* @param file Xml file to serialize the object <var>transazioneEsiti</var>
* @param transazioneEsiti Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneEsiti transazioneEsiti) throws SerializerException {
this.objToXml(file, TransazioneEsiti.class, transazioneEsiti, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneEsiti}
*
* @param file Xml file to serialize the object <var>transazioneEsiti</var>
* @param transazioneEsiti Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneEsiti transazioneEsiti,boolean prettyPrint) throws SerializerException {
this.objToXml(file, TransazioneEsiti.class, transazioneEsiti, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneEsiti}
*
* @param out OutputStream to serialize the object <var>transazioneEsiti</var>
* @param transazioneEsiti Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneEsiti transazioneEsiti) throws SerializerException {
this.objToXml(out, TransazioneEsiti.class, transazioneEsiti, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneEsiti}
*
* @param out OutputStream to serialize the object <var>transazioneEsiti</var>
* @param transazioneEsiti Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneEsiti transazioneEsiti,boolean prettyPrint) throws SerializerException {
this.objToXml(out, TransazioneEsiti.class, transazioneEsiti, prettyPrint);
}
/**
* Serialize to byte array the object <var>transazioneEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneEsiti}
*
* @param transazioneEsiti Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneEsiti transazioneEsiti) throws SerializerException {
return this.objToXml(TransazioneEsiti.class, transazioneEsiti, false).toByteArray();
}
/**
* Serialize to byte array the object <var>transazioneEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneEsiti}
*
* @param transazioneEsiti Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneEsiti transazioneEsiti,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneEsiti.class, transazioneEsiti, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>transazioneEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneEsiti}
*
* @param transazioneEsiti Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneEsiti transazioneEsiti) throws SerializerException {
return this.objToXml(TransazioneEsiti.class, transazioneEsiti, false).toString();
}
/**
* Serialize to String the object <var>transazioneEsiti</var> of type {@link org.openspcoop2.core.transazioni.TransazioneEsiti}
*
* @param transazioneEsiti Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneEsiti transazioneEsiti,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneEsiti.class, transazioneEsiti, prettyPrint).toString();
}
/*
=================================================================================
Object: id-dump-messaggio
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>idDumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.IdDumpMessaggio}
*
* @param fileName Xml file to serialize the object <var>idDumpMessaggio</var>
* @param idDumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,IdDumpMessaggio idDumpMessaggio) throws SerializerException {
this.objToXml(fileName, IdDumpMessaggio.class, idDumpMessaggio, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>idDumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.IdDumpMessaggio}
*
* @param fileName Xml file to serialize the object <var>idDumpMessaggio</var>
* @param idDumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,IdDumpMessaggio idDumpMessaggio,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, IdDumpMessaggio.class, idDumpMessaggio, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>idDumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.IdDumpMessaggio}
*
* @param file Xml file to serialize the object <var>idDumpMessaggio</var>
* @param idDumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,IdDumpMessaggio idDumpMessaggio) throws SerializerException {
this.objToXml(file, IdDumpMessaggio.class, idDumpMessaggio, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>idDumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.IdDumpMessaggio}
*
* @param file Xml file to serialize the object <var>idDumpMessaggio</var>
* @param idDumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,IdDumpMessaggio idDumpMessaggio,boolean prettyPrint) throws SerializerException {
this.objToXml(file, IdDumpMessaggio.class, idDumpMessaggio, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>idDumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.IdDumpMessaggio}
*
* @param out OutputStream to serialize the object <var>idDumpMessaggio</var>
* @param idDumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,IdDumpMessaggio idDumpMessaggio) throws SerializerException {
this.objToXml(out, IdDumpMessaggio.class, idDumpMessaggio, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>idDumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.IdDumpMessaggio}
*
* @param out OutputStream to serialize the object <var>idDumpMessaggio</var>
* @param idDumpMessaggio Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,IdDumpMessaggio idDumpMessaggio,boolean prettyPrint) throws SerializerException {
this.objToXml(out, IdDumpMessaggio.class, idDumpMessaggio, prettyPrint);
}
/**
* Serialize to byte array the object <var>idDumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.IdDumpMessaggio}
*
* @param idDumpMessaggio Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(IdDumpMessaggio idDumpMessaggio) throws SerializerException {
return this.objToXml(IdDumpMessaggio.class, idDumpMessaggio, false).toByteArray();
}
/**
* Serialize to byte array the object <var>idDumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.IdDumpMessaggio}
*
* @param idDumpMessaggio Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(IdDumpMessaggio idDumpMessaggio,boolean prettyPrint) throws SerializerException {
return this.objToXml(IdDumpMessaggio.class, idDumpMessaggio, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>idDumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.IdDumpMessaggio}
*
* @param idDumpMessaggio Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(IdDumpMessaggio idDumpMessaggio) throws SerializerException {
return this.objToXml(IdDumpMessaggio.class, idDumpMessaggio, false).toString();
}
/**
* Serialize to String the object <var>idDumpMessaggio</var> of type {@link org.openspcoop2.core.transazioni.IdDumpMessaggio}
*
* @param idDumpMessaggio Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(IdDumpMessaggio idDumpMessaggio,boolean prettyPrint) throws SerializerException {
return this.objToXml(IdDumpMessaggio.class, idDumpMessaggio, prettyPrint).toString();
}
/*
=================================================================================
Object: transazione-info
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneInfo}
*
* @param fileName Xml file to serialize the object <var>transazioneInfo</var>
* @param transazioneInfo Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneInfo transazioneInfo) throws SerializerException {
this.objToXml(fileName, TransazioneInfo.class, transazioneInfo, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneInfo}
*
* @param fileName Xml file to serialize the object <var>transazioneInfo</var>
* @param transazioneInfo Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneInfo transazioneInfo,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, TransazioneInfo.class, transazioneInfo, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneInfo}
*
* @param file Xml file to serialize the object <var>transazioneInfo</var>
* @param transazioneInfo Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneInfo transazioneInfo) throws SerializerException {
this.objToXml(file, TransazioneInfo.class, transazioneInfo, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneInfo}
*
* @param file Xml file to serialize the object <var>transazioneInfo</var>
* @param transazioneInfo Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneInfo transazioneInfo,boolean prettyPrint) throws SerializerException {
this.objToXml(file, TransazioneInfo.class, transazioneInfo, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneInfo}
*
* @param out OutputStream to serialize the object <var>transazioneInfo</var>
* @param transazioneInfo Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneInfo transazioneInfo) throws SerializerException {
this.objToXml(out, TransazioneInfo.class, transazioneInfo, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneInfo}
*
* @param out OutputStream to serialize the object <var>transazioneInfo</var>
* @param transazioneInfo Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneInfo transazioneInfo,boolean prettyPrint) throws SerializerException {
this.objToXml(out, TransazioneInfo.class, transazioneInfo, prettyPrint);
}
/**
* Serialize to byte array the object <var>transazioneInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneInfo}
*
* @param transazioneInfo Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneInfo transazioneInfo) throws SerializerException {
return this.objToXml(TransazioneInfo.class, transazioneInfo, false).toByteArray();
}
/**
* Serialize to byte array the object <var>transazioneInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneInfo}
*
* @param transazioneInfo Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneInfo transazioneInfo,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneInfo.class, transazioneInfo, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>transazioneInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneInfo}
*
* @param transazioneInfo Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneInfo transazioneInfo) throws SerializerException {
return this.objToXml(TransazioneInfo.class, transazioneInfo, false).toString();
}
/**
* Serialize to String the object <var>transazioneInfo</var> of type {@link org.openspcoop2.core.transazioni.TransazioneInfo}
*
* @param transazioneInfo Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneInfo transazioneInfo,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneInfo.class, transazioneInfo, prettyPrint).toString();
}
/*
=================================================================================
Object: transazione-export
=================================================================================
*/
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneExport</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExport}
*
* @param fileName Xml file to serialize the object <var>transazioneExport</var>
* @param transazioneExport Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneExport transazioneExport) throws SerializerException {
this.objToXml(fileName, TransazioneExport.class, transazioneExport, false);
}
/**
* Serialize to file system in <var>fileName</var> the object <var>transazioneExport</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExport}
*
* @param fileName Xml file to serialize the object <var>transazioneExport</var>
* @param transazioneExport Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(String fileName,TransazioneExport transazioneExport,boolean prettyPrint) throws SerializerException {
this.objToXml(fileName, TransazioneExport.class, transazioneExport, prettyPrint);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneExport</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExport}
*
* @param file Xml file to serialize the object <var>transazioneExport</var>
* @param transazioneExport Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneExport transazioneExport) throws SerializerException {
this.objToXml(file, TransazioneExport.class, transazioneExport, false);
}
/**
* Serialize to file system in <var>file</var> the object <var>transazioneExport</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExport}
*
* @param file Xml file to serialize the object <var>transazioneExport</var>
* @param transazioneExport Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(File file,TransazioneExport transazioneExport,boolean prettyPrint) throws SerializerException {
this.objToXml(file, TransazioneExport.class, transazioneExport, prettyPrint);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneExport</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExport}
*
* @param out OutputStream to serialize the object <var>transazioneExport</var>
* @param transazioneExport Object to be serialized in xml file <var>fileName</var>
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneExport transazioneExport) throws SerializerException {
this.objToXml(out, TransazioneExport.class, transazioneExport, false);
}
/**
* Serialize to output stream <var>out</var> the object <var>transazioneExport</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExport}
*
* @param out OutputStream to serialize the object <var>transazioneExport</var>
* @param transazioneExport Object to be serialized in xml file <var>fileName</var>
* @param prettyPrint if true output the XML with indenting
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public void write(OutputStream out,TransazioneExport transazioneExport,boolean prettyPrint) throws SerializerException {
this.objToXml(out, TransazioneExport.class, transazioneExport, prettyPrint);
}
/**
* Serialize to byte array the object <var>transazioneExport</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExport}
*
* @param transazioneExport Object to be serialized
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneExport transazioneExport) throws SerializerException {
return this.objToXml(TransazioneExport.class, transazioneExport, false).toByteArray();
}
/**
* Serialize to byte array the object <var>transazioneExport</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExport}
*
* @param transazioneExport Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized in byte array
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public byte[] toByteArray(TransazioneExport transazioneExport,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneExport.class, transazioneExport, prettyPrint).toByteArray();
}
/**
* Serialize to String the object <var>transazioneExport</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExport}
*
* @param transazioneExport Object to be serialized
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneExport transazioneExport) throws SerializerException {
return this.objToXml(TransazioneExport.class, transazioneExport, false).toString();
}
/**
* Serialize to String the object <var>transazioneExport</var> of type {@link org.openspcoop2.core.transazioni.TransazioneExport}
*
* @param transazioneExport Object to be serialized
* @param prettyPrint if true output the XML with indenting
* @return Object to be serialized as String
* @throws SerializerException The exception that is thrown when an error occurs during serialization
*/
public String toString(TransazioneExport transazioneExport,boolean prettyPrint) throws SerializerException {
return this.objToXml(TransazioneExport.class, transazioneExport, prettyPrint).toString();
}
}