javax.print.attribute.standard

Class PrinterIsAcceptingJobs

public final class PrinterIsAcceptingJobs extends EnumSyntax implements PrintServiceAttribute

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 PrinterIsAcceptingJobsACCEPTING_JOBS
The printer is accepting jobs.
static PrinterIsAcceptingJobsNOT_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.
StringgetName()
Returns the name of this attribute.
protected String[]getStringTable()
Returns a table with the enumeration values represented as strings for this object.

Field Detail

ACCEPTING_JOBS

public static final PrinterIsAcceptingJobs ACCEPTING_JOBS
The printer is accepting jobs.

NOT_ACCEPTING_JOBS

public static final PrinterIsAcceptingJobs NOT_ACCEPTING_JOBS
The printer is not accepting jobs currently.

Constructor Detail

PrinterIsAcceptingJobs

protected PrinterIsAcceptingJobs(int value)
Constructs a PrinterIsAcceptingJobs object.

Parameters: value the enum value.

Method Detail

getCategory

public Class<? extends Attribute> getCategory()
Returns category of this class.

Returns: The class PrinterIsAcceptingJobs itself.

getEnumValueTable

protected EnumSyntax[] getEnumValueTable()
Returns a table with the enumeration values for this object.

Returns: The enumeration values.

getName

public String getName()
Returns the name of this attribute.

Returns: The name "printer-is-accepting-jobs".

getStringTable

protected String[] getStringTable()
Returns a table with the enumeration values represented as strings for this object.

Returns: The enumeration values as strings.