|
|||||||||
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.PrinterIsAcceptingJobs
public final class PrinterIsAcceptingJobs
The 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. |
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 PrinterIsAcceptingJobs NOT_ACCEPTING_JOBS
public static final PrinterIsAcceptingJobs ACCEPTING_JOBS
Constructor Detail |
---|
protected PrinterIsAcceptingJobs(int value)
PrinterIsAcceptingJobs
object.
value
- the enum value.Method Detail |
---|
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
PrinterIsAcceptingJobs
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 |