File tree Expand file tree Collapse file tree 5 files changed +20
-16
lines changed
api/src/main/java/jakarta/xml/bind Expand file tree Collapse file tree 5 files changed +20
-16
lines changed Original file line number Diff line number Diff line change 1
1
/*
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.
3
3
*
4
4
* This program and the accompanying materials are made available under the
5
5
* terms of the Eclipse Distribution License v. 1.0, which is available at
10
10
11
11
package jakarta .xml .bind .annotation ;
12
12
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 ;
16
16
import static java .lang .annotation .RetentionPolicy .RUNTIME ;
17
+
18
+ import java .lang .annotation .Retention ;
17
19
import java .lang .annotation .Target ;
18
20
21
+ import jakarta .activation .DataHandler ;
22
+
19
23
/**
20
24
* Marks a field/property that its XML form is a uri reference to mime content.
21
25
* The mime content is optimally stored out-of-line as an attachment.
48
52
* }</pre>
49
53
*
50
54
* <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>
52
56
*
53
57
* @author Kohsuke Kawaguchi
54
58
* @since 1.6, JAXB 2.0
Original file line number Diff line number Diff line change 1
1
/*
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.
3
3
*
4
4
* This program and the accompanying materials are made available under the
5
5
* terms of the Eclipse Distribution License v. 1.0, which is available at
40
40
* @see Marshaller#setAttachmentMarshaller(AttachmentMarshaller)
41
41
*
42
42
* @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>
44
44
*/
45
45
public abstract class AttachmentMarshaller {
46
46
@@ -184,7 +184,7 @@ protected AttachmentMarshaller() {}
184
184
* represents the data to be attached. Must be non-null.
185
185
* @return
186
186
* 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>
188
188
*/
189
189
public abstract String addSwaRefAttachment (DataHandler data );
190
190
}
Original file line number Diff line number Diff line change 1
1
/*
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.
3
3
*
4
4
* This program and the accompanying materials are made available under the
5
5
* terms of the Eclipse Distribution License v. 1.0, which is available at
34
34
* <li>
35
35
* For WS-I AP 1.0, the cid is identified as an element or attribute of
36
36
* 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">
38
38
* Section 4.4 Referencing Attachments from the SOAP Envelope</a>
39
39
* </li>
40
40
* </ul>
48
48
* @see jakarta.xml.bind.Unmarshaller#setAttachmentUnmarshaller(AttachmentUnmarshaller)
49
49
*
50
50
* @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>
52
52
* @see <a href="http://www.w3.org/TR/xml-media-types/">Describing Media Content of Binary Data in XML</a>
53
53
*/
54
54
public abstract class AttachmentUnmarshaller {
Original file line number Diff line number Diff line change 1
1
/*
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.
3
3
*
4
4
* This program and the accompanying materials are made available under the
5
5
* terms of the Eclipse Distribution License v. 1.0, which is available at
29
29
* <ul>
30
30
* <li><a href="http://www.w3.org/TR/2004/WD-soap12-mtom-20040608/">[1]SOAP Message Transmission Optimization Mechanism</a> </li>
31
31
* <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>
33
33
* <li><a href="http://www.w3.org/TR/xml-media-types/">[4]Describing Media Content of Binary Data in XML</a></li>
34
34
* </ul>
35
35
*
36
36
* @see <a href="http://www.w3.org/TR/2004/WD-soap12-mtom-20040608/">[1]SOAP Message Transmission Optimization Mechanism</a>
37
37
* @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>
39
39
* @see <a href="http://www.w3.org/TR/xml-media-types/">[4]Describing Media Content of Binary Data in XML</a>
40
40
* @since JAXB 2.0
41
41
*/
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ _http://www.w3.org/TR/2005/NOTE-xml-media-types-20050504_
87
87
88
88
[WSIAP] Chris Ferris, Anish Karmarkar, and
89
89
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_.
92
92
93
93
[WSIBP] WS-I Basic Profile 1.0, +
94
94
_http://www.ws-i.org/Profile/Basic/2003-08/BasicProfile-1.0a.html_
You can’t perform that action at this time.
0 commit comments