< prev index next >

src/java.desktop/share/classes/javax/print/attribute/standard/PrinterState.java

Print this page

        

*** 37,48 **** * {@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 * returns the IPP string representation of the attribute value. * * @author Alan Kaminsky */ public final class PrinterState extends EnumSyntax --- 37,48 ---- * {@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()} 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,138 **** /** * 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>. * * @return Attribute category name. */ public final String getName() { return "printer-state"; --- 128,138 ---- /** * 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"}. * * @return Attribute category name. */ public final String getName() { return "printer-state";
< prev index next >