ObjectFactory.java

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

  21. import javax.xml.bind.annotation.XmlRegistry;
  22. import javax.xml.bind.annotation.XmlElementDecl;
  23. import javax.xml.bind.JAXBElement;
  24. import javax.xml.namespace.QName;


  25. /**
  26.  * This object contains factory methods for each
  27.  * Java content interface and Java element interface
  28.  * generated in the org.openspcoop2.core.eccezione.errore_applicativo package.
  29.  * <p>An ObjectFactory allows you to programatically
  30.  * construct new instances of the Java representation
  31.  * for XML content. The Java representation of XML
  32.  * content can consist of schema derived interfaces
  33.  * and classes representing the binding of schema
  34.  * type definitions, element declarations and model
  35.  * groups.  Factory methods for each of these are
  36.  * provided in this class.
  37.  *
  38.  * @author Poli Andrea (poli@link.it)
  39.  * @author $Author$
  40.  * @version $Rev$, $Date$
  41. */

  42. @XmlRegistry
  43. public class ObjectFactory {


  44.     /**
  45.      * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.openspcoop2.core.eccezione.errore_applicativo
  46.      *
  47.      */
  48.     public ObjectFactory() {
  49.         // Create a new ObjectFactory
  50.     }

  51.     /**
  52.      * Create an instance of {@link Servizio }
  53.      */
  54.     public Servizio createServizio() {
  55.         return new Servizio();
  56.     }

  57.     /**
  58.      * Create an instance of {@link Eccezione }
  59.      */
  60.     public Eccezione createEccezione() {
  61.         return new Eccezione();
  62.     }

  63.     /**
  64.      * Create an instance of {@link DatiCooperazione }
  65.      */
  66.     public DatiCooperazione createDatiCooperazione() {
  67.         return new DatiCooperazione();
  68.     }

  69.     /**
  70.      * Create an instance of {@link Soggetto }
  71.      */
  72.     public Soggetto createSoggetto() {
  73.         return new Soggetto();
  74.     }

  75.     /**
  76.      * Create an instance of {@link DominioSoggetto }
  77.      */
  78.     public DominioSoggetto createDominioSoggetto() {
  79.         return new DominioSoggetto();
  80.     }

  81.     /**
  82.      * Create an instance of {@link ErroreApplicativo }
  83.      */
  84.     public ErroreApplicativo createErroreApplicativo() {
  85.         return new ErroreApplicativo();
  86.     }

  87.     /**
  88.      * Create an instance of {@link CodiceEccezione }
  89.      */
  90.     public CodiceEccezione createCodiceEccezione() {
  91.         return new CodiceEccezione();
  92.     }

  93.     /**
  94.      * Create an instance of {@link SoggettoIdentificativo }
  95.      */
  96.     public SoggettoIdentificativo createSoggettoIdentificativo() {
  97.         return new SoggettoIdentificativo();
  98.     }

  99.     /**
  100.      * Create an instance of {@link Dominio }
  101.      */
  102.     public Dominio createDominio() {
  103.         return new Dominio();
  104.     }

  105.     private static final QName _Fault = new QName("http://govway.org/integration/fault", "fault");

  106.     /**
  107.      * Create an instance of {@link JAXBElement }{@code <}{@link ErroreApplicativo }{@code >}}
  108.      */
  109.     @XmlElementDecl(namespace = "http://govway.org/integration/fault", name="fault")
  110.     public JAXBElement<ErroreApplicativo> createFault() {
  111.         return new JAXBElement<ErroreApplicativo>(_Fault, ErroreApplicativo.class, null, this.createErroreApplicativo());
  112.     }
  113.     public JAXBElement<ErroreApplicativo> createFault(ErroreApplicativo fault) {
  114.         return new JAXBElement<ErroreApplicativo>(_Fault, ErroreApplicativo.class, null, fault);
  115.     }


  116.  }