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

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

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

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

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

  75.     private static final QName _RouterDetails = new QName("http://govway.org/integration/fault/router_details", "router-details");

  76.     /**
  77.      * Create an instance of {@link JAXBElement }{@code <}{@link DettaglioRouting }{@code >}}
  78.      */
  79.     @XmlElementDecl(namespace = "http://govway.org/integration/fault/router_details", name="router-details")
  80.     public JAXBElement<DettaglioRouting> createRouterDetails() {
  81.         return new JAXBElement<DettaglioRouting>(_RouterDetails, DettaglioRouting.class, null, this.createDettaglioRouting());
  82.     }
  83.     public JAXBElement<DettaglioRouting> createRouterDetails(DettaglioRouting routerDetails) {
  84.         return new JAXBElement<DettaglioRouting>(_RouterDetails, DettaglioRouting.class, null, routerDetails);
  85.     }


  86.  }