@Retention(value=RUNTIME) @Target(value={FIELD,METHOD,PARAMETER}) public @interface XmlAttachmentRef
DataHandler class.
@The above code maps to the following XML:XmlRootElementclass Foo { @XmlAttachmentRef@XmlAttributeDataHandlerdata; @XmlAttachmentRef@XmlElementDataHandlerbody; }
<xs:element name="foo" xmlns:ref="http://ws-i.org/profiles/basic/1.1/xsd">
<xs:complexType>
<xs:sequence>
<xs:element name="body" type="ref:swaRef" minOccurs="0" />
</xs:sequence>
<xs:attribute name="data" type="ref:swaRef" use="optional" />
</xs:complexType>
</xs:element>
The above binding supports WS-I AP 1.0 WS-I Attachments Profile Version 1.0.
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.