< prev index next >
src/java.desktop/share/classes/javax/print/attribute/standard/JobImpressionsCompleted.java
Print this page
@@ -43,11 +43,11 @@
* time the Print Job's attribute set is queried or at the time a print job
* event is reported. When the job enters the COMPLETED, CANCELED, or ABORTED
* states, the JobImpressionsCompleted value is the final value for 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 JobImpressions
* @see JobImpressionsSupported
* @see JobKOctetsProcessed
@@ -65,11 +65,11 @@
* 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 JobImpressionsCompleted(int value) {
super (value, 0, Integer.MAX_VALUE);
}
@@ -77,21 +77,21 @@
* Returns whether this job impressions completed attribute is equivalent
* tp 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 JobImpressionsCompleted.
+ * {@code object} is an instance of class JobImpressionsCompleted.
* <LI>
* This job impressions completed attribute's value and
- * <CODE>object</CODE>'s value are equal.
+ * {@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 completed attribute, false otherwise.
*/
public boolean equals(Object object) {
return(super.equals (object) &&
object instanceof JobImpressionsCompleted);
@@ -114,11 +114,11 @@
/**
* Get the name of the category of which this attribute value is an
* instance.
* <P>
* For class JobImpressionsCompleted, the category name is
- * <CODE>"job-impressions-completed"</CODE>.
+ * {@code "job-impressions-completed"}.
*
* @return Attribute category name.
*/
public final String getName() {
return "job-impressions-completed";
< prev index next >