javax.print.attribute.standard
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
.
Field Summary | |
---|---|
static PrinterIsAcceptingJobs | ACCEPTING_JOBS
The printer is accepting jobs. |
static PrinterIsAcceptingJobs | NOT_ACCEPTING_JOBS
The printer is not accepting jobs currently. |
Constructor Summary | |
---|---|
protected | PrinterIsAcceptingJobs(int value)
Constructs a PrinterIsAcceptingJobs 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.
|
PrinterIsAcceptingJobs
object.
Parameters: value the enum value.
Returns: The class PrinterIsAcceptingJobs
itself.
Returns: The enumeration values.
Returns: The name "printer-is-accepting-jobs".
Returns: The enumeration values as strings.