--- old/src/java.xml.bind/share/classes/javax/xml/bind/attachment/AttachmentUnmarshaller.java 2015-09-19 13:15:53.540884032 +0300 +++ new/src/java.xml.bind/share/classes/javax/xml/bind/attachment/AttachmentUnmarshaller.java 2015-09-19 13:15:53.400883338 +0300 @@ -36,9 +36,10 @@ * understanding of the packaging format being used to a MIME-based * package processor that implements this abstract class.

* - *

This abstract class identifies if a package requires XOP processing, {@link #isXOPPackage()} and provides retrieval of binary content stored as attachments by content-id.

+ *

This abstract class identifies if a package requires XOP processing, {@link #isXOPPackage()} + * and provides retrieval of binary content stored as attachments by content-id.

* - *

Identifying the content-id, cid, to pass to getAttachment*(String cid)

+ *

Identifying the content-id, cid, to pass to {@code getAttachment*(String cid)}

* * @@ -66,9 +68,9 @@ */ public abstract class AttachmentUnmarshaller { /** - *

Lookup MIME content by content-id, cid, and return as a {@link DataHandler}.

+ *

Lookup MIME content by content-id, {@code cid}, and return as a {@link DataHandler}.

* - *

The returned DataHandler instance must be configured + *

The returned {@code DataHandler} instance must be configured * to meet the following required mapping constaint. * * @@ -81,8 +83,8 @@ * * * - * - * + * + * * * * @@ -103,8 +105,8 @@ * Note that it is allowable to support additional mappings. * * @param cid It is expected to be a valid lexical form of the XML Schema - * xs:anyURI datatype. If {@link #isXOPPackage()} - * ==true, it must be a valid URI per the cid: URI scheme (see RFC 2387) + * {@code xs:anyURI} datatype. If {@link #isXOPPackage()}{@code ==true}, + * it must be a valid URI per the {@code cid:} URI scheme (see RFC 2387) * * @return * a {@link DataHandler} that represents the MIME attachment. @@ -114,11 +116,11 @@ public abstract DataHandler getAttachmentAsDataHandler(String cid); /** - *

Retrieve the attachment identified by content-id, cid, as a byte[]

. + *

Retrieve the attachment identified by content-id, {@code cid}, as a {@code byte[]}. * * @param cid It is expected to be a valid lexical form of the XML Schema - * xs:anyURI datatype. If {@link #isXOPPackage()} - * ==true, it must be a valid URI per the cid: URI scheme (see RFC 2387) + * {@code xs:anyURI} datatype. If {@link #isXOPPackage()}{@code ==true}, + * it must be a valid URI per the {@code cid:} URI scheme (see RFC 2387) * * @return byte[] representation of attachment identified by cid. * @@ -129,7 +131,7 @@ /** *

Read-only property that returns true if JAXB unmarshaller needs to perform XOP processing.

* - *

This method returns true when the constraints specified + *

This method returns {@code true} when the constraints specified * in Identifying XOP Documents are met. * This value must not change during the unmarshalling process.

*
Java Type
DataHandler.getContentType()instanceof DataHandler.getContent(){@code DataHandler.getContentType()}{@code instanceof DataHandler.getContent()}