public final class PrinterIsAcceptingJobs extends EnumSyntax implements PrintServiceAttribute
PrinterIsAcceptingJobs printing attribute signals
if a print services is currently accepting jobs.
IPP Compatibility: PrinterIsAcceptingJobs is an IPP 1.1 attribute.
The IPP specification treats PrinterIsAcceptingJobs as boolean type which
is not available in the Java Print Service API. The IPP boolean value "true"
corresponds to ACCEPTING_JOBS and "false"
to NOT_ACCEPTING_JOBS.
| Modifier and Type | Field and Description |
|---|---|
static PrinterIsAcceptingJobs |
ACCEPTING_JOBS
The printer is accepting jobs.
|
static PrinterIsAcceptingJobs |
NOT_ACCEPTING_JOBS
The printer is not accepting jobs currently.
|
| Modifier | Constructor and Description |
|---|---|
protected |
PrinterIsAcceptingJobs(int value)
Constructs a
PrinterIsAcceptingJobs object. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, getOffset, getValue, hashCode, readResolve, toStringpublic static final PrinterIsAcceptingJobs NOT_ACCEPTING_JOBS
public static final PrinterIsAcceptingJobs ACCEPTING_JOBS
protected PrinterIsAcceptingJobs(int value)
PrinterIsAcceptingJobs object.value - the enum value.public Class<? extends Attribute> getCategory()
getCategory in interface AttributePrinterIsAcceptingJobs itself.protected String[] getStringTable()
getStringTable in class EnumSyntaxprotected EnumSyntax[] getEnumValueTable()
getEnumValueTable in class EnumSyntax