public final class PrinterIsAcceptingJobs extends javax.print.attribute.EnumSyntax implements javax.print.attribute.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 |
|---|---|
java.lang.Class<? extends javax.print.attribute.Attribute> |
getCategory()
Returns category of this class.
|
protected javax.print.attribute.EnumSyntax[] |
getEnumValueTable()
Returns a table with the enumeration values for this object.
|
java.lang.String |
getName()
Returns the name of this attribute.
|
protected java.lang.String[] |
getStringTable()
Returns a table with the enumeration values represented as strings
for this object.
|
public static final PrinterIsAcceptingJobs NOT_ACCEPTING_JOBS
public static final PrinterIsAcceptingJobs ACCEPTING_JOBS
protected PrinterIsAcceptingJobs(int value)
PrinterIsAcceptingJobs object.value - the enum value.public java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()
getCategory in interface javax.print.attribute.AttributePrinterIsAcceptingJobs itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attributeprotected java.lang.String[] getStringTable()
getStringTable in class javax.print.attribute.EnumSyntaxprotected javax.print.attribute.EnumSyntax[] getEnumValueTable()
getEnumValueTable in class javax.print.attribute.EnumSyntax