< prev index next >
src/java.desktop/share/classes/javax/print/attribute/standard/JobStateReason.java
Print this page
@@ -46,12 +46,12 @@
* removes the JobStateReason object again when the corresponding condition
* becomes false, regardless of whether the Print Job's overall {@link JobState
* JobState} also changed.
* <P>
* <B>IPP Compatibility:</B> The category name returned by
- * <CODE>getName()</CODE> is the IPP attribute name. The enumeration's
- * integer value is the IPP enum value. The <code>toString()</code> method
+ * {@code getName()} is the IPP attribute name. The enumeration's
+ * integer value is the IPP enum value. The {@code toString()} method
* returns the IPP string representation of the attribute value.
*
* @author Alan Kaminsky
*/
public class JobStateReason extends EnumSyntax implements Attribute {
@@ -257,11 +257,11 @@
/**
* The job was aborted by the system because the document data's document
* format (doc flavor) is not among those supported by the printer. If the
* client specifies a doc flavor with a MIME type of
- * <CODE>"application/octet-stream"</CODE>, the printer may abort the job if
+ * {@code "application/octet-stream"}, the printer may abort the job if
* the printer cannot determine the document data's actual format through
* auto-sensing (even if the printer supports the document format if
* specified explicitly). This value must be supported, since a doc flavor
* is required to be specified for each doc.
*/
@@ -447,11 +447,11 @@
/**
* Get the name of the category of which this attribute value is an
* instance.
* <P>
* For class JobStateReason and any vendor-defined subclasses, the
- * category name is <CODE>"job-state-reason"</CODE>.
+ * category name is {@code "job-state-reason"}.
*
* @return Attribute category name.
*/
public final String getName() {
return "job-state-reason";
< prev index next >