< prev index next >

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

Print this page

        

*** 48,64 **** * PrinterStateReason} object again when the corresponding condition becomes * false, regardless of whether the Print Service's overall * {@link PrinterState PrinterState} also changed. * <P> * <B>IPP Compatibility:</B> ! * <code>Severity.toString()</code> returns either "error", "warning", or * "report". The string values returned by * each individual {@link PrinterStateReason} and ! * associated {@link Severity} object's <CODE>toString()</CODE> ! * methods, concatenated together with a hyphen (<CODE>"-"</CODE>) in * between, gives the IPP keyword value for a {@link PrinterStateReasons}. ! * The category name returned by <CODE>getName()</CODE> gives the IPP * attribute name. * * @author Alan Kaminsky */ public final class Severity extends EnumSyntax implements Attribute { --- 48,64 ---- * PrinterStateReason} object again when the corresponding condition becomes * false, regardless of whether the Print Service's overall * {@link PrinterState PrinterState} also changed. * <P> * <B>IPP Compatibility:</B> ! * {@code Severity.toString()} returns either "error", "warning", or * "report". The string values returned by * each individual {@link PrinterStateReason} and ! * associated {@link Severity} object's {@code toString()} ! * methods, concatenated together with a hyphen ({@code "-"}) in * between, gives the IPP keyword value for a {@link PrinterStateReasons}. ! * The category name returned by {@code getName()} gives the IPP * attribute name. * * @author Alan Kaminsky */ public final class Severity extends EnumSyntax implements Attribute {
*** 144,154 **** /** * Get the name of the category of which this attribute value is an * instance. * <P> ! * For class Severit, the category name is <CODE>"severity"</CODE>. * * @return Attribute category name. */ public final String getName() { return "severity"; --- 144,154 ---- /** * Get the name of the category of which this attribute value is an * instance. * <P> ! * For class Severit, the category name is {@code "severity"}. * * @return Attribute category name. */ public final String getName() { return "severity";
< prev index next >