< prev index next >
src/java.desktop/share/classes/javax/print/attribute/standard/PrinterState.java
Print this page
@@ -37,12 +37,12 @@
* {@link PrinterStateReasons PrinterStateReasons} attribute augments the
* PrinterState attribute to give more detailed information about the printer
* in given printer state.
* <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 final class PrinterState extends EnumSyntax
@@ -128,11 +128,11 @@
/**
* Get the name of the category of which this attribute value is an
* instance.
* <P>
- * For class PrinterState, the category name is <CODE>"printer-state"</CODE>.
+ * For class PrinterState, the category name is {@code "printer-state"}.
*
* @return Attribute category name.
*/
public final String getName() {
return "printer-state";
< prev index next >