< prev index next >

src/java.desktop/share/classes/javax/print/attribute/standard/JobKOctets.java

Print this page

        

@@ -113,11 +113,11 @@
  * to the printer. If the Print Service supports the JobKOctets attribute, for
  * these cases the Print Service itself must calculate the size of the print
  * data, replacing any JobKOctets value the client specified.
  * <P>
  * <B>IPP Compatibility:</B> The integer value gives the IPP integer value. The
- * category name returned by <CODE>getName()</CODE> gives the IPP attribute
+ * category name returned by {@code getName()} gives the IPP attribute
  * name.
  *
  * @see JobKOctetsSupported
  * @see JobKOctetsProcessed
  * @see JobImpressions

@@ -134,11 +134,11 @@
      * Construct a new job K octets attribute with the given integer value.
      *
      * @param  value  Integer value.
      *
      * @exception  IllegalArgumentException
-     *  (Unchecked exception) Thrown if <CODE>value</CODE> is less than 0.
+     *  (Unchecked exception) Thrown if {@code value} is less than 0.
      */
     public JobKOctets(int value) {
         super (value, 0, Integer.MAX_VALUE);
     }
 

@@ -146,21 +146,21 @@
      * Returns whether this job K octets attribute is equivalent to the passed
      * in object. To be equivalent, all of the following conditions must be
      * true:
      * <OL TYPE=1>
      * <LI>
-     * <CODE>object</CODE> is not null.
+     * {@code object} is not null.
      * <LI>
-     * <CODE>object</CODE> is an instance of class JobKOctets.
+     * {@code object} is an instance of class JobKOctets.
      * <LI>
-     * This job K octets attribute's value and <CODE>object</CODE>'s value
+     * This job K octets attribute's value and {@code object}'s value
      * are equal.
      * </OL>
      *
      * @param  object  Object to compare to.
      *
-     * @return  True if <CODE>object</CODE> is equivalent to this job K
+     * @return  True if {@code object} is equivalent to this job K
      *          octets attribute, false otherwise.
      */
     public boolean equals(Object object) {
         return super.equals(object) && object instanceof JobKOctets;
     }

@@ -180,11 +180,11 @@
 
     /**
      * Get the name of the category of which this attribute value is an
      * instance.
      * <P>
-     * For class JobKOctets, the category name is <CODE>"job-k-octets"</CODE>.
+     * For class JobKOctets, the category name is {@code "job-k-octets"}.
      *
      * @return  Attribute category name.
      */
     public final String getName() {
         return "job-k-octets";
< prev index next >