View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.cxf.weatherservice.myweather;
8   
9   import javax.xml.bind.JAXBElement;
10  import javax.xml.bind.annotation.XmlElementDecl;
11  import javax.xml.bind.annotation.XmlRegistry;
12  import javax.xml.namespace.QName;
13  
14  
15  /**
16   * This object contains factory methods for each
17   * Java content interface and Java element interface
18   * generated in the com.myweather package.
19   * <p>An ObjectFactory allows you to programatically
20   * construct new instances of the Java representation
21   * for XML content. The Java representation of XML
22   * content can consist of schema derived interfaces
23   * and classes representing the binding of schema
24   * type definitions, element declarations and model
25   * groups.  Factory methods for each of these are
26   * provided in this class.
27   *
28   */
29  @XmlRegistry
30  public class ObjectFactory {
31  
32      private final static QName _WeatherReturn_QNAME = new QName("http://ws.cdyne.com/WeatherWS/", "WeatherReturn");
33      private final static QName _ArrayOfWeatherDescription_QNAME = new QName("http://ws.cdyne.com/WeatherWS/", "ArrayOfWeatherDescription");
34      private final static QName _ForecastReturn_QNAME = new QName("http://ws.cdyne.com/WeatherWS/", "ForecastReturn");
35  
36      /**
37       * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.myweather
38       *
39       */
40      public ObjectFactory() {
41      }
42  
43      /**
44       * Create an instance of {@link org.mule.cxf.weatherservice.myweather.GetCityForecastByZIP }
45       *
46       */
47      public GetCityForecastByZIP createGetCityForecastByZIP() {
48          return new GetCityForecastByZIP();
49      }
50  
51      /**
52       * Create an instance of {@link GetCityForecastByZIPResponse }
53       *
54       */
55      public GetCityForecastByZIPResponse createGetCityForecastByZIPResponse() {
56          return new GetCityForecastByZIPResponse();
57      }
58  
59      /**
60       * Create an instance of {@link POP }
61       *
62       */
63      public POP createPOP() {
64          return new POP();
65      }
66  
67      /**
68       * Create an instance of {@link WeatherDescription }
69       *
70       */
71      public WeatherDescription createWeatherDescription() {
72          return new WeatherDescription();
73      }
74  
75      /**
76       * Create an instance of {@link ArrayOfWeatherDescription }
77       *
78       */
79      public ArrayOfWeatherDescription createArrayOfWeatherDescription() {
80          return new ArrayOfWeatherDescription();
81      }
82  
83      /**
84       * Create an instance of {@link GetWeatherInformation }
85       *
86       */
87      public GetWeatherInformation createGetWeatherInformation() {
88          return new GetWeatherInformation();
89      }
90  
91      /**
92       * Create an instance of {@link GetCityWeatherByZIPResponse }
93       *
94       */
95      public GetCityWeatherByZIPResponse createGetCityWeatherByZIPResponse() {
96          return new GetCityWeatherByZIPResponse();
97      }
98  
99      /**
100      * Create an instance of {@link WeatherReturn }
101      *
102      */
103     public WeatherReturn createWeatherReturn() {
104         return new WeatherReturn();
105     }
106 
107     /**
108      * Create an instance of {@link org.mule.cxf.weatherservice.myweather.GetCityWeatherByZIP }
109      *
110      */
111     public GetCityWeatherByZIP createGetCityWeatherByZIP() {
112         return new GetCityWeatherByZIP();
113     }
114 
115     /**
116      * Create an instance of {@link Forecast }
117      *
118      */
119     public Forecast createForecast() {
120         return new Forecast();
121     }
122 
123     /**
124      * Create an instance of {@link Temp }
125      *
126      */
127     public Temp createTemp() {
128         return new Temp();
129     }
130 
131     /**
132      * Create an instance of {@link ForecastReturn }
133      *
134      */
135     public ForecastReturn createForecastReturn() {
136         return new ForecastReturn();
137     }
138 
139     /**
140      * Create an instance of {@link ArrayOfForecast }
141      *
142      */
143     public ArrayOfForecast createArrayOfForecast() {
144         return new ArrayOfForecast();
145     }
146 
147     /**
148      * Create an instance of {@link GetWeatherInformationResponse }
149      *
150      */
151     public GetWeatherInformationResponse createGetWeatherInformationResponse() {
152         return new GetWeatherInformationResponse();
153     }
154 
155     /**
156      * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link WeatherReturn }{@code >}}
157      *
158      */
159     @XmlElementDecl(namespace = "http://ws.cdyne.com/WeatherWS/", name = "WeatherReturn")
160     public JAXBElement<WeatherReturn> createWeatherReturn(WeatherReturn value) {
161         return new JAXBElement<WeatherReturn>(_WeatherReturn_QNAME, WeatherReturn.class, null, value);
162     }
163 
164     /**
165      * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link ArrayOfWeatherDescription }{@code >}}
166      *
167      */
168     @XmlElementDecl(namespace = "http://ws.cdyne.com/WeatherWS/", name = "ArrayOfWeatherDescription")
169     public JAXBElement<ArrayOfWeatherDescription> createArrayOfWeatherDescription(ArrayOfWeatherDescription value) {
170         return new JAXBElement<ArrayOfWeatherDescription>(_ArrayOfWeatherDescription_QNAME, ArrayOfWeatherDescription.class, null, value);
171     }
172 
173     /**
174      * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link ForecastReturn }{@code >}}
175      *
176      */
177     @XmlElementDecl(namespace = "http://ws.cdyne.com/WeatherWS/", name = "ForecastReturn")
178     public JAXBElement<ForecastReturn> createForecastReturn(ForecastReturn value) {
179         return new JAXBElement<ForecastReturn>(_ForecastReturn_QNAME, ForecastReturn.class, null, value);
180     }
181 
182 }