< prev index next >
src/java.desktop/share/classes/javax/print/attribute/standard/JobImpressions.java
Print this page
@@ -61,11 +61,11 @@
* document data, this value will include such replication. In other words, this
* value is always the number of impressions in the source document data, rather
* than a measure of the number of impressions to be produced by the job.
* <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 JobImpressionsSupported
* @see JobImpressionsCompleted
* @see JobKOctets
@@ -83,11 +83,11 @@
* Construct a new job impressions 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 JobImpressions(int value) {
super(value, 0, Integer.MAX_VALUE);
}
@@ -95,21 +95,21 @@
* Returns whether this job impressions 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 JobImpressions.
+ * {@code object} is an instance of class JobImpressions.
* <LI>
- * This job impressions attribute's value and <CODE>object</CODE>'s value
+ * This job impressions 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
+ * @return True if {@code object} is equivalent to this job
* impressions attribute, false otherwise.
*/
public boolean equals(Object object) {
return super.equals (object) && object instanceof JobImpressions;
}
@@ -130,11 +130,11 @@
/**
* Get the name of the category of which this attribute value is an
* instance.
* <P>
* For class JobImpressions, the category name is
- * <CODE>"job-impressions"</CODE>.
+ * {@code "job-impressions"}.
*
* @return Attribute category name.
*/
public final String getName() {
return "job-impressions";
< prev index next >