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.details;

  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.details 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.details
  46.      *
  47.      */
  48.     public ObjectFactory() {
  49.         // Create a new ObjectFactory
  50.     }

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

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

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

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

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

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

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

  93.     private static final QName _FaultDetails = new QName("http://govway.org/integration/fault/details", "fault-details");

  94.     /**
  95.      * Create an instance of {@link JAXBElement }{@code <}{@link DettaglioEccezione }{@code >}}
  96.      */
  97.     @XmlElementDecl(namespace = "http://govway.org/integration/fault/details", name="fault-details")
  98.     public JAXBElement<DettaglioEccezione> createFaultDetails() {
  99.         return new JAXBElement<DettaglioEccezione>(_FaultDetails, DettaglioEccezione.class, null, this.createDettaglioEccezione());
  100.     }
  101.     public JAXBElement<DettaglioEccezione> createFaultDetails(DettaglioEccezione faultDetails) {
  102.         return new JAXBElement<DettaglioEccezione>(_FaultDetails, DettaglioEccezione.class, null, faultDetails);
  103.     }


  104.  }