01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package javax.xml.ws.wsaddressing;
17:
18: import javax.xml.ws.EndpointReference;
19: import javax.xml.transform.Source;
20: import javax.xml.transform.Result;
21:
22: /**
23: * This class is only provided so JaxWS code can be compiled under Java6 update 4 which
24: * uses JaxWS 2.1. All of the methods throw UnsupportedOperationException.
25: */
26: @SuppressWarnings({"UnusedDeclaration"})
27: public final class W3CEndpointReference extends EndpointReference {
28: protected static final java.lang.String NS = "http://www.w3.org/2005/08/addressing";
29:
30: protected W3CEndpointReference() {
31: throw new UnsupportedOperationException(
32: "JaxWS 2.1 APIs are not supported");
33: }
34:
35: public W3CEndpointReference(Source source) {
36: throw new UnsupportedOperationException(
37: "JaxWS 2.1 APIs are not supported");
38: }
39:
40: public void writeTo(Result result) {
41: throw new UnsupportedOperationException(
42: "JaxWS 2.1 APIs are not supported");
43: }
44: }
|