< prev index next >
src/java.desktop/share/classes/javax/print/attribute/standard/PrinterIsAcceptingJobs.java
Print this page
@@ -38,12 +38,12 @@
* PrinterState PrinterState} is IDLE. If value is ACCEPTING_JOBS, the Printer
* will accept jobs even when the {@link PrinterState PrinterState} is STOPPED.
* <P>
* <B>IPP Compatibility:</B> The IPP boolean value is "true" for ACCEPTING_JOBS
* and "false" for NOT_ACCEPTING_JOBS. 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 final class PrinterIsAcceptingJobs extends EnumSyntax
@@ -114,11 +114,11 @@
/**
* Get the name of the category of which this attribute value is an
* instance.
* <P>
* For class PrinterIsAcceptingJobs, the
- * category name is <CODE>"printer-is-accepting-jobs"</CODE>.
+ * category name is {@code "printer-is-accepting-jobs"}.
*
* @return Attribute category name.
*/
public final String getName() {
return "printer-is-accepting-jobs";
< prev index next >