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.message.context;

  21. import javax.xml.bind.annotation.XmlRegistry;


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

  39. @XmlRegistry
  40. public class ObjectFactory {


  41.     /**
  42.      * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.openspcoop2.message.context
  43.      *
  44.      */
  45.     public ObjectFactory() {
  46.         // Create a new ObjectFactory
  47.     }

  48.     /**
  49.      * Create an instance of {@link ForcedResponse }
  50.      */
  51.     public ForcedResponse createForcedResponse() {
  52.         return new ForcedResponse();
  53.     }

  54.     /**
  55.      * Create an instance of {@link ForcedResponseMessage }
  56.      */
  57.     public ForcedResponseMessage createForcedResponseMessage() {
  58.         return new ForcedResponseMessage();
  59.     }

  60.     /**
  61.      * Create an instance of {@link ContentLength }
  62.      */
  63.     public ContentLength createContentLength() {
  64.         return new ContentLength();
  65.     }

  66.     /**
  67.      * Create an instance of {@link Credentials }
  68.      */
  69.     public Credentials createCredentials() {
  70.         return new Credentials();
  71.     }

  72.     /**
  73.      * Create an instance of {@link MessageContext }
  74.      */
  75.     public MessageContext createMessageContext() {
  76.         return new MessageContext();
  77.     }

  78.     /**
  79.      * Create an instance of {@link TransportResponseContext }
  80.      */
  81.     public TransportResponseContext createTransportResponseContext() {
  82.         return new TransportResponseContext();
  83.     }

  84.     /**
  85.      * Create an instance of {@link ContentTypeParameters }
  86.      */
  87.     public ContentTypeParameters createContentTypeParameters() {
  88.         return new ContentTypeParameters();
  89.     }

  90.     /**
  91.      * Create an instance of {@link Soap }
  92.      */
  93.     public Soap createSoap() {
  94.         return new Soap();
  95.     }

  96.     /**
  97.      * Create an instance of {@link StringParameter }
  98.      */
  99.     public StringParameter createStringParameter() {
  100.         return new StringParameter();
  101.     }

  102.     /**
  103.      * Create an instance of {@link SerializedContext }
  104.      */
  105.     public SerializedContext createSerializedContext() {
  106.         return new SerializedContext();
  107.     }

  108.     /**
  109.      * Create an instance of {@link HeaderParameters }
  110.      */
  111.     public HeaderParameters createHeaderParameters() {
  112.         return new HeaderParameters();
  113.     }

  114.     /**
  115.      * Create an instance of {@link SerializedParameter }
  116.      */
  117.     public SerializedParameter createSerializedParameter() {
  118.         return new SerializedParameter();
  119.     }

  120.     /**
  121.      * Create an instance of {@link TransportRequestContext }
  122.      */
  123.     public TransportRequestContext createTransportRequestContext() {
  124.         return new TransportRequestContext();
  125.     }

  126.     /**
  127.      * Create an instance of {@link UrlParameters }
  128.      */
  129.     public UrlParameters createUrlParameters() {
  130.         return new UrlParameters();
  131.     }


  132.  }