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

import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.JAXBElement;
import javax.xml.namespace.QName;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the org.openspcoop2.core.integrazione package. 
 * <p>An ObjectFactory allows you to programatically 
 * construct new instances of the Java representation 
 * for XML content. The Java representation of XML 
 * content can consist of schema derived interfaces 
 * and classes representing the binding of schema
 * type definitions, element declarations and model 
 * groups.  Factory methods for each of these are 
 * provided in this class.
 * 
 * @author Poli Andrea (poli@link.it)
 * @author $Author$
 * @version $Rev$, $Date$
*/

@XmlRegistry
public class ObjectFactory {


    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.openspcoop2.core.integrazione
     * 
     */
    public ObjectFactory() {
        // Create a new ObjectFactory
    }

    /**
     * Create an instance of {@link EsitoRichiesta }
     */
    public EsitoRichiesta createEsitoRichiesta() {
        return new EsitoRichiesta();
    }

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

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


 }