View Javadoc

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