1 /* |
1 /* |
2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
67 // XmlRootElement allows this class to be marshalled on its own |
67 // XmlRootElement allows this class to be marshalled on its own |
68 @XmlRootElement(name="EndpointReference",namespace=W3CEndpointReference.NS) |
68 @XmlRootElement(name="EndpointReference",namespace=W3CEndpointReference.NS) |
69 @XmlType(name="EndpointReferenceType",namespace=W3CEndpointReference.NS) |
69 @XmlType(name="EndpointReferenceType",namespace=W3CEndpointReference.NS) |
70 public final class W3CEndpointReference extends EndpointReference { |
70 public final class W3CEndpointReference extends EndpointReference { |
71 |
71 |
72 private final static JAXBContext w3cjc = getW3CJaxbContext(); |
72 private final JAXBContext w3cjc = getW3CJaxbContext(); |
73 |
73 |
74 // should be changed to package private, keeping original modifier to keep backwards compatibility |
74 // should be changed to package private, keeping original modifier to keep backwards compatibility |
75 protected static final String NS = "http://www.w3.org/2005/08/addressing"; |
75 protected static final String NS = "http://www.w3.org/2005/08/addressing"; |
76 |
76 |
77 // default constructor forbidden ... |
77 // default constructor forbidden ... |