| Package | Description | 
|---|---|
| javax.print.attribute.standard | Package javax.print.attribute.standard
contains classes for specific printing attributes. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Severity | Severity. ERRORIndicates that the  PrinterStateReasonis an
 "error" (most severe). | 
| static Severity | Severity. REPORTIndicates that the  PrinterStateReasonis a
 "report" (least severe). | 
| static Severity | Severity. WARNINGIndicates that the  PrinterStateReasonis a
 "warning." An implementation may choose to omit some or all warnings. | 
| Modifier and Type | Method and Description | 
|---|---|
| Severity | PrinterStateReasons. put(PrinterStateReason reason,
   Severity severity)Adds the given printer state reason to this printer state reasons
 attribute, associating it with the given severity level. | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<PrinterStateReason> | PrinterStateReasons. printerStateReasonSet(Severity severity)Obtain an unmodifiable set view of the individual printer state reason
 attributes at the given severity level in this PrinterStateReasons
 attribute. | 
| Severity | PrinterStateReasons. put(PrinterStateReason reason,
   Severity severity)Adds the given printer state reason to this printer state reasons
 attribute, associating it with the given severity level. | 
| Constructor and Description | 
|---|
| PrinterStateReasons(Map<PrinterStateReason,Severity> map)Construct a new printer state reasons attribute that contains the same
  PrinterStateReason-to-Severitymappings as the given map. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.