Tue, 09 Apr 2013 14:51:13 +0100
8010393: Update JAX-WS RI to 2.2.9-b12941
Reviewed-by: alanb, erikj
Contributed-by: miroslav.kos@oracle.com, martin.grebac@oracle.com
alanb@368 | 1 | /* |
alanb@368 | 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
alanb@368 | 3 | * |
alanb@368 | 4 | * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. |
alanb@368 | 5 | * |
alanb@368 | 6 | * The contents of this file are subject to the terms of either the GNU |
alanb@368 | 7 | * General Public License Version 2 only ("GPL") or the Common Development |
alanb@368 | 8 | * and Distribution License("CDDL") (collectively, the "License"). You |
alanb@368 | 9 | * may not use this file except in compliance with the License. You can |
alanb@368 | 10 | * obtain a copy of the License at |
alanb@368 | 11 | * http://glassfish.java.net/public/CDDL+GPL_1_1.html |
alanb@368 | 12 | * or packager/legal/LICENSE.txt. See the License for the specific |
alanb@368 | 13 | * language governing permissions and limitations under the License. |
alanb@368 | 14 | * |
alanb@368 | 15 | * When distributing the software, include this License Header Notice in each |
alanb@368 | 16 | * file and include the License file at packager/legal/LICENSE.txt. |
alanb@368 | 17 | * |
alanb@368 | 18 | * GPL Classpath Exception: |
alanb@368 | 19 | * Oracle designates this particular file as subject to the "Classpath" |
alanb@368 | 20 | * exception as provided by Oracle in the GPL Version 2 section of the License |
alanb@368 | 21 | * file that accompanied this code. |
alanb@368 | 22 | * |
alanb@368 | 23 | * Modifications: |
alanb@368 | 24 | * If applicable, add the following below the License Header, with the fields |
alanb@368 | 25 | * enclosed by brackets [] replaced by your own identifying information: |
alanb@368 | 26 | * "Portions Copyright [year] [name of copyright owner]" |
alanb@368 | 27 | * |
alanb@368 | 28 | * Contributor(s): |
alanb@368 | 29 | * If you wish your version of this file to be governed by only the CDDL or |
alanb@368 | 30 | * only the GPL Version 2, indicate your decision by adding "[Contributor] |
alanb@368 | 31 | * elects to include this software in this distribution under the [CDDL or GPL |
alanb@368 | 32 | * Version 2] license." If you don't indicate a single choice of license, a |
alanb@368 | 33 | * recipient has the option to distribute your version of this file under |
alanb@368 | 34 | * either the CDDL, the GPL Version 2 or to extend the choice of license to |
alanb@368 | 35 | * its licensees as provided above. However, if you add GPL Version 2 code |
alanb@368 | 36 | * and therefore, elected the GPL Version 2 license, then the option applies |
alanb@368 | 37 | * only if the new code is made subject to such option by the copyright |
alanb@368 | 38 | * holder. |
alanb@368 | 39 | */ |
alanb@368 | 40 | package com.oracle.xmlns.internal.webservices.jaxws_databinding; |
alanb@368 | 41 | import javax.xml.bind.annotation.XmlAccessType; |
alanb@368 | 42 | import javax.xml.bind.annotation.XmlAccessorType; |
alanb@368 | 43 | import javax.xml.bind.annotation.XmlAttribute; |
alanb@368 | 44 | import javax.xml.bind.annotation.XmlRootElement; |
alanb@368 | 45 | import javax.xml.bind.annotation.XmlType; |
alanb@368 | 46 | import java.lang.annotation.Annotation; |
alanb@368 | 47 | |
alanb@368 | 48 | import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; |
alanb@368 | 49 | |
alanb@368 | 50 | |
alanb@368 | 51 | /** |
alanb@368 | 52 | * This file was generated by JAXB-RI v2.2.6 and afterwards modified |
alanb@368 | 53 | * to implement appropriate Annotation |
alanb@368 | 54 | * |
alanb@368 | 55 | * <p>Java class for anonymous complex type. |
alanb@368 | 56 | * |
alanb@368 | 57 | * <p>The following schema fragment specifies the expected content contained within this class. |
alanb@368 | 58 | * |
alanb@368 | 59 | * <pre> |
alanb@368 | 60 | * <complexType> |
alanb@368 | 61 | * <complexContent> |
alanb@368 | 62 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
alanb@368 | 63 | * <attribute name="endpoint-interface" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> |
alanb@368 | 64 | * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> |
alanb@368 | 65 | * <attribute name="port-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> |
alanb@368 | 66 | * <attribute name="service-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> |
alanb@368 | 67 | * <attribute name="target-namespace" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> |
alanb@368 | 68 | * <attribute name="wsdl-location" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> |
alanb@368 | 69 | * </restriction> |
alanb@368 | 70 | * </complexContent> |
alanb@368 | 71 | * </complexType> |
alanb@368 | 72 | * </pre> |
alanb@368 | 73 | * |
alanb@368 | 74 | * |
alanb@368 | 75 | */ |
alanb@368 | 76 | @XmlAccessorType(XmlAccessType.FIELD) |
alanb@368 | 77 | @XmlType(name = "") |
alanb@368 | 78 | @XmlRootElement(name = "web-service") |
alanb@368 | 79 | public class XmlWebService implements javax.jws.WebService { |
alanb@368 | 80 | |
alanb@368 | 81 | @XmlAttribute(name = "endpoint-interface") |
alanb@368 | 82 | protected String endpointInterface; |
alanb@368 | 83 | @XmlAttribute(name = "name") |
alanb@368 | 84 | protected String name; |
alanb@368 | 85 | @XmlAttribute(name = "port-name") |
alanb@368 | 86 | protected String portName; |
alanb@368 | 87 | @XmlAttribute(name = "service-name") |
alanb@368 | 88 | protected String serviceName; |
alanb@368 | 89 | @XmlAttribute(name = "target-namespace") |
alanb@368 | 90 | protected String targetNamespace; |
alanb@368 | 91 | @XmlAttribute(name = "wsdl-location") |
alanb@368 | 92 | protected String wsdlLocation; |
alanb@368 | 93 | |
alanb@368 | 94 | /** |
alanb@368 | 95 | * Gets the value of the endpointInterface property. |
alanb@368 | 96 | * |
alanb@368 | 97 | * @return |
alanb@368 | 98 | * possible object is |
alanb@368 | 99 | * {@link String } |
alanb@368 | 100 | * |
alanb@368 | 101 | */ |
alanb@368 | 102 | public String getEndpointInterface() { |
alanb@368 | 103 | if (endpointInterface == null) { |
alanb@368 | 104 | return ""; |
alanb@368 | 105 | } else { |
alanb@368 | 106 | return endpointInterface; |
alanb@368 | 107 | } |
alanb@368 | 108 | } |
alanb@368 | 109 | |
alanb@368 | 110 | /** |
alanb@368 | 111 | * Sets the value of the endpointInterface property. |
alanb@368 | 112 | * |
alanb@368 | 113 | * @param value |
alanb@368 | 114 | * allowed object is |
alanb@368 | 115 | * {@link String } |
alanb@368 | 116 | * |
alanb@368 | 117 | */ |
alanb@368 | 118 | public void setEndpointInterface(String value) { |
alanb@368 | 119 | this.endpointInterface = value; |
alanb@368 | 120 | } |
alanb@368 | 121 | |
alanb@368 | 122 | /** |
alanb@368 | 123 | * Gets the value of the name property. |
alanb@368 | 124 | * |
alanb@368 | 125 | * @return |
alanb@368 | 126 | * possible object is |
alanb@368 | 127 | * {@link String } |
alanb@368 | 128 | * |
alanb@368 | 129 | */ |
alanb@368 | 130 | public String getName() { |
alanb@368 | 131 | if (name == null) { |
alanb@368 | 132 | return ""; |
alanb@368 | 133 | } else { |
alanb@368 | 134 | return name; |
alanb@368 | 135 | } |
alanb@368 | 136 | } |
alanb@368 | 137 | |
alanb@368 | 138 | /** |
alanb@368 | 139 | * Sets the value of the name property. |
alanb@368 | 140 | * |
alanb@368 | 141 | * @param value |
alanb@368 | 142 | * allowed object is |
alanb@368 | 143 | * {@link String } |
alanb@368 | 144 | * |
alanb@368 | 145 | */ |
alanb@368 | 146 | public void setName(String value) { |
alanb@368 | 147 | this.name = value; |
alanb@368 | 148 | } |
alanb@368 | 149 | |
alanb@368 | 150 | /** |
alanb@368 | 151 | * Gets the value of the portName property. |
alanb@368 | 152 | * |
alanb@368 | 153 | * @return |
alanb@368 | 154 | * possible object is |
alanb@368 | 155 | * {@link String } |
alanb@368 | 156 | * |
alanb@368 | 157 | */ |
alanb@368 | 158 | public String getPortName() { |
alanb@368 | 159 | if (portName == null) { |
alanb@368 | 160 | return ""; |
alanb@368 | 161 | } else { |
alanb@368 | 162 | return portName; |
alanb@368 | 163 | } |
alanb@368 | 164 | } |
alanb@368 | 165 | |
alanb@368 | 166 | /** |
alanb@368 | 167 | * Sets the value of the portName property. |
alanb@368 | 168 | * |
alanb@368 | 169 | * @param value |
alanb@368 | 170 | * allowed object is |
alanb@368 | 171 | * {@link String } |
alanb@368 | 172 | * |
alanb@368 | 173 | */ |
alanb@368 | 174 | public void setPortName(String value) { |
alanb@368 | 175 | this.portName = value; |
alanb@368 | 176 | } |
alanb@368 | 177 | |
alanb@368 | 178 | /** |
alanb@368 | 179 | * Gets the value of the serviceName property. |
alanb@368 | 180 | * |
alanb@368 | 181 | * @return |
alanb@368 | 182 | * possible object is |
alanb@368 | 183 | * {@link String } |
alanb@368 | 184 | * |
alanb@368 | 185 | */ |
alanb@368 | 186 | public String getServiceName() { |
alanb@368 | 187 | if (serviceName == null) { |
alanb@368 | 188 | return ""; |
alanb@368 | 189 | } else { |
alanb@368 | 190 | return serviceName; |
alanb@368 | 191 | } |
alanb@368 | 192 | } |
alanb@368 | 193 | |
alanb@368 | 194 | /** |
alanb@368 | 195 | * Sets the value of the serviceName property. |
alanb@368 | 196 | * |
alanb@368 | 197 | * @param value |
alanb@368 | 198 | * allowed object is |
alanb@368 | 199 | * {@link String } |
alanb@368 | 200 | * |
alanb@368 | 201 | */ |
alanb@368 | 202 | public void setServiceName(String value) { |
alanb@368 | 203 | this.serviceName = value; |
alanb@368 | 204 | } |
alanb@368 | 205 | |
alanb@368 | 206 | /** |
alanb@368 | 207 | * Gets the value of the targetNamespace property. |
alanb@368 | 208 | * |
alanb@368 | 209 | * @return |
alanb@368 | 210 | * possible object is |
alanb@368 | 211 | * {@link String } |
alanb@368 | 212 | * |
alanb@368 | 213 | */ |
alanb@368 | 214 | public String getTargetNamespace() { |
alanb@368 | 215 | if (targetNamespace == null) { |
alanb@368 | 216 | return ""; |
alanb@368 | 217 | } else { |
alanb@368 | 218 | return targetNamespace; |
alanb@368 | 219 | } |
alanb@368 | 220 | } |
alanb@368 | 221 | |
alanb@368 | 222 | /** |
alanb@368 | 223 | * Sets the value of the targetNamespace property. |
alanb@368 | 224 | * |
alanb@368 | 225 | * @param value |
alanb@368 | 226 | * allowed object is |
alanb@368 | 227 | * {@link String } |
alanb@368 | 228 | * |
alanb@368 | 229 | */ |
alanb@368 | 230 | public void setTargetNamespace(String value) { |
alanb@368 | 231 | this.targetNamespace = value; |
alanb@368 | 232 | } |
alanb@368 | 233 | |
alanb@368 | 234 | /** |
alanb@368 | 235 | * Gets the value of the wsdlLocation property. |
alanb@368 | 236 | * |
alanb@368 | 237 | * @return |
alanb@368 | 238 | * possible object is |
alanb@368 | 239 | * {@link String } |
alanb@368 | 240 | * |
alanb@368 | 241 | */ |
alanb@368 | 242 | public String getWsdlLocation() { |
alanb@368 | 243 | if (wsdlLocation == null) { |
alanb@368 | 244 | return ""; |
alanb@368 | 245 | } else { |
alanb@368 | 246 | return wsdlLocation; |
alanb@368 | 247 | } |
alanb@368 | 248 | } |
alanb@368 | 249 | |
alanb@368 | 250 | /** |
alanb@368 | 251 | * Sets the value of the wsdlLocation property. |
alanb@368 | 252 | * |
alanb@368 | 253 | * @param value |
alanb@368 | 254 | * allowed object is |
alanb@368 | 255 | * {@link String } |
alanb@368 | 256 | * |
alanb@368 | 257 | */ |
alanb@368 | 258 | public void setWsdlLocation(String value) { |
alanb@368 | 259 | this.wsdlLocation = value; |
alanb@368 | 260 | } |
alanb@368 | 261 | |
alanb@368 | 262 | @Override |
alanb@368 | 263 | public String name() { |
alanb@368 | 264 | return nullSafe(name); |
alanb@368 | 265 | } |
alanb@368 | 266 | |
alanb@368 | 267 | @Override |
alanb@368 | 268 | public String targetNamespace() { |
alanb@368 | 269 | return nullSafe(targetNamespace); |
alanb@368 | 270 | } |
alanb@368 | 271 | |
alanb@368 | 272 | @Override |
alanb@368 | 273 | public String serviceName() { |
alanb@368 | 274 | return nullSafe(serviceName); |
alanb@368 | 275 | } |
alanb@368 | 276 | |
alanb@368 | 277 | @Override |
alanb@368 | 278 | public String portName() { |
alanb@368 | 279 | return nullSafe(portName); |
alanb@368 | 280 | } |
alanb@368 | 281 | |
alanb@368 | 282 | @Override |
alanb@368 | 283 | public String wsdlLocation() { |
alanb@368 | 284 | return nullSafe(wsdlLocation); |
alanb@368 | 285 | } |
alanb@368 | 286 | |
alanb@368 | 287 | @Override |
alanb@368 | 288 | public String endpointInterface() { |
alanb@368 | 289 | return nullSafe(endpointInterface); |
alanb@368 | 290 | } |
alanb@368 | 291 | |
alanb@368 | 292 | @Override |
alanb@368 | 293 | public Class<? extends Annotation> annotationType() { |
alanb@368 | 294 | return javax.jws.WebService.class; |
alanb@368 | 295 | } |
alanb@368 | 296 | } |