|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.EnumSyntax
javax.print.attribute.standard.Severity
public final class Severity
The 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. |
Methods inherited from class javax.print.attribute.EnumSyntax |
---|
clone, getOffset, getValue, hashCode, readResolve, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Severity REPORT
public static final Severity WARNING
public static final Severity ERROR
Constructor Detail |
---|
protected Severity(int value)
Severity
object.
value
- the enum value.Method Detail |
---|
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
Severity
itself.public String getName()
getName
in interface Attribute
protected String[] getStringTable()
getStringTable
in class EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
in class EnumSyntax
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |