< prev index next >
src/java.desktop/share/classes/javax/print/attribute/standard/ColorSupported.java
Print this page
@@ -47,12 +47,12 @@
* attribute that tells whether the printer can print in color regardless of how
* the client specifies to print any particular document.
* <P>
* <B>IPP Compatibility:</B> The IPP boolean value is "true" for SUPPORTED and
* "false" for NOT_SUPPORTED. 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 ColorSupported extends EnumSyntax
@@ -116,11 +116,11 @@
/**
* Get the name of the category of which this attribute value is an
* instance.
* <P>
- * For class ColorSupported, the category name is <CODE>"color-supported"</CODE>.
+ * For class ColorSupported, the category name is {@code "color-supported"}.
*
* @return Attribute category name.
*/
public final String getName() {
return "color-supported";
< prev index next >