src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/ObjectFactory.java

Thu, 31 Aug 2017 15:18:52 +0800

author
aoqi
date
Thu, 31 Aug 2017 15:18:52 +0800
changeset 637
9c07ef4934dd
parent 374
72e03566f0a6
parent 0
373ffda63c9a
permissions
-rw-r--r--

merge

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

mercurial