javax.print.attribute.standard
public final class Severity extends EnumSyntax implements Attribute
Severity
printing attribute specifies the severity
for a PrinterStateReason
attribute.
This attribute does not appear in the attribute set of a print service
itself. Its used inside the PrinterStateReasons
attribute which contains PrinterStateReason
objects which
informs about the print service's status.
IPP Compatibility: Severity is not an IPP attribute on its own but used in the PrinterStateReason attribute to indicate the severity.
Field Summary | |
---|---|
static Severity | ERROR
Indicates that the reason is an error. |
static Severity | REPORT
Indicates that the reason is a report. |
static Severity | WARNING
Indicates that the reason is a warning. |
Constructor Summary | |
---|---|
protected | Severity(int value)
Constructs a Severity object.
|
Method Summary | |
---|---|
Class<? extends Attribute> | getCategory()
Returns category of this class.
|
protected EnumSyntax[] | getEnumValueTable()
Returns a table with the enumeration values for this object.
|
String | getName()
Returns the name of this attribute.
|
protected String[] | getStringTable()
Returns a table with the enumeration values represented as strings
for this object.
|
Severity
object.
Parameters: value the enum value.
Returns: The class Severity
itself.
Returns: The enumeration values.
Returns: The name "severity".
Returns: The enumeration values as strings.