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

changeset 0
373ffda63c9a
child 637
9c07ef4934dd
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/ObjectFactory.java	Wed Apr 27 01:27:09 2016 +0800
     1.3 @@ -0,0 +1,268 @@
     1.4 +/*
     1.5 + * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 + *
     1.8 + * This code is free software; you can redistribute it and/or modify it
     1.9 + * under the terms of the GNU General Public License version 2 only, as
    1.10 + * published by the Free Software Foundation.  Oracle designates this
    1.11 + * particular file as subject to the "Classpath" exception as provided
    1.12 + * by Oracle in the LICENSE file that accompanied this code.
    1.13 + *
    1.14 + * This code is distributed in the hope that it will be useful, but WITHOUT
    1.15 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.16 + * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.17 + * version 2 for more details (a copy is included in the LICENSE file that
    1.18 + * accompanied this code).
    1.19 + *
    1.20 + * You should have received a copy of the GNU General Public License version
    1.21 + * 2 along with this work; if not, write to the Free Software Foundation,
    1.22 + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.23 + *
    1.24 + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.25 + * or visit www.oracle.com if you need additional information or have any
    1.26 + * questions.
    1.27 + */
    1.28 +
    1.29 +package com.oracle.xmlns.internal.webservices.jaxws_databinding;
    1.30 +import javax.xml.bind.JAXBElement;
    1.31 +import javax.xml.bind.annotation.XmlElementDecl;
    1.32 +import javax.xml.bind.annotation.XmlRegistry;
    1.33 +import javax.xml.namespace.QName;
    1.34 +
    1.35 +
    1.36 +/**
    1.37 + * This object contains factory methods for each
    1.38 + * Java content interface and Java element interface
    1.39 + * generated in the com.sun.xml.internal.ws.ext2.java_wsdl package.
    1.40 + * <p>An ObjectFactory allows you to programatically
    1.41 + * construct new instances of the Java representation
    1.42 + * for XML content. The Java representation of XML
    1.43 + * content can consist of schema derived interfaces
    1.44 + * and classes representing the binding of schema
    1.45 + * type definitions, element declarations and model
    1.46 + * groups.  Factory methods for each of these are
    1.47 + * provided in this class.
    1.48 + *
    1.49 + */
    1.50 +@XmlRegistry
    1.51 +public class ObjectFactory {
    1.52 +
    1.53 +    private final static QName _JavaWsdlMapping_QNAME = new QName("http://xmlns.oracle.com/webservices/jaxws-databinding", "java-wsdl-mapping");
    1.54 +
    1.55 +    /**
    1.56 +     * 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
    1.57 +     *
    1.58 +     */
    1.59 +    public ObjectFactory() {
    1.60 +    }
    1.61 +
    1.62 +    /**
    1.63 +     * Create an instance of {@link JavaMethod }
    1.64 +     *
    1.65 +     */
    1.66 +    public JavaMethod createJavaMethod() {
    1.67 +        return new JavaMethod();
    1.68 +    }
    1.69 +
    1.70 +    /**
    1.71 +     * Create an instance of {@link JavaWsdlMappingType }
    1.72 +     *
    1.73 +     */
    1.74 +    public JavaWsdlMappingType createJavaWsdlMappingType() {
    1.75 +        return new JavaWsdlMappingType();
    1.76 +    }
    1.77 +
    1.78 +    /**
    1.79 +     * Create an instance of {@link XmlWebEndpoint }
    1.80 +     *
    1.81 +     */
    1.82 +    public XmlWebEndpoint createWebEndpoint() {
    1.83 +        return new XmlWebEndpoint();
    1.84 +    }
    1.85 +
    1.86 +    /**
    1.87 +     * Create an instance of {@link XmlMTOM }
    1.88 +     *
    1.89 +     */
    1.90 +    public XmlMTOM createMtom() {
    1.91 +        return new XmlMTOM();
    1.92 +    }
    1.93 +
    1.94 +    /**
    1.95 +     * Create an instance of {@link XmlWebServiceClient }
    1.96 +     *
    1.97 +     */
    1.98 +    public XmlWebServiceClient createWebServiceClient() {
    1.99 +        return new XmlWebServiceClient();
   1.100 +    }
   1.101 +
   1.102 +    /**
   1.103 +     * Create an instance of {@link XmlServiceMode }
   1.104 +     *
   1.105 +     */
   1.106 +    public XmlServiceMode createServiceMode() {
   1.107 +        return new XmlServiceMode();
   1.108 +    }
   1.109 +
   1.110 +    /**
   1.111 +     * Create an instance of {@link XmlBindingType }
   1.112 +     *
   1.113 +     */
   1.114 +    public XmlBindingType createBindingType() {
   1.115 +        return new XmlBindingType();
   1.116 +    }
   1.117 +
   1.118 +    /**
   1.119 +     * Create an instance of {@link XmlWebServiceRef }
   1.120 +     *
   1.121 +     */
   1.122 +    public XmlWebServiceRef createWebServiceRef() {
   1.123 +        return new XmlWebServiceRef();
   1.124 +    }
   1.125 +
   1.126 +    /**
   1.127 +     * Create an instance of {@link JavaParam }
   1.128 +     *
   1.129 +     */
   1.130 +    public JavaParam createJavaParam() {
   1.131 +        return new JavaParam();
   1.132 +    }
   1.133 +
   1.134 +    /**
   1.135 +     * Create an instance of {@link XmlWebParam }
   1.136 +     *
   1.137 +     */
   1.138 +    public XmlWebParam createWebParam() {
   1.139 +        return new XmlWebParam();
   1.140 +    }
   1.141 +
   1.142 +    /**
   1.143 +     * Create an instance of {@link XmlWebMethod }
   1.144 +     *
   1.145 +     */
   1.146 +    public XmlWebMethod createWebMethod() {
   1.147 +        return new XmlWebMethod();
   1.148 +    }
   1.149 +
   1.150 +    /**
   1.151 +     * Create an instance of {@link XmlWebResult }
   1.152 +     *
   1.153 +     */
   1.154 +    public XmlWebResult createWebResult() {
   1.155 +        return new XmlWebResult();
   1.156 +    }
   1.157 +
   1.158 +    /**
   1.159 +     * Create an instance of {@link XmlOneway }
   1.160 +     *
   1.161 +     */
   1.162 +    public XmlOneway createOneway() {
   1.163 +        return new XmlOneway();
   1.164 +    }
   1.165 +
   1.166 +    /**
   1.167 +     * Create an instance of {@link XmlSOAPBinding }
   1.168 +     *
   1.169 +     */
   1.170 +    public XmlSOAPBinding createSoapBinding() {
   1.171 +        return new XmlSOAPBinding();
   1.172 +    }
   1.173 +
   1.174 +    /**
   1.175 +     * Create an instance of {@link XmlAction }
   1.176 +     *
   1.177 +     */
   1.178 +    public XmlAction createAction() {
   1.179 +        return new XmlAction();
   1.180 +    }
   1.181 +
   1.182 +    /**
   1.183 +     * Create an instance of {@link XmlFaultAction }
   1.184 +     *
   1.185 +     */
   1.186 +    public XmlFaultAction createFaultAction() {
   1.187 +        return new XmlFaultAction();
   1.188 +    }
   1.189 +
   1.190 +    /**
   1.191 +     * Create an instance of {@link JavaMethod.JavaParams }
   1.192 +     *
   1.193 +     */
   1.194 +    public JavaMethod.JavaParams createJavaMethodJavaParams() {
   1.195 +        return new JavaMethod.JavaParams();
   1.196 +    }
   1.197 +
   1.198 +    /**
   1.199 +     * Create an instance of {@link XmlHandlerChain }
   1.200 +     *
   1.201 +     */
   1.202 +    public XmlHandlerChain createHandlerChain() {
   1.203 +        return new XmlHandlerChain();
   1.204 +    }
   1.205 +
   1.206 +    /**
   1.207 +     * Create an instance of {@link XmlWebServiceProvider }
   1.208 +     *
   1.209 +     */
   1.210 +    public XmlWebServiceProvider createWebServiceProvider() {
   1.211 +        return new XmlWebServiceProvider();
   1.212 +    }
   1.213 +
   1.214 +    /**
   1.215 +     * Create an instance of {@link XmlWebFault }
   1.216 +     *
   1.217 +     */
   1.218 +    public XmlWebFault createWebFault() {
   1.219 +        return new XmlWebFault();
   1.220 +    }
   1.221 +
   1.222 +    /**
   1.223 +     * Create an instance of {@link XmlResponseWrapper }
   1.224 +     *
   1.225 +     */
   1.226 +    public XmlResponseWrapper createResponseWrapper() {
   1.227 +        return new XmlResponseWrapper();
   1.228 +    }
   1.229 +
   1.230 +    /**
   1.231 +     * Create an instance of {@link XmlWebService }
   1.232 +     *
   1.233 +     */
   1.234 +    public XmlWebService createWebService() {
   1.235 +        return new XmlWebService();
   1.236 +    }
   1.237 +
   1.238 +    /**
   1.239 +     * Create an instance of {@link XmlRequestWrapper }
   1.240 +     *
   1.241 +     */
   1.242 +    public XmlRequestWrapper createRequestWrapper() {
   1.243 +        return new XmlRequestWrapper();
   1.244 +    }
   1.245 +
   1.246 +    /**
   1.247 +     * Create an instance of {@link JavaWsdlMappingType.XmlSchemaMapping }
   1.248 +     *
   1.249 +     */
   1.250 +    public JavaWsdlMappingType.XmlSchemaMapping createJavaWsdlMappingTypeXmlSchemaMapping() {
   1.251 +        return new JavaWsdlMappingType.XmlSchemaMapping();
   1.252 +    }
   1.253 +
   1.254 +    /**
   1.255 +     * Create an instance of {@link JavaWsdlMappingType.JavaMethods }
   1.256 +     *
   1.257 +     */
   1.258 +    public JavaWsdlMappingType.JavaMethods createJavaWsdlMappingTypeJavaMethods() {
   1.259 +        return new JavaWsdlMappingType.JavaMethods();
   1.260 +    }
   1.261 +
   1.262 +    /**
   1.263 +     * Create an instance of {@link JAXBElement }{@code <}{@link JavaWsdlMappingType }{@code >}}
   1.264 +     *
   1.265 +     */
   1.266 +    @XmlElementDecl(namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", name = "java-wsdl-mapping")
   1.267 +    public JAXBElement<JavaWsdlMappingType> createJavaWsdlMapping(JavaWsdlMappingType value) {
   1.268 +        return new JAXBElement<JavaWsdlMappingType>(_JavaWsdlMapping_QNAME, JavaWsdlMappingType.class, null, value);
   1.269 +    }
   1.270 +
   1.271 +}

mercurial