--- old/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/encryption/CipherData.java 2015-08-18 14:21:12.453018451 +0400 +++ new/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/encryption/CipherData.java 2015-08-18 14:21:12.237018461 +0400 @@ -23,14 +23,14 @@ package com.sun.org.apache.xml.internal.security.encryption; /** - * CipherData provides encrypted data. It must either contain the + * {@code CipherData} provides encrypted data. It must either contain the * encrypted octet sequence as base64 encoded text of the - * CipherValue element, or provide a reference to an external + * {@code CipherValue} element, or provide a reference to an external * location containing the encrypted octet sequence via the - * CipherReference element. + * {@code CipherReference} element. *

* The schema definition is as follows: - *

+ * <pre>{@code * <element name='CipherData' type='xenc:CipherDataType'/> * <complexType name='CipherDataType'> * <choice> @@ -38,7 +38,7 @@ * <element ref='xenc:CipherReference'/> * </choice> * </complexType> - * + * } * * @author Axl Mattheus */ @@ -52,32 +52,32 @@ /** * Returns the type of encrypted data contained in the - * CipherData. + * {@code CipherData}. * - * @return VALUE_TYPE if the encrypted data is contained as - * CipherValue or REFERENCE_TYPE if the - * encrypted data is contained as CipherReference. + * @return {@code VALUE_TYPE} if the encrypted data is contained as + * {@code CipherValue} or {@code REFERENCE_TYPE} if the + * encrypted data is contained as {@code CipherReference}. */ int getDataType(); /** - * Returns the cipher value as a base64 encoded byte array. + * Returns the cipher value as a base64 encoded {@code byte} array. * - * @return the CipherData's value. + * @return the {@code CipherData}'s value. */ CipherValue getCipherValue(); /** - * Sets the CipherData's value. + * Sets the {@code CipherData}'s value. * - * @param value the value of the CipherData. + * @param value the value of the {@code CipherData}. * @throws XMLEncryptionException */ void setCipherValue(CipherValue value) throws XMLEncryptionException; /** * Returns a reference to an external location containing the encrypted - * octet sequence (byte array). + * octet sequence ({@code byte} array). * * @return the reference to an external location containing the encrypted * octet sequence. @@ -85,7 +85,7 @@ CipherReference getCipherReference(); /** - * Sets the CipherData's reference. + * Sets the {@code CipherData}'s reference. * * @param reference an external location containing the encrypted octet sequence. * @throws XMLEncryptionException