Wed, 27 Apr 2016 01:27:09 +0800
Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/jaxws/
changeset: 657:d47a47f961ee
tag: jdk8u25-b17
1 /*
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
26 package com.oracle.xmlns.internal.webservices.jaxws_databinding;
27 import javax.xml.bind.JAXBElement;
28 import javax.xml.bind.annotation.XmlElementDecl;
29 import javax.xml.bind.annotation.XmlRegistry;
30 import javax.xml.namespace.QName;
33 /**
34 * This object contains factory methods for each
35 * Java content interface and Java element interface
36 * generated in the com.sun.xml.internal.ws.ext2.java_wsdl package.
37 * <p>An ObjectFactory allows you to programatically
38 * construct new instances of the Java representation
39 * for XML content. The Java representation of XML
40 * content can consist of schema derived interfaces
41 * and classes representing the binding of schema
42 * type definitions, element declarations and model
43 * groups. Factory methods for each of these are
44 * provided in this class.
45 *
46 */
47 @XmlRegistry
48 public class ObjectFactory {
50 private final static QName _JavaWsdlMapping_QNAME = new QName("http://xmlns.oracle.com/webservices/jaxws-databinding", "java-wsdl-mapping");
52 /**
53 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.internal.ws.ext2.java_wsdl
54 *
55 */
56 public ObjectFactory() {
57 }
59 /**
60 * Create an instance of {@link JavaMethod }
61 *
62 */
63 public JavaMethod createJavaMethod() {
64 return new JavaMethod();
65 }
67 /**
68 * Create an instance of {@link JavaWsdlMappingType }
69 *
70 */
71 public JavaWsdlMappingType createJavaWsdlMappingType() {
72 return new JavaWsdlMappingType();
73 }
75 /**
76 * Create an instance of {@link XmlWebEndpoint }
77 *
78 */
79 public XmlWebEndpoint createWebEndpoint() {
80 return new XmlWebEndpoint();
81 }
83 /**
84 * Create an instance of {@link XmlMTOM }
85 *
86 */
87 public XmlMTOM createMtom() {
88 return new XmlMTOM();
89 }
91 /**
92 * Create an instance of {@link XmlWebServiceClient }
93 *
94 */
95 public XmlWebServiceClient createWebServiceClient() {
96 return new XmlWebServiceClient();
97 }
99 /**
100 * Create an instance of {@link XmlServiceMode }
101 *
102 */
103 public XmlServiceMode createServiceMode() {
104 return new XmlServiceMode();
105 }
107 /**
108 * Create an instance of {@link XmlBindingType }
109 *
110 */
111 public XmlBindingType createBindingType() {
112 return new XmlBindingType();
113 }
115 /**
116 * Create an instance of {@link XmlWebServiceRef }
117 *
118 */
119 public XmlWebServiceRef createWebServiceRef() {
120 return new XmlWebServiceRef();
121 }
123 /**
124 * Create an instance of {@link JavaParam }
125 *
126 */
127 public JavaParam createJavaParam() {
128 return new JavaParam();
129 }
131 /**
132 * Create an instance of {@link XmlWebParam }
133 *
134 */
135 public XmlWebParam createWebParam() {
136 return new XmlWebParam();
137 }
139 /**
140 * Create an instance of {@link XmlWebMethod }
141 *
142 */
143 public XmlWebMethod createWebMethod() {
144 return new XmlWebMethod();
145 }
147 /**
148 * Create an instance of {@link XmlWebResult }
149 *
150 */
151 public XmlWebResult createWebResult() {
152 return new XmlWebResult();
153 }
155 /**
156 * Create an instance of {@link XmlOneway }
157 *
158 */
159 public XmlOneway createOneway() {
160 return new XmlOneway();
161 }
163 /**
164 * Create an instance of {@link XmlSOAPBinding }
165 *
166 */
167 public XmlSOAPBinding createSoapBinding() {
168 return new XmlSOAPBinding();
169 }
171 /**
172 * Create an instance of {@link XmlAction }
173 *
174 */
175 public XmlAction createAction() {
176 return new XmlAction();
177 }
179 /**
180 * Create an instance of {@link XmlFaultAction }
181 *
182 */
183 public XmlFaultAction createFaultAction() {
184 return new XmlFaultAction();
185 }
187 /**
188 * Create an instance of {@link JavaMethod.JavaParams }
189 *
190 */
191 public JavaMethod.JavaParams createJavaMethodJavaParams() {
192 return new JavaMethod.JavaParams();
193 }
195 /**
196 * Create an instance of {@link XmlHandlerChain }
197 *
198 */
199 public XmlHandlerChain createHandlerChain() {
200 return new XmlHandlerChain();
201 }
203 /**
204 * Create an instance of {@link XmlWebServiceProvider }
205 *
206 */
207 public XmlWebServiceProvider createWebServiceProvider() {
208 return new XmlWebServiceProvider();
209 }
211 /**
212 * Create an instance of {@link XmlWebFault }
213 *
214 */
215 public XmlWebFault createWebFault() {
216 return new XmlWebFault();
217 }
219 /**
220 * Create an instance of {@link XmlResponseWrapper }
221 *
222 */
223 public XmlResponseWrapper createResponseWrapper() {
224 return new XmlResponseWrapper();
225 }
227 /**
228 * Create an instance of {@link XmlWebService }
229 *
230 */
231 public XmlWebService createWebService() {
232 return new XmlWebService();
233 }
235 /**
236 * Create an instance of {@link XmlRequestWrapper }
237 *
238 */
239 public XmlRequestWrapper createRequestWrapper() {
240 return new XmlRequestWrapper();
241 }
243 /**
244 * Create an instance of {@link JavaWsdlMappingType.XmlSchemaMapping }
245 *
246 */
247 public JavaWsdlMappingType.XmlSchemaMapping createJavaWsdlMappingTypeXmlSchemaMapping() {
248 return new JavaWsdlMappingType.XmlSchemaMapping();
249 }
251 /**
252 * Create an instance of {@link JavaWsdlMappingType.JavaMethods }
253 *
254 */
255 public JavaWsdlMappingType.JavaMethods createJavaWsdlMappingTypeJavaMethods() {
256 return new JavaWsdlMappingType.JavaMethods();
257 }
259 /**
260 * Create an instance of {@link JAXBElement }{@code <}{@link JavaWsdlMappingType }{@code >}}
261 *
262 */
263 @XmlElementDecl(namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", name = "java-wsdl-mapping")
264 public JAXBElement<JavaWsdlMappingType> createJavaWsdlMapping(JavaWsdlMappingType value) {
265 return new JAXBElement<JavaWsdlMappingType>(_JavaWsdlMapping_QNAME, JavaWsdlMappingType.class, null, value);
266 }
268 }