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

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

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

  57.     private static final QName _Result = new QName("http://govway.org/integration", "result");

  58.     /**
  59.      * Create an instance of {@link JAXBElement }{@code <}{@link EsitoRichiesta }{@code >}}
  60.      */
  61.     @XmlElementDecl(namespace = "http://govway.org/integration", name="result")
  62.     public JAXBElement<EsitoRichiesta> createResult() {
  63.         return new JAXBElement<EsitoRichiesta>(_Result, EsitoRichiesta.class, null, this.createEsitoRichiesta());
  64.     }
  65.     public JAXBElement<EsitoRichiesta> createResult(EsitoRichiesta result) {
  66.         return new JAXBElement<EsitoRichiesta>(_Result, EsitoRichiesta.class, null, result);
  67.     }


  68.  }