Skip to content

Commit a0dd668

Browse files
antoniosanctlukasj
authored andcommitted
update ws-i links marked in #236
Signed-off-by: Antonio Santos Izaguirre <[email protected]>
1 parent 2c624cb commit a0dd668

File tree

5 files changed

+20
-16
lines changed

5 files changed

+20
-16
lines changed

api/src/main/java/jakarta/xml/bind/annotation/XmlAttachmentRef.java

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2021 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 2023 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Distribution License v. 1.0, which is available at
@@ -10,12 +10,16 @@
1010

1111
package jakarta.xml.bind.annotation;
1212

13-
import jakarta.activation.DataHandler;
14-
import static java.lang.annotation.ElementType.*;
15-
import java.lang.annotation.Retention;
13+
import static java.lang.annotation.ElementType.FIELD;
14+
import static java.lang.annotation.ElementType.METHOD;
15+
import static java.lang.annotation.ElementType.PARAMETER;
1616
import static java.lang.annotation.RetentionPolicy.RUNTIME;
17+
18+
import java.lang.annotation.Retention;
1719
import java.lang.annotation.Target;
1820

21+
import jakarta.activation.DataHandler;
22+
1923
/**
2024
* Marks a field/property that its XML form is a uri reference to mime content.
2125
* The mime content is optimally stored out-of-line as an attachment.
@@ -48,7 +52,7 @@
4852
* }</pre>
4953
*
5054
* <p>
51-
* The above binding supports WS-I AP 1.0 <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0-2004-08-24.html#Referencing_Attachments_from_the_SOAP_Envelope">WS-I Attachments Profile Version 1.0.</a>
55+
* The above binding supports WS-I AP 1.0 <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0.html#Referencing_Attachments_from_the_SOAP_Envelope">WS-I Attachments Profile Version 1.0.</a>
5256
*
5357
* @author Kohsuke Kawaguchi
5458
* @since 1.6, JAXB 2.0

api/src/main/java/jakarta/xml/bind/attachment/AttachmentMarshaller.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2021 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 2023 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Distribution License v. 1.0, which is available at
@@ -40,7 +40,7 @@
4040
* @see Marshaller#setAttachmentMarshaller(AttachmentMarshaller)
4141
*
4242
* @see <a href="http://www.w3.org/TR/2005/REC-xop10-20050125/">XML-binary Optimized Packaging</a>
43-
* @see <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0-2004-08-24.html">WS-I Attachments Profile Version 1.0.</a>
43+
* @see <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0.html">WS-I Attachments Profile Version 1.0.</a>
4444
*/
4545
public abstract class AttachmentMarshaller {
4646

@@ -184,7 +184,7 @@ protected AttachmentMarshaller() {}
184184
* represents the data to be attached. Must be non-null.
185185
* @return
186186
* must be a valid URI used as cid. Must satisfy Conformance Requirement R2928 from
187-
* <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0-2004-08-24.html#Referencing_Attachments_from_the_SOAP_Envelope">WS-I Attachments Profile Version 1.0.</a>
187+
* <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0.html#Referencing_Attachments_from_the_SOAP_Envelope">WS-I Attachments Profile Version 1.0.</a>
188188
*/
189189
public abstract String addSwaRefAttachment(DataHandler data);
190190
}

api/src/main/java/jakarta/xml/bind/attachment/AttachmentUnmarshaller.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2021 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 2023 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Distribution License v. 1.0, which is available at
@@ -34,7 +34,7 @@
3434
* <li>
3535
* For WS-I AP 1.0, the cid is identified as an element or attribute of
3636
* type {@code ref:swaRef} specified in
37-
* <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0-2004-08-24.html#Referencing_Attachments_from_the_SOAP_Envelope">
37+
* <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0.html#Referencing_Attachments_from_the_SOAP_Envelope">
3838
* Section 4.4 Referencing Attachments from the SOAP Envelope</a>
3939
* </li>
4040
* </ul>
@@ -48,7 +48,7 @@
4848
* @see jakarta.xml.bind.Unmarshaller#setAttachmentUnmarshaller(AttachmentUnmarshaller)
4949
*
5050
* @see <a href="http://www.w3.org/TR/2005/REC-xop10-20050125/">XML-binary Optimized Packaging</a>
51-
* @see <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0-2004-08-24.html">WS-I Attachments Profile Version 1.0.</a>
51+
* @see <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0.html">WS-I Attachments Profile Version 1.0.</a>
5252
* @see <a href="http://www.w3.org/TR/xml-media-types/">Describing Media Content of Binary Data in XML</a>
5353
*/
5454
public abstract class AttachmentUnmarshaller {

api/src/main/java/jakarta/xml/bind/attachment/package-info.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2021 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 2023 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Distribution License v. 1.0, which is available at
@@ -29,13 +29,13 @@
2929
* <ul>
3030
* <li><a href="http://www.w3.org/TR/2004/WD-soap12-mtom-20040608/">[1]SOAP Message Transmission Optimization Mechanism</a> </li>
3131
* <li><a href="http://www.w3.org/TR/2005/REC-xop10-20050125/">[2]XML-binary Optimized Packaging</a></li>
32-
* <li><a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0-2004-08-24.html">[3]WS-I Attachments Profile Version 1.0.</a></li>
32+
* <li><a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0.html">[3]WS-I Attachments Profile Version 1.0.</a></li>
3333
* <li><a href="http://www.w3.org/TR/xml-media-types/">[4]Describing Media Content of Binary Data in XML</a></li>
3434
* </ul>
3535
*
3636
* @see <a href="http://www.w3.org/TR/2004/WD-soap12-mtom-20040608/">[1]SOAP Message Transmission Optimization Mechanism</a>
3737
* @see <a href="http://www.w3.org/TR/2005/REC-xop10-20050125/">[2]XML-binary Optimized Packaging</a>
38-
* @see <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0-2004-08-24.html">[3]WS-I Attachments Profile Version 1.0.</a>
38+
* @see <a href="http://www.ws-i.org/Profiles/AttachmentsProfile-1.0.html">[3]WS-I Attachments Profile Version 1.0.</a>
3939
* @see <a href="http://www.w3.org/TR/xml-media-types/">[4]Describing Media Content of Binary Data in XML</a>
4040
* @since JAXB 2.0
4141
*/

spec/src/main/asciidoc/appA-references.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ _http://www.w3.org/TR/2005/NOTE-xml-media-types-20050504_
8787

8888
[WSIAP] Chris Ferris, Anish Karmarkar, and
8989
Canyang Kevin Liu. Attachments Profile Version 1.0. Final 1 Material,
90-
WS-I, August 2004. +
91-
_http://www.ws-i.org/Profiles/AttachmentsProfile-1.0-2004-08-24.html_.
90+
WS-I, April 2006. +
91+
_http://www.ws-i.org/Profiles/AttachmentsProfile-1.0.html_.
9292

9393
[WSIBP] WS-I Basic Profile 1.0, +
9494
_http://www.ws-i.org/Profile/Basic/2003-08/BasicProfile-1.0a.html_

0 commit comments

Comments
 (0)